diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2009-03-04 00:04:41 +1300 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2009-03-04 00:04:41 +1300 |
commit | 34c9d1d296f90e7323ba5b0e1b8169b906736ea7 (patch) | |
tree | 8410f756c55a8d469d63fdd33cc0e74781dea8bb /asciidoc.conf | |
parent | 7e2ca998c497efc1060535892f5d698c7076be44 (diff) | |
download | asciidoc-34c9d1d296f90e7323ba5b0e1b8169b906736ea7.tar.gz |
Added an optional second argument to BlockId element which sets the {label}
attribute which in turn is used to set the xreflabel attribute in DocBook
outputs.
Diffstat (limited to 'asciidoc.conf')
-rw-r--r-- | asciidoc.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asciidoc.conf b/asciidoc.conf index b8ee51c..eccece5 100644 --- a/asciidoc.conf +++ b/asciidoc.conf @@ -19,7 +19,7 @@ quirks= empty=
# Attribute and AttributeList element patterns.
attributeentry-pattern=^:(?P<attrname>\w[^.]*?)(\.(?P<attrname2>.*?))?:(\s+(?P<attrvalue>.*))?$
-attributelist-pattern=(?u)(^\[\[(?P<id>[\w\-_]+)\]\]$)|(^\[(?P<attrlist>.*)\]$)
+attributelist-pattern=(?u)(^\[\[(?P<id>[\w\-_]+)(,(?P<label>.*?))?\]\]$)|(^\[(?P<attrlist>.*)\]$)
# Substitution attributes for escaping AsciiDoc processing.
amp=&
lt=<
|