I have two versions of asciidoc installed on two computers, and
I've just discovered an inconsistency between them; consider
the fragment of asciidoc below (which uses the source-highlight
filter)
---
1. This is the first paragraph of a multi-paragraph list item
+
[sh]
source~~~~~~~~~~~~~~~~~~~~~~~~
> echo $SHELL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
This fragment works fine with version 8.2.1, and gives the
expected output.
However, with version 8.2.5, I get an error like so:
tow@host:~$ asciidoc test.txt
WARNING: test.txt: line 3: missing [paradef-default] sh-style entry
FAILED: /home/tow/test.txt: line 6: missing filter attribute:
code-filter.py -b {basebackend} -l {language}
I've discovered that if I use the *old* (8.2.1) version of /etc/asciidoc as
the configuration for 8.2.5, then I get the expected result again.
Toby
_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss