diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/markdown-reader-more.native | 10 | ||||
-rw-r--r-- | tests/markdown-reader-more.txt | 9 |
2 files changed, 18 insertions, 1 deletions
diff --git a/tests/markdown-reader-more.native b/tests/markdown-reader-more.native index 9ce783fb8..f6747c3b1 100644 --- a/tests/markdown-reader-more.native +++ b/tests/markdown-reader-more.native @@ -31,5 +31,13 @@ Pandoc (Meta {docTitle = [Str "Title",Space,Str "spanning",Space,Str "multiple", , Header 2 [Str "Multilingual",Space,Str "URLs"] , Para [Link [Code "http://\27979.com?\27979=\27979"] ("http://%E6%B5%8B.com?%E6%B5%8B=%E6%B5%8B","")] , Para [Link [Str "foo"] ("/bar/%E6%B5%8B?x=%E6%B5%8B","title")] -, Para [Link [Code "\27979@foo.\27979.baz"] ("mailto:%E6%B5%8B@foo.%E6%B5%8B.baz","")] ] +, Para [Link [Code "\27979@foo.\27979.baz"] ("mailto:%E6%B5%8B@foo.%E6%B5%8B.baz","")] +, Header 2 [Str "Numbered",Space,Str "examples"] +, OrderedList (1,Example,TwoParens) + [ [ Plain [Str "First",Space,Str "example",Str "."] ] + , [ Plain [Str "Second",Space,Str "example",Str "."] ] ] +, Para [Str "Explanation",Space,Str "of",Space,Str "examples",Space,Str "(",Str "2",Str ")",Space,Str "and",Space,Str "(",Str "3",Str ")",Str "."] +, OrderedList (3,Example,TwoParens) + [ [ Plain [Str "Third",Space,Str "example",Str "."] ] + ] ] diff --git a/tests/markdown-reader-more.txt b/tests/markdown-reader-more.txt index 1feb1e5d4..29e210088 100644 --- a/tests/markdown-reader-more.txt +++ b/tests/markdown-reader-more.txt @@ -91,3 +91,12 @@ there` <测@foo.测.baz> +## Numbered examples + +(@) First example. +(@foo) Second example. + +Explanation of examples (@foo) and (@bar). + +(@bar) Third example. + |