git.iko.soy/typeable/pandoc
on master help sign in
Added tests for example lists.
commitbe587685221a166fcbdd3a47871fc86978851ca1 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 12 Jul 2010, 23:07 (16 years ago) parentafe18e5
2 files changed+18−1
tests/markdown-reader-more.native+9−1 tests/markdown-reader-more.txt+9
tests/markdown-reader-more.native+9−1
@@ -31,5 +31,13 @@ Pandoc (Meta {docTitle = [Str "Title",Space,Str "spanning",Space,Str "multiple",
3131, Header 2 [Str "Multilingual",Space,Str "URLs"]
3232, Para [Link [Code "http://\27979.com?\27979=\27979"] ("http://%E6%B5%8B.com?%E6%B5%8B=%E6%B5%8B","")]
3333, Para [Link [Str "foo"] ("/bar/%E6%B5%8B?x=%E6%B5%8B","title")]
34−, Para [Link [Code "\27979@foo.\27979.baz"] ("mailto:%E6%B5%8B@foo.%E6%B5%8B.baz","")] ]
34+, Para [Link [Code "\27979@foo.\27979.baz"] ("mailto:%E6%B5%8B@foo.%E6%B5%8B.baz","")]
35+, Header 2 [Str "Numbered",Space,Str "examples"]
36+, OrderedList (1,Example,TwoParens)
37+ [ [ Plain [Str "First",Space,Str "example",Str "."] ]
38+ , [ Plain [Str "Second",Space,Str "example",Str "."] ] ]
39+, Para [Str "Explanation",Space,Str "of",Space,Str "examples",Space,Str "(",Str "2",Str ")",Space,Str "and",Space,Str "(",Str "3",Str ")",Str "."]
40+, OrderedList (3,Example,TwoParens)
41+ [ [ Plain [Str "Third",Space,Str "example",Str "."] ]
42+ ] ]
3543
tests/markdown-reader-more.txt+9
@@ -91,3 +91,12 @@ there`
9191
9292<测@foo.测.baz>
9393
94+## Numbered examples
95+
96+(@) First example.
97+(@foo) Second example.
98+
99+Explanation of examples (@foo) and (@bar).
100+
101+(@bar) Third example.
102+