git.iko.soy/typeable/pandoc
on 2.14.0.3 help sign in
typeable/pandoc/test/rst-reader.native
443 lines 24 kB history raw
1Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Space,Str "MacFarlane"],MetaInlines [Str "Anonymous"]]),("date",MetaInlines [Str "July",Space,Str "17,",Space,Str "2006"]),("revision",MetaBlocks [Para [Str "3"]]),("subtitle",MetaInlines [Str "Subtitle"]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
2[Header 1 ("level-one-header",[],[]) [Str "Level",Space,Str "one",Space,Str "header"]
3,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",SoftBreak,Str "John",Space,Str "Gruber\8217s",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
4,Header 2 ("level-two-header",[],[]) [Str "Level",Space,Str "two",Space,Str "header"]
5,Header 3 ("level-three",[],[]) [Str "Level",Space,Str "three"]
6,Header 4 ("level-four-with-emphasis",[],[]) [Str "Level",Space,Str "four",Space,Str "with",Space,Emph [Str "emphasis"]]
7,Header 5 ("level-five",[],[]) [Str "Level",Space,Str "five"]
8,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
9,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
10,Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",SoftBreak,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",Space,Str "list",Space,Str "item.",SoftBreak,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",SoftBreak,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",Space,Str "looked",Space,Str "like",Space,Str "a",SoftBreak,Str "list",Space,Str "item."]
11,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",SoftBreak,Str "*",Space,Str "criminey."]
12,Para [Str "Horizontal",Space,Str "rule:"]
13,HorizontalRule
14,Para [Str "Another:"]
15,HorizontalRule
16,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
17,Para [Str "Here\8217s",Space,Str "a",Space,Str "block",Space,Str "quote:"]
18,BlockQuote
19 [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",SoftBreak,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
20,Para [Str "Here\8217s",Space,Str "another,",Space,Str "differently",Space,Str "indented:"]
21,BlockQuote
22 [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",SoftBreak,Str "It\8217s",Space,Str "indented",Space,Str "with",Space,Str "a",Space,Str "tab."]
23 ,Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
24 ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
25 ,Para [Str "List",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
26 ,OrderedList (1,Decimal,Period)
27 [[Plain [Str "item",Space,Str "one"]]
28 ,[Plain [Str "item",Space,Str "two"]]]
29 ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
30 ,BlockQuote
31 [Para [Str "nested"]
32 ,BlockQuote
33 [Para [Str "nested"]]]]
34,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
35,Para [Str "Code:"]
36,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}"
37,CodeBlock ("",[],[]) "this code block is indented by one tab"
38,Para [Str "And:"]
39,CodeBlock ("",[],[]) "this block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
40,Para [Str "And:"]
41,CodeBlock ("",["python"],[]) "def my_function(x):\n return x + 1"
42,Para [Str "If",Space,Str "we",Space,Str "use",Space,Str "the",Space,Str "highlight",Space,Str "directive,",Space,Str "we",Space,Str "can",Space,Str "specify",Space,Str "a",Space,Str "default",Space,Str "language",SoftBreak,Str "for",Space,Str "literate",Space,Str "blocks."]
43,CodeBlock ("",["haskell"],[]) "-- this code is in haskell\ndata Tree = Leaf | Node Tree Tree"
44,CodeBlock ("",["haskell"],[]) "-- this code is in haskell too\ndata Nat = Zero | Succ Nat"
45,CodeBlock ("",["javascript"],[]) "-- this code is in javascript\nlet f = (x, y) => x + y"
46,Header 1 ("lists",[],[]) [Str "Lists"]
47,Header 2 ("unordered",[],[]) [Str "Unordered"]
48,Para [Str "Asterisks",Space,Str "tight:"]
49,BulletList
50 [[Plain [Str "asterisk",Space,Str "1"]]
51 ,[Plain [Str "asterisk",Space,Str "2"]]
52 ,[Plain [Str "asterisk",Space,Str "3"]]]
53,Para [Str "Asterisks",Space,Str "loose:"]
54,BulletList
55 [[Plain [Str "asterisk",Space,Str "1"]]
56 ,[Plain [Str "asterisk",Space,Str "2"]]
57 ,[Plain [Str "asterisk",Space,Str "3"]]]
58,Para [Str "Pluses",Space,Str "tight:"]
59,BulletList
60 [[Plain [Str "Plus",Space,Str "1"]]
61 ,[Plain [Str "Plus",Space,Str "2"]]
62 ,[Plain [Str "Plus",Space,Str "3"]]]
63,Para [Str "Pluses",Space,Str "loose:"]
64,BulletList
65 [[Plain [Str "Plus",Space,Str "1"]]
66 ,[Plain [Str "Plus",Space,Str "2"]]
67 ,[Plain [Str "Plus",Space,Str "3"]]]
68,Para [Str "Minuses",Space,Str "tight:"]
69,BulletList
70 [[Plain [Str "Minus",Space,Str "1"]]
71 ,[Plain [Str "Minus",Space,Str "2"]]
72 ,[Plain [Str "Minus",Space,Str "3"]]]
73,Para [Str "Minuses",Space,Str "loose:"]
74,BulletList
75 [[Plain [Str "Minus",Space,Str "1"]]
76 ,[Plain [Str "Minus",Space,Str "2"]]
77 ,[Plain [Str "Minus",Space,Str "3"]]]
78,Header 2 ("ordered",[],[]) [Str "Ordered"]
79,Para [Str "Tight:"]
80,OrderedList (1,Decimal,Period)
81 [[Plain [Str "First"]]
82 ,[Plain [Str "Second"]]
83 ,[Plain [Str "Third"]]]
84,Para [Str "and:"]
85,OrderedList (1,Decimal,Period)
86 [[Plain [Str "One"]]
87 ,[Plain [Str "Two"]]
88 ,[Plain [Str "Three"]]]
89,Para [Str "Loose",Space,Str "using",Space,Str "tabs:"]
90,OrderedList (1,Decimal,Period)
91 [[Plain [Str "First"]]
92 ,[Plain [Str "Second"]]
93 ,[Plain [Str "Third"]]]
94,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
95,OrderedList (1,Decimal,Period)
96 [[Plain [Str "One"]]
97 ,[Plain [Str "Two"]]
98 ,[Plain [Str "Three"]]]
99,Para [Str "Multiple",Space,Str "paragraphs:"]
100,OrderedList (1,Decimal,Period)
101 [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
102 ,Para [Str "Item",Space,Str "1.",Space,Str "graf",Space,Str "two.",Space,Str "The",Space,Str "quick",Space,Str "brown",Space,Str "fox",Space,Str "jumped",Space,Str "over",Space,Str "the",Space,Str "lazy",Space,Str "dog\8217s",SoftBreak,Str "back."]]
103 ,[Para [Str "Item",Space,Str "2."]]
104 ,[Para [Str "Item",Space,Str "3."]]]
105,Para [Str "Nested:"]
106,BulletList
107 [[Plain [Str "Tab"]
108 ,BulletList
109 [[Plain [Str "Tab"]
110 ,BulletList
111 [[Plain [Str "Tab"]]]]]]]
112,Para [Str "Here\8217s",Space,Str "another:"]
113,OrderedList (1,Decimal,Period)
114 [[Para [Str "First"]]
115 ,[Para [Str "Second:"]
116 ,BlockQuote
117 [BulletList
118 [[Plain [Str "Fee"]]
119 ,[Plain [Str "Fie"]]
120 ,[Plain [Str "Foe"]]]]]
121 ,[Para [Str "Third"]]]
122,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
123,OrderedList (2,Decimal,TwoParens)
124 [[Para [Str "begins",Space,Str "with",Space,Str "2"]]
125 ,[Para [Str "and",Space,Str "now",Space,Str "3"]
126 ,Para [Str "with",Space,Str "a",Space,Str "continuation"]
127 ,OrderedList (4,LowerRoman,Period)
128 [[Plain [Str "sublist",Space,Str "with",Space,Str "roman",Space,Str "numerals,",Space,Str "starting",Space,Str "with",Space,Str "4"]]
129 ,[Plain [Str "more",Space,Str "items"]
130 ,OrderedList (1,UpperAlpha,TwoParens)
131 [[Plain [Str "a",Space,Str "subsublist"]]
132 ,[Plain [Str "a",Space,Str "subsublist"]]]]]]]
133,Para [Str "Nesting:"]
134,OrderedList (1,UpperAlpha,Period)
135 [[Plain [Str "Upper",Space,Str "Alpha"]
136 ,OrderedList (1,UpperRoman,Period)
137 [[Plain [Str "Upper",Space,Str "Roman."]
138 ,OrderedList (6,Decimal,TwoParens)
139 [[Plain [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
140 ,OrderedList (3,LowerAlpha,OneParen)
141 [[Plain [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
142,Para [Str "Autonumbering:"]
143,OrderedList (1,DefaultStyle,DefaultDelim)
144 [[Plain [Str "Autonumber."]]
145 ,[Plain [Str "More."]
146 ,OrderedList (1,DefaultStyle,DefaultDelim)
147 [[Plain [Str "Nested."]]]]]
148,Para [Str "Autonumbering",Space,Str "with",Space,Str "explicit",Space,Str "start:"]
149,OrderedList (4,LowerAlpha,TwoParens)
150 [[Plain [Str "item",Space,Str "1"]]
151 ,[Plain [Str "item",Space,Str "2"]]]
152,Header 2 ("definition",[],[]) [Str "Definition"]
153,DefinitionList
154 [([Str "term",Space,Str "1"],
155 [[Para [Str "Definition",Space,Str "1."]]])
156 ,([Str "term",Space,Str "2"],
157 [[Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "1."]
158 ,Para [Str "Definition",Space,Str "2,",Space,Str "paragraph",Space,Str "2."]]])
159 ,([Str "term",Space,Str "with",Space,Emph [Str "emphasis"]],
160 [[Para [Str "Definition",Space,Str "3."]]])]
161,Header 1 ("field-lists",[],[]) [Str "Field",Space,Str "Lists"]
162,BlockQuote
163 [DefinitionList
164 [([Str "address"],
165 [[Para [Str "61",Space,Str "Main",Space,Str "St."]]])
166 ,([Str "city"],
167 [[Para [Emph [Str "Nowhere"],Str ",",Space,Str "MA,",SoftBreak,Str "USA"]]])
168 ,([Str "phone"],
169 [[Para [Str "123-4567"]]])]]
170,DefinitionList
171 [([Str "address"],
172 [[Para [Str "61",Space,Str "Main",Space,Str "St."]]])
173 ,([Str "city"],
174 [[Para [Emph [Str "Nowhere"],Str ",",Space,Str "MA,",SoftBreak,Str "USA"]]])
175 ,([Str "phone"],
176 [[Para [Str "123-4567"]]])]
177,Header 1 ("html-blocks",[],[]) [Str "HTML",Space,Str "Blocks"]
178,Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line:"]
179,RawBlock (Format "html") "<div>foo</div>"
180,Para [Str "Now,",Space,Str "nested:"]
181,RawBlock (Format "html") "<div>\n <div>\n <div>\n foo\n </div>\n </div>\n</div>"
182,Header 1 ("latex-block",[],[]) [Str "LaTeX",Space,Str "Block"]
183,RawBlock (Format "latex") "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
184,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
185,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ".",Space,Str "This",Space,Str "is",Space,Strong [Str "strong"],Str "."]
186,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",Space,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",Space,Code ("",[],[]) "<html>",Str "."]
187,Para [Str "This",Space,Str "is",Subscript [Str "subscripted"],Space,Str "and",Space,Str "this",Space,Str "is",Space,Superscript [Str "superscripted"],Str "."]
188,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
189,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
190,BulletList
191 [[Plain [Str "I",Space,Str "hat:",Space,Str "\206"]]
192 ,[Plain [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
193 ,[Plain [Str "section:",Space,Str "\167"]]
194 ,[Plain [Str "set",Space,Str "membership:",Space,Str "\8712"]]
195 ,[Plain [Str "copyright:",Space,Str "\169"]]]
196,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
197,Para [Str "This",Space,Str "&",Space,Str "that."]
198,Para [Str "4",Space,Str "<",Space,Str "5."]
199,Para [Str "6",Space,Str ">",Space,Str "5."]
200,Para [Str "Backslash:",Space,Str "\\"]
201,Para [Str "Backtick:",Space,Str "`"]
202,Para [Str "Asterisk:",Space,Str "*"]
203,Para [Str "Underscore:",Space,Str "_"]
204,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
205,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
206,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
207,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
208,Para [Str "Left",Space,Str "paren:",Space,Str "("]
209,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
210,Para [Str "Greater-than:",Space,Str ">"]
211,Para [Str "Hash:",Space,Str "#"]
212,Para [Str "Period:",Space,Str "."]
213,Para [Str "Bang:",Space,Str "!"]
214,Para [Str "Plus:",Space,Str "+"]
215,Para [Str "Minus:",Space,Str "-"]
216,Header 1 ("links",[],[]) [Str "Links"]
217,Para [Str "Explicit:",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
218,Para [Str "Explicit",Space,Str "with",Space,Str "no",Space,Str "label:",Space,Link ("",[],[]) [Str "foo"] ("foo",""),Str "."]
219,Para [Str "Two",Space,Str "anonymous",Space,Str "links:",Space,Link ("",[],[]) [Str "the",Space,Str "first"] ("/url1/",""),Space,Str "and",Space,Link ("",[],[]) [Str "the",Space,Str "second"] ("/url2/","")]
220,Para [Str "Reference",Space,Str "links:",Space,Link ("",[],[]) [Str "link1"] ("/url1/",""),Space,Str "and",Space,Link ("",[],[]) [Str "link2"] ("/url2/",""),Space,Str "and",Space,Link ("",[],[]) [Str "link1"] ("/url1/",""),Space,Str "again."]
221,Para [Str "Another",Space,Link ("",[],[]) [Str "style",Space,Str "of",Space,Str "reference",Space,Str "link"] ("/url1/",""),Str "."]
222,Para [Str "Here\8217s",Space,Str "a",Space,Link ("",[],[]) [Str "link",Space,Str "with",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
223,Para [Str "Here\8217s",Space,Str "a",Space,Str "link",Space,Str "with",Space,Str "an",Space,Str "amersand",Space,Str "in",Space,Str "the",Space,Str "link",Space,Str "text:",Space,Link ("",[],[]) [Str "AT&T"] ("/url/",""),Str "."]
224,Para [Str "Autolinks:",Space,Link ("",[],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2",""),Space,Str "and",Space,Link ("",[],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net",""),Str "."]
225,Para [Str "But",Space,Str "not",Space,Str "here:"]
226,CodeBlock ("",[],[]) "http://example.com/"
227,Header 1 ("images",[],[]) [Str "Images"]
228,Para [Str "From",Space,Quoted DoubleQuote [Str "Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune"],Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
229,Para [Image ("",[],[]) [Str "image"] ("lalune.jpg","")]
230,Para [Image ("",[],[("height","2343px")]) [Str "Voyage dans la Lune"] ("lalune.jpg","")]
231,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [Str "movie"] ("movie.jpg",""),Space,Str "icon."]
232,Para [Str "And",Space,Str "an",Space,Link ("",[],[]) [Image ("",[],[]) [Str "A movie"] ("movie.jpg","")] ("/url",""),Str "."]
233,Header 1 ("comments",[],[]) [Str "Comments"]
234,Para [Str "First",Space,Str "paragraph"]
235,Para [Str "Another",Space,Str "paragraph"]
236,Para [Str "A",Space,Str "third",Space,Str "paragraph"]
237,Header 1 ("line-blocks",[],[]) [Str "Line",Space,Str "blocks"]
238,LineBlock
239 [[Str "But",Space,Str "can",Space,Str "a",Space,Str "bee",Space,Str "be",Space,Str "said",Space,Str "to",Space,Str "be"]
240 ,[Str "\160\160\160\160or",Space,Str "not",Space,Str "to",Space,Str "be",Space,Str "an",Space,Str "entire",Space,Str "bee,"]
241 ,[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,"]
242 ,[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?"]
243 ,[]
244 ,[Str "Continuation",Space,Str "line"]
245 ,[Str "\160\160and",Space,Str "another"]]
246,Header 1 ("simple-tables",[],[]) [Str "Simple",Space,Str "Tables"]
247,Table ("",[],[]) (Caption Nothing
248 [])
249 [(AlignDefault,ColWidthDefault)
250 ,(AlignDefault,ColWidthDefault)
251 ,(AlignDefault,ColWidthDefault)]
252 (TableHead ("",[],[])
253 [Row ("",[],[])
254 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
255 [Plain [Str "col",Space,Str "1"]]
256 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
257 [Plain [Str "col",Space,Str "2"]]
258 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
259 [Plain [Str "col",Space,Str "3"]]]])
260 [(TableBody ("",[],[]) (RowHeadColumns 0)
261 []
262 [Row ("",[],[])
263 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
264 [Plain [Str "r1",Space,Str "a"]]
265 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
266 [Plain [Str "b"]]
267 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
268 [Plain [Str "c"]]]
269 ,Row ("",[],[])
270 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
271 [Plain [Str "r2",Space,Str "d"]]
272 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
273 [Plain [Str "e"]]
274 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
275 [Plain [Str "f"]]]])]
276 (TableFoot ("",[],[])
277 [])
278,Para [Str "Headless"]
279,Table ("",[],[]) (Caption Nothing
280 [])
281 [(AlignDefault,ColWidthDefault)
282 ,(AlignDefault,ColWidthDefault)
283 ,(AlignDefault,ColWidthDefault)]
284 (TableHead ("",[],[])
285 [Row ("",[],[])
286 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
287 []
288 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
289 []
290 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
291 []]])
292 [(TableBody ("",[],[]) (RowHeadColumns 0)
293 []
294 [Row ("",[],[])
295 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
296 [Plain [Str "r1",Space,Str "a"]]
297 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
298 [Plain [Str "b"]]
299 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
300 [Plain [Str "c"]]]
301 ,Row ("",[],[])
302 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
303 [Plain [Str "r2",Space,Str "d"]]
304 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
305 [Plain [Str "e"]]
306 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
307 [Plain [Str "f"]]]])]
308 (TableFoot ("",[],[])
309 [])
310,Header 1 ("grid-tables",[],[]) [Str "Grid",Space,Str "Tables"]
311,Table ("",[],[]) (Caption Nothing
312 [])
313 [(AlignDefault,ColWidth 0.2375)
314 ,(AlignDefault,ColWidth 0.15)
315 ,(AlignDefault,ColWidth 0.1625)]
316 (TableHead ("",[],[])
317 [Row ("",[],[])
318 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
319 [Plain [Str "col",Space,Str "1"]]
320 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
321 [Plain [Str "col",Space,Str "2"]]
322 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
323 [Plain [Str "col",Space,Str "3"]]]])
324 [(TableBody ("",[],[]) (RowHeadColumns 0)
325 []
326 [Row ("",[],[])
327 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
328 [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
329 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
330 [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
331 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
332 [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
333 ,Row ("",[],[])
334 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
335 [Plain [Str "r2",Space,Str "d"]]
336 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
337 [Plain [Str "e"]]
338 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
339 [Plain [Str "f"]]]])]
340 (TableFoot ("",[],[])
341 [])
342,Para [Str "Headless"]
343,Table ("",[],[]) (Caption Nothing
344 [])
345 [(AlignDefault,ColWidth 0.2375)
346 ,(AlignDefault,ColWidth 0.15)
347 ,(AlignDefault,ColWidth 0.1625)]
348 (TableHead ("",[],[])
349 [])
350 [(TableBody ("",[],[]) (RowHeadColumns 0)
351 []
352 [Row ("",[],[])
353 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
354 [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
355 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
356 [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
357 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
358 [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
359 ,Row ("",[],[])
360 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
361 [Plain [Str "r2",Space,Str "d"]]
362 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
363 [Plain [Str "e"]]
364 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
365 [Plain [Str "f"]]]])]
366 (TableFoot ("",[],[])
367 [])
368,Para [Str "Spaces",Space,Str "at",Space,Str "ends",Space,Str "of",Space,Str "lines"]
369,Table ("",[],[]) (Caption Nothing
370 [])
371 [(AlignDefault,ColWidth 0.2375)
372 ,(AlignDefault,ColWidth 0.15)
373 ,(AlignDefault,ColWidth 0.1625)]
374 (TableHead ("",[],[])
375 [])
376 [(TableBody ("",[],[]) (RowHeadColumns 0)
377 []
378 [Row ("",[],[])
379 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
380 [Plain [Str "r1",Space,Str "a",SoftBreak,Str "r1",Space,Str "bis"]]
381 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
382 [Plain [Str "b",SoftBreak,Str "b",Space,Str "2"]]
383 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
384 [Plain [Str "c",SoftBreak,Str "c",Space,Str "2"]]]
385 ,Row ("",[],[])
386 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
387 [Plain [Str "r2",Space,Str "d"]]
388 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
389 [Plain [Str "e"]]
390 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
391 [Plain [Str "f"]]]])]
392 (TableFoot ("",[],[])
393 [])
394,Para [Str "Multiple",Space,Str "blocks",Space,Str "in",Space,Str "a",Space,Str "cell"]
395,Table ("",[],[]) (Caption Nothing
396 [])
397 [(AlignDefault,ColWidth 0.2375)
398 ,(AlignDefault,ColWidth 0.15)
399 ,(AlignDefault,ColWidth 0.1625)]
400 (TableHead ("",[],[])
401 [])
402 [(TableBody ("",[],[]) (RowHeadColumns 0)
403 []
404 [Row ("",[],[])
405 [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
406 [Para [Str "r1",Space,Str "a"]
407 ,Para [Str "r1",Space,Str "bis"]]
408 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
409 [BulletList
410 [[Plain [Str "b"]]
411 ,[Plain [Str "b",Space,Str "2"]]
412 ,[Plain [Str "b",Space,Str "2"]]]]
413 ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
414 [Plain [Str "c",SoftBreak,Str "c",Space,Str "2",SoftBreak,Str "c",Space,Str "2"]]]])]
415 (TableFoot ("",[],[])
416 [])
417,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
418,Para [Note [Para [Str "Note",Space,Str "with",Space,Str "one",Space,Str "line."]]]
419,Para [Note [Para [Str "Note",Space,Str "with",SoftBreak,Str "continuation",Space,Str "line."]]]
420,Para [Note [Para [Str "Note",Space,Str "with"],Para [Str "continuation",Space,Str "block."]]]
421,Para [Note [Para [Str "Note",Space,Str "with",SoftBreak,Str "continuation",Space,Str "line"],Para [Str "and",Space,Str "a",Space,Str "second",Space,Str "para."]]]
422,Para [Str "Not",Space,Str "in",Space,Str "note."]
423,Header 1 ("math",[],[]) [Str "Math"]
424,Para [Str "Some",Space,Str "inline",Space,Str "math",Space,Math InlineMath "E=mc^2",Str ".",Space,Str "Now",Space,Str "some",SoftBreak,Str "display",Space,Str "math:"]
425,Para [Math DisplayMath "E=mc^2"]
426,Para [Math DisplayMath "E = mc^2"]
427,Para [Math DisplayMath "E = mc^2",Math DisplayMath "\\alpha = \\beta"]
428,Para [Math DisplayMath "\\begin{aligned}\nE &= mc^2\\\\\nF &= \\pi E\n\\end{aligned}",Math DisplayMath "F &= \\gamma \\alpha^2"]
429,Para [Str "All",Space,Str "done."]
430,Header 1 ("default-role",[],[]) [Str "Default-Role"]
431,Para [Str "Try",Space,Str "changing",Space,Str "the",Space,Str "default",Space,Str "role",Space,Str "to",Space,Str "a",Space,Str "few",Space,Str "different",Space,Str "things."]
432,Header 2 ("doesnt-break-title-parsing",[],[]) [Str "Doesn\8217t",Space,Str "Break",Space,Str "Title",Space,Str "Parsing"]
433,Para [Str "Inline",Space,Str "math:",Space,Math InlineMath "E=mc^2",Space,Str "or",Space,Math InlineMath "E=mc^2",Space,Str "or",Space,Math InlineMath "E=mc^2",Str ".",SoftBreak,Str "Other",Space,Str "roles:",Space,Superscript [Str "super"],Str ",",Space,Subscript [Str "sub"],Str "."]
434,Para [Math DisplayMath "\\alpha = beta",Math DisplayMath "E = mc^2"]
435,Para [Str "Some",Space,Superscript [Str "of"],Space,Str "these",Space,Superscript [Str "words"],Space,Str "are",Space,Str "in",Space,Superscript [Str "superscript"],Str "."]
436,Para [Str "Reset",Space,Str "default-role",Space,Str "to",Space,Str "the",Space,Str "default",Space,Str "default."]
437,Para [Str "And",Space,Str "now",Space,Span ("",["title-ref"],[]) [Str "some-invalid-string-3231231"],Space,Str "is",Space,Str "nonsense."]
438,Para [Str "And",Space,Str "now",Space,Str "with",Space,RawInline (Format "html") "<b>inline</b> <span id=\"test\">HTML</span>",Str "."]
439,Para [Str "And",Space,Str "some",Space,Str "inline",Space,Str "haskell",Space,Code ("",["haskell"],[]) "fmap id [1,2..10]",Str "."]
440,Para [Str "Indirect",Space,Str "python",Space,Str "role",Space,Code ("",["py","python","indirect"],[]) "[x*x for x in [1,2,3,4,5]]",Str "."]
441,Para [Str "Different",Space,Str "indirect",Space,Str "C",Space,Code ("",["c","different-indirect"],[]) "int x = 15;",Str "."]
442,Header 2 ("literal-symbols",[],[]) [Str "Literal",Space,Str "symbols"]
443,Para [Str "2*2",Space,Str "=",Space,Str "4*1"]]