1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
|
#
# 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
[glossary]
empty=
amp=&
lt=<
gt=>
brvbar=|
[titles]
underlines="==","--","~~","^^","++"
subs=specialcharacters,quotes,replacements,macros,glossary
# The title cannot start or end with characters that could match a table ruler,
# consequently the title must be 2 or more chars.
blocktitle=^\.(?P<title>[^\s\.\-~_].*[^\-~_])$
[specialcharacters]
&=&
<=<
>=>
[quotes]
*=strong
'=emphasis
`=monospaced
[specialwords]
strongwords=^\s*NOTE: ^\s*TODO: ^\s*TIP: ^\s*IMPORTANT: ^\s*WARNING:
[replacements]
\(C\)=©
\(TM\)=™
# Paragraphs.
[paradef-default]
delimiter=(?P<text>\S.*)
section=paragraph
[paradef-indented]
delimiter=(?P<text>\s+.*)
section=indentedparagraph
presubs=specialcharacters
options=listelement
[macros]
# Inline macros.
# Note backslash prefix required for escape processing.
[\\]?(?P<name>\w(\w|-)*?):(?P<target>\S*?)(\[(?P<caption>.*?)\])=
# Anchor: [[id,xreflabel]]
[\\]?\[\[(?P<caption>[\w"].*?)\]\]=anchor2
# Link: <<id,text>>
[\\]?<<(?P<caption>[\w"].*?)>>=xref2
# Block macros.
^(?P<name>\w(\w|-)*?)::(?P<target>\S*?)(\[(?P<caption>.*?)\])$=#
# Builtin macros.
^(?P<name>\w(\w|-)*?)::(?P<target>\S*?)(\[(?P<caption>.*?)\])$=+
# Delimited blocks.
[blockdef-comment]
delimiter=^/{3,}
options=skip
[blockdef-sidebar]
delimiter=^\*{3,}(\[(?P<args>.*)\])?\**$
section=sidebarblock
options=section,argsline
[blockdef-custom]
delimiter=^\+{3,}(\[(?P<args>.*)\])?\+*$
section=customblock
presubs=macros,glossary
[blockdef-verbatim]
delimiter=^-{3,}(\[(?P<args>.*)\])?-*$
section=verbatimblock
presubs=specialcharacters
[blockdef-indented]
delimiter=^\.{3,}(\[(?P<args>.*)\])?\.*$
section=indentedblock
presubs=specialcharacters
[blockdef-quote]
delimiter=^_{3,}(\[(?P<args>.*)\])?_*$
section=quoteblock
options=section,argsline
# Lists.
[listdef-itemized]
type=simple
delimiter=^\s*- {1,}(?P<text>.+)$
listtag=ilist
itemtag=ilistitem
texttag=ilisttext
[listdef-ordered]
type=simple
delimiter=^\s*\d*\. {1,}(?P<text>.+)$
listtag=olist
itemtag=olistitem
texttag=olisttext
[listdef-variable]
type=variable
delimiter=^\s*(?P<text>[\S].*)::$
listtag=vlist
itemtag=vlistitem
texttag=vlisttext
entrytag=vlistentry
termtag=vlistterm
[listdef-qanda]
# Question and Answer list.
type=variable
delimiter=^\s*(?P<text>[\S].*)\?\?$
listtag=qlist
itemtag=qlistitem
texttag=qlisttext
entrytag=qlistentry
termtag=qlistterm
# Bibliography list.
[listdef-bibliography]
type=simple
delimiter=^\+ {1,}(?P<text>.+)$
listtag=blist
itemtag=blistitem
texttag=blisttext
# Glossary list.
[listdef-glossary]
type=variable
delimiter=^(?P<text>[\S].*):-$
listtag=glist
itemtag=glistitem
texttag=glisttext
entrytag=glistentry
termtag=glistterm
# Alternative list syntaxes.
[listdef-itemized2]
type=simple
delimiter=^\s*\* {1,}(?P<text>.+)$
listtag=ilist
itemtag=ilistitem
texttag=ilisttext
[listdef-ordered2]
type=simple
delimiter=^\s*[.a-z]\. {1,}(?P<text>.+)$
listtag=olist2
itemtag=olistitem
texttag=olisttext
# Tables.
[tabledef-default]
fillchar=-
format=fixed
[tabledef-csv]
fillchar=~
format=csv
[tabledef-dsv]
fillchar=_
format=dsv
|