git.iko.soy/typeable/pandoc
on 1.10.0.4 help sign in
typeable/pandoc/tests/markdown-reader-more.native
70 lines 5.2 kB history raw
1[Header 1 ("additional-markdown-reader-tests",[],[]) [Str "Additional",Space,Str "markdown",Space,Str "reader",Space,Str "tests"]
2,Header 2 ("blank-line-before-url-in-link-reference",[],[]) [Str "Blank",Space,Str "line",Space,Str "before",Space,Str "URL",Space,Str "in",Space,Str "link",Space,Str "reference"]
3,Para [Link [Str "foo"] ("/url",""),Space,Str "and",Space,Link [Str "bar"] ("/url","title")]
4,Header 2 ("raw-context-environments",[],[]) [Str "Raw",Space,Str "ConTeXt",Space,Str "environments"]
5,Plain [RawInline "tex" "\\placeformula "]
6,RawBlock "context" "\\startformula\n L_{1} = L_{2}\n \\stopformula"
7,RawBlock "context" "\\start[a2]\n\\start[a2]\n\\stop[a2]\n\\stop[a2]"
8,Header 2 ("urls-with-spaces",[],[]) [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%20and%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 ("horizontal-rules-with-spaces-at-end",[],[]) [Str "Horizontal",Space,Str "rules",Space,Str "with",Space,Str "spaces",Space,Str "at",Space,Str "end"]
12,HorizontalRule
13,HorizontalRule
14,Header 2 ("raw-html-before-header",[],[]) [Str "Raw",Space,Str "HTML",Space,Str "before",Space,Str "header"]
15,Para [RawInline "html" "<a>",RawInline "html" "</a>"]
16,Header 3 ("my-header",[],[]) [Str "my",Space,Str "header"]
17,Header 2 ("in-math",[],[]) [Str "$",Space,Str "in",Space,Str "math"]
18,Para [Math InlineMath "\\$2 + \\$3"]
19,Header 2 ("commented-out-list-item",[],[]) [Str "Commented-out",Space,Str "list",Space,Str "item"]
20,BulletList
21 [[Plain [Str "one",Space,RawInline "html" "<!--\n- two\n-->"]]
22 ,[Plain [Str "three"]]]
23,Header 2 ("backslash-newline",[],[]) [Str "Backslash",Space,Str "newline"]
24,Para [Str "hi",LineBreak,Str "there"]
25,Header 2 ("code-spans",[],[]) [Str "Code",Space,Str "spans"]
26,Para [Code ("",[],[]) "hi\\"]
27,Para [Code ("",[],[]) "hi there"]
28,Para [Code ("",[],[]) "hi````there"]
29,Para [Str "`hi"]
30,Para [Str "there`"]
31,Header 2 ("multilingual-urls",[],[]) [Str "Multilingual",Space,Str "URLs"]
32,Para [Link [Str "http://\27979.com?\27979=\27979"] ("http://\27979.com?\27979=\27979","")]
33,Para [Link [Str "foo"] ("/bar/\27979?x=\27979","title")]
34,Para [Link [Str "\27979@foo.\27979.baz"] ("mailto:\27979@foo.\27979.baz","")]
35,Header 2 ("numbered-examples",[],[]) [Str "Numbered",Space,Str "examples"]
36,OrderedList (1,Example,TwoParens)
37 [[Plain [Str "First",Space,Str "example."]]
38 ,[Plain [Str "Second",Space,Str "example."]]]
39,Para [Str "Explanation",Space,Str "of",Space,Str "examples",Space,Str "(2)",Space,Str "and",Space,Str "(3)."]
40,OrderedList (3,Example,TwoParens)
41 [[Plain [Str "Third",Space,Str "example."]]]
42,Header 2 ("macros",[],[]) [Str "Macros"]
43,Para [Math InlineMath "\\langle x,y \\rangle"]
44,Header 2 ("case-insensitive-references",[],[]) [Str "Case-insensitive",Space,Str "references"]
45,Para [Link [Str "Fum"] ("/fum","")]
46,Para [Link [Str "FUM"] ("/fum","")]
47,Para [Link [Str "bat"] ("/bat","")]
48,Header 2 ("curly-smart-quotes",[],[]) [Str "Curly",Space,Str "smart",Space,Str "quotes"]
49,Para [Quoted DoubleQuote [Str "Hi"]]
50,Para [Quoted SingleQuote [Str "Hi"]]
51,Header 2 ("consecutive-lists",[],[]) [Str "Consecutive",Space,Str "lists"]
52,BulletList
53 [[Plain [Str "one"]]
54 ,[Plain [Str "two"]]]
55,OrderedList (1,Decimal,Period)
56 [[Plain [Str "one"]]
57 ,[Plain [Str "two"]]]
58,OrderedList (1,LowerAlpha,Period)
59 [[Plain [Str "one"]]
60 ,[Plain [Str "two"]]]
61,Header 2 ("implicit-header-references",[],[]) [Str "Implicit",Space,Str "header",Space,Str "references"]
62,Header 3 ("my-header-1",[],[]) [Str "My",Space,Str "header"]
63,Header 3 ("my-other-header",[],[]) [Str "My",Space,Str "other",Space,Str "header"]
64,Para [Str "A",Space,Str "link",Space,Str "to",Space,Link [Str "My",Space,Str "header"] ("#my-header",""),Str "."]
65,Para [Str "Another",Space,Str "link",Space,Str "to",Space,Link [Str "it"] ("#my-header",""),Str "."]
66,Para [Str "But",Space,Str "this",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "link",Space,Str "to",Space,Link [Str "My",Space,Str "other",Space,Str "header"] ("/foo",""),Str ",",Space,Str "since",Space,Str "the",Space,Str "reference",Space,Str "is",Space,Str "defined."]
67,Header 2 ("foobar",["baz"],[("key","val")]) [Str "Explicit",Space,Str "header",Space,Str "attributes"]
68,Header 2 ("line-blocks",[],[]) [Str "Line",Space,Str "blocks"]
69,Para [Str "But",Space,Str "can",Space,Str "a",Space,Str "bee",Space,Str "be",Space,Str "said",Space,Str "to",Space,Str "be",LineBreak,Str "\160\160\160\160or",Space,Str "not",Space,Str "to",Space,Str "be",Space,Str "an",Space,Str "entire",Space,Str "bee,",LineBreak,Str "\160\160\160\160\160\160\160\160when",Space,Str "half",Space,Str "the",Space,Str "bee",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "bee,",LineBreak,Str "\160\160\160\160\160\160\160\160\160\160\160\160due",Space,Str "to",Space,Str "some",Space,Str "ancient",Space,Str "injury?"]
70,Para [Str "Continuation",Space,Str "line",LineBreak,Str "\160\160and",Space,Str "another"]]