#
# mediawiki.conf (based on html5.conf)
#
# Asciidoc configuration file.
# html5 backend for Proxmox VE mediawiki imports
#
[miscellaneous]
outfilesuffix=.html
[attributes]
basebackend=html
basebackend-html=
basebackend-html5=
basebackend-mediawiki=
[replacements2]
# Line break.
(?m)^(.*)\s\+$=\1 
[replacements]
ifdef::asciidoc7compatible[]
# Superscripts.
\^(.+?)\^=\1 
# Subscripts.
~(.+?)~=\1 
endif::asciidoc7compatible[]
[ruler-blockmacro]
 
[pagebreak-blockmacro]
[blockdef-pass]
asciimath-style=template="asciimathblock",subs=()
latexmath-style=template="latexmathblock",subs=()
[macros]
(?u)^(?Paudio|video)::(?P\S*?)(\[(?P.*?)\])$=#
# math macros.
# Special characters are escaped in HTML math markup.
(?su)[\\]?(?Pasciimath|latexmath):(?P\S*?)\[(?P.*?)(?asciimath|latexmath)::(?P\S*?)(\[(?P.*?)\])$=#[specialcharacters]
[asciimath-inlinemacro]
`{passtext}`
[asciimath-blockmacro]
[asciimathblock]
[latexmath-inlinemacro]
{passtext}
[latexmath-blockmacro]
[latexmathblock]
[image-inlinemacro]
{data-uri%} 
{data-uri#} 
{link#} 
 
[image-blockmacro]
{caption={figure-caption} {counter:figure-number}. }{title}
 
[audio-blockmacro]
{caption=}{title}
Your browser does not support the audio tag.
 
  
[video-blockmacro]
{caption=}{title}
Your browser does not support the video tag.
 
 
[unfloat-blockmacro]
[toc-blockmacro]
template::[toc]
[indexterm-inlinemacro]
# Index term.
{empty}
[indexterm2-inlinemacro]
# Index term.
# Single entry index term that is visible in the primary text flow.
{1}
[footnote-inlinemacro]
# footnote:[].
[footnoteref-inlinemacro]
# footnoteref:[], create reference to footnote.
{2%}
# footnoteref:[,], create footnote with ID.
{2#}
[callout-inlinemacro]
ifndef::icons[]
<{index}> 
endif::icons[]
ifdef::icons[]
ifndef::data-uri[]
 
endif::data-uri[]
ifdef::data-uri[]
 
endif::data-uri[]
endif::icons[]
# Comment line macros.
[comment-inlinemacro]
{showcomments#} 
[comment-blockmacro]
{showcomments#}
[literal-inlinemacro]
# Inline literal.
{passtext}  
# List tags.
[listtags-bulleted]
list=
item=| 
text=|
[listtags-numbered]
# The start attribute is not valid XHTML 1.1 but all browsers support it.
list=
item=| 
text=|
[listtags-labeled]
list=
entry=
label=
term=| 
item=| 
text=|
[listtags-horizontal]
list={title?
{title}
}
{labelwidth? }{itemwidth? }|
 
label=| 
term=| 
entry=| 
item=| 
text=|
[listtags-qanda]
list=
entry=| 
label=
term=| 
item=
text=|
[listtags-callout]
ifndef::icons[]
list=
item=| 
text=|
endif::icons[]
ifdef::icons[]
list=
ifndef::data-uri[]
item=|  
endif::data-uri[]
ifdef::data-uri[]
item=|  
endif::data-uri[]
text=|
endif::icons[]
[listtags-glossary]
list=
label=
entry=
term=| 
item=| 
text=|
[listtags-bibliography]
list=
item=| 
text=|
[tags]
# Quoted text.
emphasis={1?}|{1? } 
strong={1?}|{1? } 
monospaced=|  
singlequoted={lsquo}{1?}|{1? }{rsquo}
doublequoted={ldquo}{1?}|{1? }{rdquo}
unquoted={1?}|{1? }
superscript={1?}|{1? } 
subscript={1?}|{1? } 
ifdef::deprecated-quotes[]
# Override with deprecated quote attributes.
emphasis={role?}| {role? }
strong={role?}| {role? }
monospaced=| 
singlequoted={role?}{1,2,3?}{amp}#8216;|{amp}#8217;{1,2,3? }{role? }
doublequoted={role?}{1,2,3?}{amp}#8220;|{amp}#8221;{1,2,3? }{role? }
unquoted={role?}{1,2,3?}|{1,2,3? }{role? }
superscript={role?}| {role? }
subscript={role?}| {role? }
endif::deprecated-quotes[]
# Inline macros
[http-inlinemacro]
{0={name}:{target}} 
[https-inlinemacro]
{0={name}:{target}} 
[ftp-inlinemacro]
{0={name}:{target}} 
[file-inlinemacro]
{0={name}:{target}} 
[irc-inlinemacro]
{0={name}:{target}} 
[mailto-inlinemacro]
{0={target}} 
[link-inlinemacro]
{0={target}} 
[callto-inlinemacro]
{0={target}} 
# anchor:id[text]
[anchor-inlinemacro]
 
# [[id,text]]
[anchor2-inlinemacro]
 
# [[[id]]]
[anchor3-inlinemacro]
 [{1}]
# xref:id[text]
[xref-inlinemacro]
{0=[{target}]} 
# <>
[xref2-inlinemacro]
{2=[{1}]} 
# Special word substitution.
[emphasizedwords]
{words} 
[monospacedwords]
{words} 
[strongwords]
{words} 
# Paragraph substitution.
[paragraph]
[admonitionparagraph]
template::[admonitionblock]
# Delimited blocks.
[listingblock]
[literalblock]
[sidebarblock]
[openblock]
[partintroblock]
template::[openblock]
[abstractblock]
template::[quoteblock]
[quoteblock]
{title}
|
{citetitle} {attribution? }
— {attribution}
 
[verseblock]
{title}
|
 
{citetitle} {attribution? }
— {attribution}
 
[exampleblock]
{caption={example-caption} {counter:example-number}. }{title}
|
 
[admonitionblock]
{data-uri%}{icons#} 
{data-uri#}{icons#} 
{icons%}{caption}
 
{title}
|
 
 
 
# Tables.
[tabletags-default]
colspec= 
bodyrow=| 
headdata=| 
bodydata=| 
paragraph=|
[tabletags-header]
paragraph=
[tabletags-emphasis]
paragraph=| 
[tabletags-strong]
paragraph=| 
[tabletags-monospaced]
paragraph=| 
[tabletags-verse]
bodydata=|
 
paragraph=
[tabletags-literal]
bodydata= 
paragraph=
[tabletags-asciidoc]
bodydata=|
 
paragraph=
[table]
{caption={table-caption} {counter:table-number}. }{title} 
{colspecs}
{headrows#}
{headrows}
{headrows#} 
{footrows#}
{footrows}
{footrows#} 
{bodyrows}
 
#--------------------------------------------------------------------
# Deprecated old table definitions.
#
[miscellaneous]
# Screen width in pixels.
pagewidth=800
pageunits=px
[old_tabledef-default]
template=old_table
colspec= 
bodyrow=| 
headdata=| 
footdata=| 
bodydata=| 
[old_table]
{caption={table-caption}}{title} 
{colspecs}
{headrows#}
{headrows}
{headrows#} 
{footrows#}
{footrows}
{footrows#} 
{bodyrows}
 
# End of deprecated old table definitions.
#--------------------------------------------------------------------
[floatingtitle]
{title} 
[preamble]
# Untitled elements between header and first section title.
# Document sections.
[sect0]
{title} 
|
[sect1]
{numbered?{sectnum} }{title} 
|
 
[sect2]
{numbered?{sectnum} }{title} 
|
[sect3]
{numbered?{sectnum} }{title} 
|
[sect4]
{title} 
|
[appendix]
{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title} 
|
 
[toc]
[header]
template::[toc]
[footer]
[footer-date]
# Default footer date is document modification time
ifeval::["{footer-style=default}"!="revdate"]
 {docdate} {doctime}
endif::[]
# If set to "revdate", it'll be set to the revision date
ifeval::["{footer-style=default}"=="revdate"]
 {revdate}
endif::[]
ifdef::doctype-manpage[]
[synopsis]
template::[sect1]
endif::doctype-manpage[]