# # asciidoc.conf # # Asciidoc global configuration file. # Contains backend independent configuration settings that are applied to all # AsciiDoc documents. # [miscellaneous] tabsize=8 textwidth=70 newline=\r\n [attributes] sectids= iconsdir=./images/icons encoding=UTF-8 quirks= empty= # Attribute and AttributeList element patterns. attributeentry-pattern=^:(?P<attrname>[a-zA-Z0-9].*?):(?P<attrvalue>.*)$ attributelist-pattern=(?u)(^\[\[(?P<id>[\w\-_]+)\]\]$)|(^\[(?P<attrlist>.*)\]$) # Substitution attributes for escaping AsciiDoc processing. amp=& lt=< gt=> brvbar=| nbsp=  backslash=\ two_colons=:: two_semicolons=;; # Captions, used by XHTML backends. # The reason these language specific attributes are not in a lang-en.conf # file is so that the output will fall back to English if the specified # language file is missing. caution_caption=Caution important_caption=Important note_caption=Note tip_caption=Tip warning_caption=Warning figure_caption="Figure: " table_caption="Table: " toc_title=Table of Contents [titles] subs=specialcharacters,quotes,replacements,macros,attributes # Double-line title pattern and underlines. sectiontitle=^(?P<title>.*?)$ underlines="==","--","~~","^^","++" # Single-line title patterns. sect0=^= +(?P<title>[\S].*?)( +=)?$ sect1=^== +(?P<title>[\S].*?)( +==)?$ sect2=^=== +(?P<title>[\S].*?)( +===)?$ sect3=^==== +(?P<title>[\S].*?)( +====)?$ sect4=^===== +(?P<title>[\S].*?)( +=====)?$ blocktitle=^\.(?P<title>([^.\s].*)|(\.[^.\s].*))$ [specialcharacters] &=& <=< >=> [quotes] # Constrained quotes. *=strong '=emphasis `=monospaced ``|''=quoted ifdef::asciidoc7compatible[] \##=unquoted endif::asciidoc7compatible[] ifndef::asciidoc7compatible[] \#=unquoted _=emphasis +=monospaced # Unconstrained quotes. **=#strong __=#emphasis ++=#monospaced \##=#unquoted ^=#superscript ~=#subscript endif::asciidoc7compatible[] [specialwords] emphasizedwords= strongwords= monospacedwords= [tags] # $$ inline passthrough. passthrough=| [replacements] # Replacements performed in order of configuration file entry. The first entry # of each replacement pair performs the (non-escaped) replacement, the second # strips the backslash from the esaped replacement. # (C) Copyright (entity reference ©) (?<!\\)\(C\)=© \\\(C\)=(C) # (R) registered trade mark (entity reference ® (?<!\\)\(R\)=® \\\(R\)=(R) # (TM) Trademark (entity reference ™) (?<!\\)\(TM\)=™ \\\(TM\)=(TM) # -- Spaced and unspaced em dashes (entity reference —) # But disallow unspaced in man pages because double-dash option name prefixes # are pervasive. ifndef::doctype-manpage[] (^|[^-\\])--($|[^-])=\1—\2 endif::doctype-manpage[] ifdef::doctype-manpage[] (^|\s*[^\S\\])--($|\s+)=\1—\2 endif::doctype-manpage[] \\--(?!-)=-- # ... Ellipsis (entity reference …) (?<!\\)\.\.\.=… \\\.\.\.=... # Arrows from the Arrows block of Unicode. # -> right arrow (?<!\\)->=→ \\->=-> # => right double arrow (?<!\\)\=>=⇒ \\\=>==> # <- left arrow (?<!\\)<-=← \\<-=<- # <= left double arrow (?<!\\)<\==⇐ \\<\==<= # Paragraphs. [paradef-default] delimiter=(?s)(?P<text>\S.*) template=paragraph posattrs=style verse-style=template="verseparagraph" NOTE-style=template="admonitionparagraph",name="note",caption="{note_caption}" TIP-style=template="admonitionparagraph",name="tip",caption="{tip_caption}" IMPORTANT-style=template="admonitionparagraph",name="important",caption="{important_caption}" WARNING-style=template="admonitionparagraph",name="warning",caption="{warning_caption}" CAUTION-style=template="admonitionparagraph",name="caution",caption="{caution_caption}" [paradef-literal] delimiter=(?s)(?P<text>\s+.*) options=listelement template=literalparagraph subs=verbatim [paradef-admonition] delimiter=(?s)^\s*(?P<style>NOTE|TIP|IMPORTANT|WARNING|CAUTION):\s+(?P<text>.+) NOTE-style=template="admonitionparagraph",name="note",caption="{note_caption}" TIP-style=template="admonitionparagraph",name="tip",caption="{tip_caption}" IMPORTANT-style=template="admonitionparagraph",name="important",caption="{important_caption}" WARNING-style=template="admonitionparagraph",name="warning",caption="{warning_caption}" CAUTION-style=template="admonitionparagraph",name="caution",caption="{caution_caption}" [macros] # Inline macros. # Backslash prefix required for escape processing. # (?s) re flag for line spanning. # URLs, images and links with attribute list. Explicit so they can be nested. (?su)[\\]?(?P<name>http|https|ftp|file|mailto|callto|image|link):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])= # These URL types don't require any special attribute list formatting. (?su)(?<!\S)[\\]?(?P<name>http|https|ftp|file):(?P<target>//\S*[\w/])= # Allow a leading parenthesis. (?su)(?<\=\()[\\]?(?P<name>http|https|ftp|file):(?P<target>//\S*[\w/])= # Allow <> brackets. (?su)[\\]?<(?P<name>http|https|ftp|file):(?P<target>//\S*[\w/])>= # Email addresses don't require special attribute list formatting. # The before ">: and after "< character exclusions stop multiple substitution. (?su)(?<![">:\w])[\\]?(?P<target>\w[\w._-]*@[\w._-]*\w)(?!["<\w.])=mailto # Anchor: [[[id]]]. Bibliographic anchor. (?su)[\\]?\[\[\[(?P<attrlist>[\w][\w-]*?)\]\]\]=anchor3 # Anchor: [[id,xreflabel]] (?su)[\\]?\[\[(?P<attrlist>[\w"].*?)\]\]=anchor2 # Link: <<id,text>> (?su)[\\]?<<(?P<attrlist>[\w"].*?)>>=xref2 ifdef::asciidoc7compatible[] # Index term: ++primary,secondary,tertiary++ (?su)(?<!\S)[\\]?\+\+(?P<attrlist>[^+].*?)\+\+(?!\+)=indexterm # Index term: +primary+ # Follows ++...++ macro otherwise it will match them. (?<!\S)[\\]?\+(?P<attrlist>[^\s\+][^+].*?)\+(?!\+)=indexterm2 endif::asciidoc7compatible[] ifndef::asciidoc7compatible[] # Index term: (((primary,secondary,tertiary))) (?su)(?<!\()[\\]?\(\(\((?P<attrlist>[^(].*?)\)\)\)(?!\))=indexterm # Index term: ((primary)) # Follows (((...))) macro otherwise it will match them. (?<!\()[\\]?\(\((?P<attrlist>[^\s\(][^(].*?)\)\)(?!\))=indexterm2 endif::asciidoc7compatible[] # Callout [\\]?<(?P<index>\d+)>=callout # Default inline macro (listed last as a catchall)). (?su)[\\]?(?P<name>\w(\w|-)*?):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])= # Block macros. (?u)^(?P<name>\w(\w|-)*?)::(?P<target>\S*?)(\[(?P<attrlist>.*?)\])$=# ^'{4,}$=#ruler ^//([^/].*|)$=#comment # System macros. # This default system macro is hardwired into asciidoc. #(?u)^(?P<name>\w(\w|-)*?)::(?P<target>\S*?)(\[(?P<attrlist>.*?)\])$=+ # Delimited blocks. [blockdef-comment] delimiter=^/{4,} options=skip [comment-blockmacro] # Outputs nothing. [blockdef-sidebar] delimiter=^\*{4,}$ template=sidebarblock options=sectionbody [blockdef-list] delimiter=^--$ template=listblock options=list [listblock] | [blockdef-passthrough] delimiter=^\+{4,}$ template=passthroughblock subs=attributes,macros [blockdef-listing] delimiter=^-{4,}$ template=listingblock subs=verbatim posattrs=style [blockdef-literal] delimiter=^\.{4,}$ template=literalblock subs=verbatim posattrs=style # DEPRECATED: Use verse style on quote blocks instead. verse-style=template="verseblock",subs="normal" [blockdef-quote] delimiter=^_{4,}$ subs=normal style=quote posattrs=style,attribution,citetitle quote-style=template="quoteblock",options=("sectionbody",) verse-style=template="verseblock" [blockdef-example] delimiter=^={4,}$ template=exampleblock options=sectionbody posattrs=style NOTE-style=template="admonitionblock",name="note",caption="{note_caption}" TIP-style=template="admonitionblock",name="tip",caption="{tip_caption}" IMPORTANT-style=template="admonitionblock",name="important",caption="{important_caption}" WARNING-style=template="admonitionblock",name="warning",caption="{warning_caption}" CAUTION-style=template="admonitionblock",name="caution",caption="{caution_caption}" # For use by custom filters. [blockdef-filter] delimiter=^~{4,}$ template=listingblock subs=none posattrs=style # Lists. [listdef-bulleted] type=bulleted delimiter=^\s*- +(?P<text>.+)$ listtag=ilist itemtag=ilistitem texttag=ilisttext [listdef-bulleted2] type=bulleted delimiter=^\s*\* +(?P<text>.+)$ listtag=ilist itemtag=ilistitem texttag=ilisttext [listdef-numbered] type=numbered delimiter=^\s*(?P<index>\d*)\. +(?P<text>.+)$ listtag=olist itemtag=olistitem texttag=olisttext [listdef-numbered2] type=numbered delimiter=^\s*(?P<index>[.a-z])\. +(?P<text>.+)$ listtag=olist2 itemtag=olistitem texttag=olisttext [listdef-vlabeled] type=labeled delimiter=^\s*(?P<label>.*\S)::$ listtag=vlist itemtag=vlistitem texttag=vlisttext entrytag=vlistentry labeltag=vlistterm [listdef-vlabeled2] type=labeled delimiter=^\s*(?P<label>.*\S);;$ listtag=vlist itemtag=vlistitem texttag=vlisttext entrytag=vlistentry labeltag=vlistterm [listdef-hlabeled] type=labeled delimiter=^\s*(?P<label>.*\S)((::\s*\\)|(::\s+(?P<text>.+)))$ listtag=hlist itemtag=hlistitem texttag=hlisttext entrytag=hlistentry labeltag=hlistterm [listdef-hlabeled2] type=labeled delimiter=^\s*(?P<label>.*\S)((;;\s*\\)|(;;\s+(?P<text>.+)))$ listtag=hlist itemtag=hlistitem texttag=hlisttext entrytag=hlistentry labeltag=hlistterm # Question and Answer list. [listdef-qanda] type=labeled delimiter=^\s*(?P<label>.*\S)\?\?$ listtag=qlist itemtag=qlistitem texttag=qlisttext entrytag=qlistentry labeltag=qlistterm # Bibliography list. [listdef-bibliography] type=bulleted delimiter=^\+ +(?P<text>.+)$ listtag=blist itemtag=blistitem texttag=blisttext # Glossary list. [listdef-glossary] type=labeled delimiter=^(?P<label>.*\S):-$ listtag=glist itemtag=glistitem texttag=glisttext entrytag=glistentry labeltag=glistterm # Callout list. [listdef-callout] type=callout delimiter=^<?(?P<index>\d*)> +(?P<text>.+)$ listtag=colist itemtag=colistitem texttag=colisttext # Tables. [tabledef-default] fillchar=- format=fixed [tabledef-csv] fillchar=~ format=csv [tabledef-dsv] fillchar=_ format=dsv