git.iko.soy/typeable/pandoc
on 2.1.3 help sign in
typeable/pandoc/test/latex-reader.native
375 lines 26 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"]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
2[RawBlock (Format "latex") "\\maketitle"
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,HorizontalRule
5,Header 1 ("headers",[],[]) [Str "Headers"]
6,Header 2 ("level-2-with-an-embedded-link",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link ("",[],[]) [Str "embedded",Space,Str "link"] ("/url","")]
7,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Emph [Str "emphasis"]]
8,Para [Str "Level",Space,Str "4"]
9,Para [Str "Level",Space,Str "5"]
10,Header 1 ("level-1",[],[]) [Str "Level",Space,Str "1"]
11,Header 2 ("level-2-with-emphasis",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Emph [Str "emphasis"]]
12,Header 3 ("level-3",[],[]) [Str "Level",Space,Str "3"]
13,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
14,Header 2 ("level-2",[],[]) [Str "Level",Space,Str "2"]
15,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
16,HorizontalRule
17,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
18,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
19,Para [Str "In",Space,Str "Markdown",Space,Str "1.0.0",Space,Str "and",Space,Str "earlier.",Space,Str "Version",Space,Str "8.",Space,Str "This",Space,Str "line",Space,Str "turns",Space,Str "into",Space,Str "a",SoftBreak,Str "list",Space,Str "item.",Space,Str "Because",Space,Str "a",Space,Str "hard-wrapped",Space,Str "line",Space,Str "in",Space,Str "the",Space,Str "middle",Space,Str "of",Space,Str "a",Space,Str "paragraph",SoftBreak,Str "looked",Space,Str "like",Space,Str "a",Space,Str "list",Space,Str "item."]
20,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",Space,Str "*",Space,Str "criminey."]
21,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "hard",Space,Str "line",Space,Str "break",LineBreak,Str "here."]
22,HorizontalRule
23,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
24,Para [Str "E-mail",Space,Str "style:"]
25,BlockQuote
26 [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "block",Space,Str "quote.",Space,Str "It",Space,Str "is",Space,Str "pretty",Space,Str "short."]]
27,BlockQuote
28 [Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
29 ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
30 ,Para [Str "A",Space,Str "list:"]
31 ,OrderedList (1,Decimal,Period)
32 [[Para [Str "item",Space,Str "one"]]
33 ,[Para [Str "item",Space,Str "two"]]]
34 ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
35 ,BlockQuote
36 [Para [Str "nested"]]
37 ,BlockQuote
38 [Para [Str "nested"]]]
39,Para [Str "This",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "block",Space,Str "quote:",Space,Str "2",Space,Str ">",Space,Str "1."]
40,Para [Str "Box-style:"]
41,BlockQuote
42 [Para [Str "Example:"]
43 ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"]
44,BlockQuote
45 [OrderedList (1,Decimal,Period)
46 [[Para [Str "do",Space,Str "laundry"]]
47 ,[Para [Str "take",Space,Str "out",Space,Str "the",Space,Str "trash"]]]]
48,Para [Str "Here\8217s",Space,Str "a",Space,Str "nested",Space,Str "one:"]
49,BlockQuote
50 [Para [Str "Joe",Space,Str "said:"]
51 ,BlockQuote
52 [Para [Str "Don\8217t",Space,Str "quote",Space,Str "me."]]]
53,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph."]
54,HorizontalRule
55,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
56,Para [Str "Code:"]
57,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
58,Para [Str "And:"]
59,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
60,Para [Str "this",Space,Str "has",Space,Emph [Str "two",LineBreak,Str "lines"]]
61,HorizontalRule
62,Header 1 ("lists",[],[]) [Str "Lists"]
63,Header 2 ("unordered",[],[]) [Str "Unordered"]
64,Para [Str "Asterisks",Space,Str "tight:"]
65,BulletList
66 [[Para [Str "asterisk",Space,Str "1"]]
67 ,[Para [Str "asterisk",Space,Str "2"]]
68 ,[Para [Str "asterisk",Space,Str "3"]]]
69,Para [Str "Asterisks",Space,Str "loose:"]
70,BulletList
71 [[Para [Str "asterisk",Space,Str "1"]]
72 ,[Para [Str "asterisk",Space,Str "2"]]
73 ,[Para [Str "asterisk",Space,Str "3"]]]
74,Para [Str "Pluses",Space,Str "tight:"]
75,BulletList
76 [[Para [Str "Plus",Space,Str "1"]]
77 ,[Para [Str "Plus",Space,Str "2"]]
78 ,[Para [Str "Plus",Space,Str "3"]]]
79,Para [Str "Pluses",Space,Str "loose:"]
80,BulletList
81 [[Para [Str "Plus",Space,Str "1"]]
82 ,[Para [Str "Plus",Space,Str "2"]]
83 ,[Para [Str "Plus",Space,Str "3"]]]
84,Para [Str "Minuses",Space,Str "tight:"]
85,BulletList
86 [[Para [Str "Minus",Space,Str "1"]]
87 ,[Para [Str "Minus",Space,Str "2"]]
88 ,[Para [Str "Minus",Space,Str "3"]]]
89,Para [Str "Minuses",Space,Str "loose:"]
90,BulletList
91 [[Para [Str "Minus",Space,Str "1"]]
92 ,[Para [Str "Minus",Space,Str "2"]]
93 ,[Para [Str "Minus",Space,Str "3"]]]
94,Header 2 ("ordered",[],[]) [Str "Ordered"]
95,Para [Str "Tight:"]
96,OrderedList (1,Decimal,Period)
97 [[Para [Str "First"]]
98 ,[Para [Str "Second"]]
99 ,[Para [Str "Third"]]]
100,Para [Str "and:"]
101,OrderedList (1,Decimal,Period)
102 [[Para [Str "One"]]
103 ,[Para [Str "Two"]]
104 ,[Para [Str "Three"]]]
105,Para [Str "Loose",Space,Str "using",Space,Str "tabs:"]
106,OrderedList (1,Decimal,Period)
107 [[Para [Str "First"]]
108 ,[Para [Str "Second"]]
109 ,[Para [Str "Third"]]]
110,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
111,OrderedList (1,Decimal,Period)
112 [[Para [Str "One"]]
113 ,[Para [Str "Two"]]
114 ,[Para [Str "Three"]]]
115,Para [Str "Multiple",Space,Str "paragraphs:"]
116,OrderedList (1,Decimal,Period)
117 [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
118 ,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."]]
119 ,[Para [Str "Item",Space,Str "2."]]
120 ,[Para [Str "Item",Space,Str "3."]]]
121,Header 2 ("nested",[],[]) [Str "Nested"]
122,BulletList
123 [[Para [Str "Tab"]
124 ,BulletList
125 [[Para [Str "Tab"]
126 ,BulletList
127 [[Para [Str "Tab"]]]]]]]
128,Para [Str "Here\8217s",Space,Str "another:"]
129,OrderedList (1,Decimal,Period)
130 [[Para [Str "First"]]
131 ,[Para [Str "Second:"]
132 ,BulletList
133 [[Para [Str "Fee"]]
134 ,[Para [Str "Fie"]]
135 ,[Para [Str "Foe"]]]]
136 ,[Para [Str "Third"]]]
137,Para [Str "Same",Space,Str "thing",Space,Str "but",Space,Str "with",Space,Str "paragraphs:"]
138,OrderedList (1,Decimal,Period)
139 [[Para [Str "First"]]
140 ,[Para [Str "Second:"]
141 ,BulletList
142 [[Para [Str "Fee"]]
143 ,[Para [Str "Fie"]]
144 ,[Para [Str "Foe"]]]]
145 ,[Para [Str "Third"]]]
146,Header 2 ("tabs-and-spaces",[],[]) [Str "Tabs",Space,Str "and",Space,Str "spaces"]
147,BulletList
148 [[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
149 ,[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]
150 ,BulletList
151 [[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
152 ,[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]]]]]
153,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
154,OrderedList (2,Decimal,TwoParens)
155 [[Para [Str "begins",Space,Str "with",Space,Str "2"]]
156 ,[Para [Str "and",Space,Str "now",Space,Str "3"]
157 ,Para [Str "with",Space,Str "a",Space,Str "continuation"]
158 ,OrderedList (4,LowerRoman,Period)
159 [[Para [Str "sublist",Space,Str "with",Space,Str "roman",Space,Str "numerals,",Space,Str "starting",Space,Str "with",Space,Str "4"]]
160 ,[Para [Str "more",Space,Str "items"]
161 ,OrderedList (1,UpperAlpha,TwoParens)
162 [[Para [Str "a",Space,Str "subsublist"]]
163 ,[Para [Str "a",Space,Str "subsublist"]]]]]]]
164,Para [Str "Nesting:"]
165,OrderedList (1,UpperAlpha,Period)
166 [[Para [Str "Upper",Space,Str "Alpha"]
167 ,OrderedList (1,UpperRoman,Period)
168 [[Para [Str "Upper",Space,Str "Roman."]
169 ,OrderedList (6,Decimal,TwoParens)
170 [[Para [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
171 ,OrderedList (3,LowerAlpha,OneParen)
172 [[Para [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
173,Para [Str "Autonumbering:"]
174,OrderedList (1,DefaultStyle,DefaultDelim)
175 [[Para [Str "Autonumber."]]
176 ,[Para [Str "More."]
177 ,OrderedList (1,DefaultStyle,DefaultDelim)
178 [[Para [Str "Nested."]]]]]
179,Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"]
180,Para [Str "M.A.",Space,Str "2007"]
181,Para [Str "B.",Space,Str "Williams"]
182,HorizontalRule
183,Header 1 ("definition-lists",[],[]) [Str "Definition",Space,Str "Lists"]
184,Para [Str "Tight",Space,Str "using",Space,Str "spaces:"]
185,DefinitionList
186 [([Str "apple"],
187 [[Para [Str "red",Space,Str "fruit"]]])
188 ,([Str "orange"],
189 [[Para [Str "orange",Space,Str "fruit"]]])
190 ,([Str "banana"],
191 [[Para [Str "yellow",Space,Str "fruit"]]])]
192,Para [Str "Tight",Space,Str "using",Space,Str "tabs:"]
193,DefinitionList
194 [([Str "apple"],
195 [[Para [Str "red",Space,Str "fruit"]]])
196 ,([Str "orange"],
197 [[Para [Str "orange",Space,Str "fruit"]]])
198 ,([Str "banana"],
199 [[Para [Str "yellow",Space,Str "fruit"]]])]
200,Para [Str "Loose:"]
201,DefinitionList
202 [([Str "apple"],
203 [[Para [Str "red",Space,Str "fruit"]]])
204 ,([Str "orange"],
205 [[Para [Str "orange",Space,Str "fruit"]]])
206 ,([Str "banana"],
207 [[Para [Str "yellow",Space,Str "fruit"]]])]
208,Para [Str "Multiple",Space,Str "blocks",Space,Str "with",Space,Str "italics:"]
209,DefinitionList
210 [([Emph [Str "apple"]],
211 [[Para [Str "red",Space,Str "fruit"]
212 ,Para [Str "contains",Space,Str "seeds,",Space,Str "crisp,",Space,Str "pleasant",Space,Str "to",Space,Str "taste"]]])
213 ,([Emph [Str "orange"]],
214 [[Para [Str "orange",Space,Str "fruit"]
215 ,CodeBlock ("",[],[]) "{ orange code block }"
216 ,BlockQuote
217 [Para [Str "orange",Space,Str "block",Space,Str "quote"]]]])]
218,Header 1 ("html-blocks",[],[]) [Str "HTML",Space,Str "Blocks"]
219,Para [Str "Simple",Space,Str "block",Space,Str "on",Space,Str "one",Space,Str "line:"]
220,Para [Str "foo",SoftBreak,Str "And",Space,Str "nested",Space,Str "without",Space,Str "indentation:"]
221,Para [Str "foo",SoftBreak,Str "bar",SoftBreak,Str "Interpreted",Space,Str "markdown",Space,Str "in",Space,Str "a",Space,Str "table:"]
222,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],SoftBreak,Str "And",Space,Str "this",Space,Str "is",Space,Strong [Str "strong"],SoftBreak,Str "Here\8217s",Space,Str "a",Space,Str "simple",Space,Str "block:"]
223,Para [Str "foo",SoftBreak,Str "This",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "code",Space,Str "block,",Space,Str "though:"]
224,CodeBlock ("",[],[]) "<div>\n foo\n</div>"
225,Para [Str "As",Space,Str "should",Space,Str "this:"]
226,CodeBlock ("",[],[]) "<div>foo</div>"
227,Para [Str "Now,",Space,Str "nested:"]
228,Para [Str "foo",SoftBreak,Str "This",Space,Str "should",Space,Str "just",Space,Str "be",Space,Str "an",Space,Str "HTML",Space,Str "comment:"]
229,Para [Str "Multiline:"]
230,Para [Str "Code",Space,Str "block:"]
231,CodeBlock ("",[],[]) "<!-- Comment -->"
232,Para [Str "Just",Space,Str "plain",Space,Str "comment,",Space,Str "with",Space,Str "trailing",Space,Str "spaces",Space,Str "on",Space,Str "the",Space,Str "line:"]
233,Para [Str "Code:"]
234,CodeBlock ("",[],[]) "<hr />"
235,Para [Str "Hr\8217s:"]
236,HorizontalRule
237,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
238,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",Space,Str "this"],Str "."]
239,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",Space,Strong [Str "is",Space,Str "this"],Str "."]
240,Para [Str "An",Space,Emph [Link ("",[],[]) [Str "emphasized",Space,Str "link"] ("/url","")],Str "."]
241,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
242,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
243,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em."]]]
244,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
245,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",Space,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",SoftBreak,Code ("",[],[]) "<html>",Str "."]
246,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "strikeout"],Str "."]]
247,Para [Str "Superscripts:",Space,Str "a",Superscript [Str "bc"],Str "d",SoftBreak,Str "a",Superscript [Emph [Str "hello"]],Space,Str "a",Superscript [Str "hello",Space,Str "there"],Str "."]
248,Para [Str "Subscripts:",Space,Str "H",Subscript [Str "2"],Str "O,",Space,Str "H",Subscript [Str "23"],Str "O,",SoftBreak,Str "H",Subscript [Str "many",Space,Str "of",Space,Str "them"],Str "O."]
249,Para [Str "These",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "superscripts",Space,Str "or",Space,Str "subscripts,",Space,Str "because",Space,Str "of",Space,Str "the",SoftBreak,Str "unescaped",Space,Str "spaces:",Space,Str "a^b",Space,Str "c^d,",Space,Str "a",Math InlineMath "\\sim",Str "b",SoftBreak,Str "c",Math InlineMath "\\sim",Str "d."]
250,HorizontalRule
251,Header 1 ("smart-quotes-ellipses-dashes",[],[]) [Str "Smart",Space,Str "quotes,",Space,Str "ellipses,",Space,Str "dashes"]
252,Para [Quoted DoubleQuote [Str "Hello,"],Space,Str "said",Space,Str "the",Space,Str "spider.",Space,Quoted DoubleQuote [Str "\8198",Quoted SingleQuote [Str "Shelob"],Space,Str "is",Space,Str "my",Space,Str "name."]]
253,Para [Quoted SingleQuote [Str "A"],Str ",",Space,Quoted SingleQuote [Str "B"],Str ",",Space,Str "and",Space,Quoted SingleQuote [Str "C"],Space,Str "are",Space,Str "letters."]
254,Para [Quoted SingleQuote [Str "Oak,"],Space,Quoted SingleQuote [Str "elm,"],Space,Str "and",Space,Quoted SingleQuote [Str "beech"],Space,Str "are",Space,Str "names",Space,Str "of",Space,Str "trees.",Space,Str "So",Space,Str "is",Space,Quoted SingleQuote [Str "pine."]]
255,Para [Quoted SingleQuote [Str "He",Space,Str "said,",Space,Quoted DoubleQuote [Str "I",Space,Str "want",Space,Str "to",Space,Str "go."],Str "\8198"],Space,Str "Were",Space,Str "you",Space,Str "alive",Space,Str "in",Space,Str "the",Space,Str "70\8217s?"]
256,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "quoted",Space,Quoted SingleQuote [Code ("",[],[]) "code"],Space,Str "and",Space,Str "a",SoftBreak,Quoted DoubleQuote [Link ("",[],[]) [Str "quoted",Space,Str "link"] ("http://example.com/?foo=1&bar=2","")],Str "."]
257,Para [Str "Some",Space,Str "dashes:",Space,Str "one\8212two\8212three\8212four\8212five."]
258,Para [Str "Dashes",Space,Str "between",Space,Str "numbers:",Space,Str "5\8211\&7,",Space,Str "255\8211\&66,",Space,Str "1987\8211\&1999."]
259,Para [Str "Ellipses\8230and\8230and\8230."]
260,HorizontalRule
261,Header 1 ("latex",[],[]) [Str "LaTeX"]
262,BulletList
263 [[Para [Cite [Citation {citationId = "smith.1899", citationPrefix = [], citationSuffix = [Str "22-23"], citationMode = NormalCitation, citationNoteNum = 0, citationHash = 0}] [RawInline (Format "latex") "\\cite[22-23]{smith.1899}"]]]
264 ,[RawBlock (Format "latex") "\\doublespacing"]
265 ,[Para [Math InlineMath "2+2=4"]]
266 ,[Para [Math InlineMath "x \\in y"]]
267 ,[Para [Math InlineMath "\\alpha \\wedge \\omega"]]
268 ,[Para [Math InlineMath "223"]]
269 ,[Para [Math InlineMath "p",Str "-Tree"]]
270 ,[Para [Math InlineMath "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"]]
271 ,[Para [Str "Here\8217s",Space,Str "one",Space,Str "that",Space,Str "has",Space,Str "a",Space,Str "line",Space,Str "break",Space,Str "in",Space,Str "it:",SoftBreak,Math InlineMath "\\alpha + \\omega \\times x^2",Str "."]]]
272,Para [Str "These",Space,Str "shouldn\8217t",Space,Str "be",Space,Str "math:"]
273,BulletList
274 [[Para [Str "To",Space,Str "get",Space,Str "the",Space,Str "famous",Space,Str "equation,",Space,Str "write",Space,Code ("",[],[]) "$e = mc^2$",Str "."]]
275 ,[Para [Str "$22,000",Space,Str "is",Space,Str "a",Space,Emph [Str "lot"],Space,Str "of",Space,Str "money.",Space,Str "So",Space,Str "is",Space,Str "$34,000.",Space,Str "(It",Space,Str "worked",Space,Str "if",SoftBreak,Quoted DoubleQuote [Str "lot"],Space,Str "is",Space,Str "emphasized.)"]]
276 ,[Para [Str "Escaped",Space,Code ("",[],[]) "$",Str ":",Space,Str "$73",Space,Emph [Str "this",Space,Str "should",Space,Str "be",Space,Str "emphasized"],Space,Str "23$."]]]
277,Para [Str "Here\8217s",Space,Str "a",Space,Str "LaTeX",Space,Str "table:"]
278,Table [] [AlignLeft,AlignLeft] [0.0,0.0]
279 [[Plain [Str "Animal"]]
280 ,[Plain [Str "Number"]]]
281 [[[Plain [Str "Dog"]]
282 ,[Plain [Str "2"]]]
283 ,[[Plain [Str "Cat"]]
284 ,[Plain [Str "1"]]]]
285,Para [Str "A",Space,Str "table",Space,Str "with",Space,Str "one",Space,Str "column:"]
286,Table [] [AlignCenter] [0.0]
287 [[]]
288 [[[Plain [Str "Animal"]]]
289 ,[[Plain [Str "Vegetable"]]]]
290,HorizontalRule
291,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
292,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
293,BulletList
294 [[Para [Str "I",Space,Str "hat:",Space,Str "\206"]]
295 ,[Para [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
296 ,[Para [Str "section:",Space,Str "\167"]]
297 ,[Para [Str "set",Space,Str "membership:",Space,Str "\8712"]]
298 ,[Para [Str "copyright:",Space,Str "\169"]]]
299,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
300,Para [Str "AT&T",Space,Str "is",Space,Str "another",Space,Str "way",Space,Str "to",Space,Str "write",Space,Str "it."]
301,Para [Str "This",Space,Str "&",Space,Str "that."]
302,Para [Str "4",Space,Str "<",Space,Str "5."]
303,Para [Str "6",Space,Str ">",Space,Str "5."]
304,Para [Str "Backslash:",Space,Str "\\"]
305,Para [Str "Backtick:",Space,Str "\8216"]
306,Para [Str "Asterisk:",Space,Str "*"]
307,Para [Str "Underscore:",Space,Str "_"]
308,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
309,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
310,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
311,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
312,Para [Str "Left",Space,Str "paren:",Space,Str "("]
313,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
314,Para [Str "Greater-than:",Space,Str ">"]
315,Para [Str "Hash:",Space,Str "#"]
316,Para [Str "Period:",Space,Str "."]
317,Para [Str "Bang:",Space,Str "!"]
318,Para [Str "Plus:",Space,Str "+"]
319,Para [Str "Minus:",Space,Str "-"]
320,HorizontalRule
321,Header 1 ("links",[],[]) [Str "Links"]
322,Header 2 ("explicit",[],[]) [Str "Explicit"]
323,Para [Str "Just",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
324,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
325,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
326,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
327,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","")]
328,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","")]
329,Para [Link ("",[],[]) [Str "with_underscore"] ("/url/with_underscore","")]
330,Para [Link ("",[],[]) [Str "Email",Space,Str "link"] ("mailto:nobody@nowhere.net","")]
331,Para [Link ("",[],[]) [Str "Empty"] ("",""),Str "."]
332,Header 2 ("reference",[],[]) [Str "Reference"]
333,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
334,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
335,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
336,Para [Str "With",Space,Link ("",[],[]) [Str "embedded",Space,Str "[brackets]"] ("/url/",""),Str "."]
337,Para [Link ("",[],[]) [Str "b"] ("/url/",""),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
338,Para [Str "Indented",Space,Link ("",[],[]) [Str "once"] ("/url",""),Str "."]
339,Para [Str "Indented",Space,Link ("",[],[]) [Str "twice"] ("/url",""),Str "."]
340,Para [Str "Indented",Space,Link ("",[],[]) [Str "thrice"] ("/url",""),Str "."]
341,Para [Str "This",Space,Str "should",Space,Str "[not][]",Space,Str "be",Space,Str "a",Space,Str "link."]
342,CodeBlock ("",[],[]) "[not]: /url"
343,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
344,Para [Str "Foo",Space,Link ("",[],[]) [Str "biz"] ("/url/",""),Str "."]
345,Header 2 ("with-ampersands",[],[]) [Str "With",Space,Str "ampersands"]
346,Para [Str "Here\8217s",Space,Str "a",SoftBreak,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 "."]
347,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:",SoftBreak,Link ("",[],[]) [Str "AT&T"] ("http://att.com/",""),Str "."]
348,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link"] ("/script?foo=1&bar=2",""),Str "."]
349,Para [Str "Here\8217s",Space,Str "an",SoftBreak,Link ("",[],[]) [Str "inline",Space,Str "link",Space,Str "in",Space,Str "pointy",Space,Str "braces"] ("/script?foo=1&bar=2",""),Str "."]
350,Header 2 ("autolinks",[],[]) [Str "Autolinks"]
351,Para [Str "With",Space,Str "an",Space,Str "ampersand:",Space,Link ("",[],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2","")]
352,BulletList
353 [[Para [Str "In",Space,Str "a",Space,Str "list?"]]
354 ,[Para [Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
355 ,[Para [Str "It",Space,Str "should."]]]
356,Para [Str "An",Space,Str "e-mail",Space,Str "address:",SoftBreak,Link ("",[],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net","")]
357,BlockQuote
358 [Para [Str "Blockquoted:",Space,Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
359,Para [Str "Auto-links",Space,Str "should",Space,Str "not",Space,Str "occur",Space,Str "here:",Space,Code ("",[],[]) "<http://example.com/>"]
360,CodeBlock ("",[],[]) "or here: <http://example.com/>"
361,HorizontalRule
362,Header 1 ("images",[],[]) [Str "Images"]
363,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):"]
364,Para [Image ("",[],[]) [Str "image"] ("lalune.jpg","")]
365,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [Str "image"] ("movie.jpg",""),Space,Str "icon."]
366,HorizontalRule
367,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
368,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "footnote",SoftBreak,Str "reference,",Note [Para [Str "Here",Space,Str "is",Space,Str "the",Space,Str "footnote.",Space,Str "It",Space,Str "can",Space,Str "go",Space,Str "anywhere",Space,Str "after",Space,Str "the",Space,Str "footnote",SoftBreak,Str "reference.",Space,Str "It",Space,Str "need",Space,Str "not",Space,Str "be",Space,Str "placed",Space,Str "at",Space,Str "the",Space,Str "end",Space,Str "of",Space,Str "the",Space,Str "document."]],SoftBreak,Str "and",SoftBreak,Str "another.",Note [Para [Str "Here\8217s",Space,Str "the",Space,Str "long",Space,Str "note.",Space,Str "This",Space,Str "one",Space,Str "contains",Space,Str "multiple",Space,Str "blocks."],Para [Str "Subsequent",Space,Str "blocks",Space,Str "are",Space,Str "indented",Space,Str "to",Space,Str "show",Space,Str "that",Space,Str "they",Space,Str "belong",Space,Str "to",Space,Str "the",SoftBreak,Str "footnote",Space,Str "(as",Space,Str "with",Space,Str "list",Space,Str "items)."],CodeBlock ("",[],[]) " { <code> }",Para [Str "If",Space,Str "you",Space,Str "want,",Space,Str "you",Space,Str "can",Space,Str "indent",Space,Str "every",Space,Str "line,",Space,Str "but",Space,Str "you",Space,Str "can",Space,Str "also",Space,Str "be",Space,Str "lazy",SoftBreak,Str "and",Space,Str "just",Space,Str "indent",Space,Str "the",Space,Str "first",Space,Str "line",Space,Str "of",Space,Str "each",Space,Str "block."]],SoftBreak,Str "This",Space,Str "should",Space,Emph [Str "not"],Space,Str "be",Space,Str "a",Space,Str "footnote",Space,Str "reference,",Space,Str "because",Space,Str "it",Space,Str "contains",SoftBreak,Str "a",Space,Str "space.[^my",Space,Str "note]",Space,Str "Here",Space,Str "is",Space,Str "an",Space,Str "inline",SoftBreak,Str "note.",Note [Para [Str "This",Space,Str "is",Space,Emph [Str "easier"],Space,Str "to",Space,Str "type.",Space,Str "Inline",Space,Str "notes",Space,Str "may",Space,Str "contain",SoftBreak,Link ("",[],[]) [Str "links"] ("http://google.com",""),Space,Str "and",Space,Code ("",[],[]) "]",Space,Str "verbatim",Space,Str "characters,",SoftBreak,Str "as",Space,Str "well",Space,Str "as",Space,Str "[bracketed",Space,Str "text]."]]]
369,BlockQuote
370 [Para [Str "Notes",Space,Str "can",Space,Str "go",Space,Str "in",Space,Str "quotes.",Note [Para [Str "In",Space,Str "quote."]]]]
371,OrderedList (1,Decimal,Period)
372 [[Para [Str "And",Space,Str "in",Space,Str "list",Space,Str "items.",Note [Para [Str "In",Space,Str "list."]]]]]
373,Para [Str "This",Space,Str "paragraph",Space,Str "should",Space,Str "not",Space,Str "be",Space,Str "part",Space,Str "of",Space,Str "the",Space,Str "note,",Space,Str "as",Space,Str "it",Space,Str "is",Space,Str "not",SoftBreak,Str "indented."]
374,Header 1 ("escaped-characters",[],[]) [Str "Escaped",Space,Str "characters"]
375,Para [Str "$",Space,Str "%",Space,Str "&",Space,Str "#",Space,Str "_",Space,Str "{",Space,Str "}"]]