git.iko.soy/typeable/pandoc
on 46121aa help sign in
typeable/pandoc/tests/markdown-reader-more.native
44 lines 2.9 kB history raw
1Pandoc (Meta {docTitle = [Str "Title",Space,Str "spanning",Space,Str "multiple",Space,Str "lines"], docAuthors = [[Str "Author",Space,Str "One"],[Str "Author",Space,Str "Two"],[Str "Author",Space,Str "Three"],[Str "Author",Space,Str "Four"]], docDate = []})
2[ Header 1 [Str "Additional",Space,Str "markdown",Space,Str "reader",Space,Str "tests"]
3, Header 2 [Str "Blank",Space,Str "line",Space,Str "before",Space,Str "URL",Space,Str "in",Space,Str "link",Space,Str "reference"]
4, Para [Link [Str "foo"] ("/url",""),Space,Str "and",Space,Link [Str "bar"] ("/url","title")]
5, Header 2 [Str "Raw",Space,Str "ConTeXt",Space,Str "environments"]
6, Para [TeX "\\placeformula",Space,TeX "\\startformula\n L_{1} = L_{2}\n \\stopformula"]
7, Para [TeX "\\start[a2]\n\\start[a2]\n\\stop[a2]\n\\stop[a2]"]
8, Header 2 [Str "URLs",Space,Str "with",Space,Str "spaces"]
9, Para [Link [Str "foo"] ("/bar%20and%20baz",""),Space,Link [Str "foo"] ("/bar%20and%20baz",""),Space,Link [Str "foo"] ("/bar%20%20and%20%20baz",""),Space,Link [Str "foo"] ("bar%20baz","title")]
10, Para [Link [Str "baz"] ("/foo%20foo",""),Space,Link [Str "bam"] ("/foo%20fee",""),Space,Link [Str "bork"] ("/foo/zee%20zob","title")]
11, Header 2 [Str "Horizontal",Space,Str "rules",Space,Str "with",Space,Str "spaces",Space,Str "at",Space,Str "end"]
12, HorizontalRule
13, HorizontalRule
14, Header 2 [Str "Raw",Space,Str "HTML",Space,Str "before",Space,Str "header"]
15, Plain [HtmlInline "<a>",HtmlInline "</a>"]
16, Header 3 [Str "my",Space,Str "header"]
17, Header 2 [Str "$",Space,Str "in",Space,Str "math"]
18, Para [Math InlineMath "\\$2 + \\$3"]
19, Header 2 [Str "Commented",Str "-",Str "out",Space,Str "list",Space,Str "item"]
20, BulletList
21 [ [ Plain [Str "one",Space,HtmlInline "<!--\n- two\n-->"] ]
22 , [ Plain [Str "three"] ] ]
23, Header 2 [Str "Backslash",Space,Str "newline"]
24, Para [Str "hi",LineBreak,Str "there"]
25, Header 2 [Str "Code",Space,Str "spans"]
26, Para [Code "hi\\"]
27, Para [Code "hi there"]
28, Para [Code "hi````there"]
29, Para [Str "`",Str "hi"]
30, Para [Str "there",Str "`"]
31, Header 2 [Str "Multilingual",Space,Str "URLs"]
32, Para [Link [Code "http://\27979.com?\27979=\27979"] ("http://%E6%B5%8B.com?%E6%B5%8B=%E6%B5%8B","")]
33, 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","")]
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 ]
43, Header 2 [Str "Macros"]
44, Para [Math InlineMath "\\langle x,y \\rangle"] ]