diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-10-23 21:40:45 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-10-23 22:45:28 -0700 |
commit | fda0c0119f415c6df95b20730650388c0471241d (patch) | |
tree | 2d198546bef025e27a641892f12cdb72c712fc72 /test/command | |
parent | 896803b0d5d1f5d680d125eb75913025fa734190 (diff) | |
download | pandoc-fda0c0119f415c6df95b20730650388c0471241d.tar.gz |
Implemented fenced Divs.
+ Added Ext_fenced_divs to Extensions (default for pandoc Markdown).
+ Document fenced_divs extension in manual.
+ Implemented fenced code divs in Markdown reader.
+ Added test.
Closes #168.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/168.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/command/168.md b/test/command/168.md new file mode 100644 index 000000000..0d6183a78 --- /dev/null +++ b/test/command/168.md @@ -0,0 +1,30 @@ +``` +% pandoc -t native +:::::::::: warning :::::::::::: +This is the warning! + +1. list +2. another + +::: {#myid .class key=val} +nested div +::: +::::::::::::::::::::::::::::::: +^D +[Div ("",["warning"],[]) + [Para [Str "This",Space,Str "is",Space,Str "the",Space,Str "warning!"] + ,OrderedList (1,Decimal,Period) + [[Plain [Str "list"]] + ,[Plain [Str "another"]]] + ,Div ("myid",["class"],[("key","val")]) + [Plain [Str "nested",Space,Str "div"]]]] +``` + +``` +% pandoc -t native +foo +::: +bar +^D +[Para [Str "foo",SoftBreak,Str ":::",SoftBreak,Str "bar"]] +``` |