git.iko.soy/typeable/pandoc
on 2.0.0.1 help sign in
typeable/pandoc/test/docbook-reader.native
397 lines 27 kB history raw
1Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",SoftBreak,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[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",Space,Str "John",SoftBreak,Str "Gruber\8217s",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
3,Header 1 ("headers",[],[]) [Str "Headers"]
4,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","")]
5,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Emph [Str "emphasis"]]
6,Header 4 ("level-4",[],[]) [Str "Level",Space,Str "4"]
7,Header 5 ("level-5",[],[]) [Str "Level",Space,Str "5"]
8,Para [Str "Hi."]
9,Header 1 ("level-1",[],[]) [Str "Level",Space,Str "1"]
10,Header 2 ("level-2-with-emphasis",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Emph [Str "emphasis"]]
11,Header 3 ("level-3",[],[]) [Str "Level",Space,Str "3"]
12,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
13,Header 2 ("level-2",[],[]) [Str "Level",Space,Str "2"]
14,Para [Str "with",Space,Str "no",Space,Str "blank",Space,Str "line"]
15,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
16,Para [Str "Here\8217s",Space,Str "a",Space,Str "regular",Space,Str "paragraph."]
17,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",Space,Str "list",SoftBreak,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",Space,Str "looked",Space,Str "like",SoftBreak,Str "a",Space,Str "list",Space,Str "item."]
18,Para [Str "Here\8217s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet.",Space,Str "*",Space,Str "criminey."]
19,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
20,Para [Str "E-mail",Space,Str "style:"]
21,BlockQuote
22 [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."]]
23,BlockQuote
24 [Para [Str "Code",Space,Str "in",Space,Str "a",Space,Str "block",Space,Str "quote:"]
25 ,CodeBlock ("",[],[]) "sub status {\n print \"working\";\n}"
26 ,CodeBlock ("",[],[]) "% ls"
27 ,Para [Str "A",Space,Str "list:"]
28 ,OrderedList (1,Decimal,DefaultDelim)
29 [[Para [Str "item",Space,Str "one"]]
30 ,[Para [Str "item",Space,Str "two"]]]
31 ,Para [Str "Nested",Space,Str "block",Space,Str "quotes:"]
32 ,BlockQuote
33 [Para [Str "nested"]]
34 ,BlockQuote
35 [Para [Str "nested"]]]
36,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."]
37,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph."]
38,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
39,Para [Str "Code:"]
40,CodeBlock ("",[],[]) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
41,Para [Str "And:"]
42,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
43,Header 1 ("lists",[],[]) [Str "Lists"]
44,Header 2 ("unordered",[],[]) [Str "Unordered"]
45,Para [Str "Asterisks",Space,Str "loose:"]
46,BulletList
47 [[Para [Str "asterisk",Space,Str "1"]]
48 ,[Para [Str "asterisk",Space,Str "2"]]
49 ,[Para [Str "asterisk",Space,Str "3"]]]
50,Para [Str "Pluses",Space,Str "loose:"]
51,BulletList
52 [[Para [Str "Plus",Space,Str "1"]]
53 ,[Para [Str "Plus",Space,Str "2"]]
54 ,[Para [Str "Plus",Space,Str "3"]]]
55,Para [Str "Minuses",Space,Str "loose:"]
56,BulletList
57 [[Para [Str "Minus",Space,Str "1"]]
58 ,[Para [Str "Minus",Space,Str "2"]]
59 ,[Para [Str "Minus",Space,Str "3"]]]
60,Header 2 ("ordered",[],[]) [Str "Ordered"]
61,OrderedList (1,Decimal,DefaultDelim)
62 [[Para [Str "First"]]
63 ,[Para [Str "Second"]]
64 ,[Para [Str "Third"]]]
65,Para [Str "and",Space,Str "using",Space,Str "spaces:"]
66,OrderedList (1,Decimal,DefaultDelim)
67 [[Para [Str "One"]]
68 ,[Para [Str "Two"]]
69 ,[Para [Str "Three"]]]
70,Para [Str "Multiple",Space,Str "paragraphs:"]
71,OrderedList (1,Decimal,DefaultDelim)
72 [[Para [Str "Item",Space,Str "1,",Space,Str "graf",Space,Str "one."]
73 ,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."]]
74 ,[Para [Str "Item",Space,Str "2."]]
75 ,[Para [Str "Item",Space,Str "3."]]]
76,Header 2 ("nested",[],[]) [Str "Nested"]
77,BulletList
78 [[Para [Str "Tab"]
79 ,BulletList
80 [[Para [Str "Tab"]
81 ,BulletList
82 [[Para [Str "Tab"]]]]]]]
83,Para [Str "Here\8217s",Space,Str "another:"]
84,OrderedList (1,Decimal,DefaultDelim)
85 [[Para [Str "First"]]
86 ,[Para [Str "Second:"]
87 ,BulletList
88 [[Para [Str "Fee"]]
89 ,[Para [Str "Fie"]]
90 ,[Para [Str "Foe"]]]]
91 ,[Para [Str "Third"]]]
92,Para [Str "Same",Space,Str "thing",Space,Str "but",Space,Str "with",Space,Str "paragraphs:"]
93,OrderedList (1,Decimal,DefaultDelim)
94 [[Para [Str "First"]]
95 ,[Para [Str "Second:"]
96 ,BulletList
97 [[Para [Str "Fee"]]
98 ,[Para [Str "Fie"]]
99 ,[Para [Str "Foe"]]]]
100 ,[Para [Str "Third"]]]
101,Header 2 ("tabs-and-spaces",[],[]) [Str "Tabs",Space,Str "and",Space,Str "spaces"]
102,BulletList
103 [[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "tabs"]]
104 ,[Para [Str "this",Space,Str "is",Space,Str "a",Space,Str "list",Space,Str "item",Space,Str "indented",Space,Str "with",Space,Str "spaces"]
105 ,BulletList
106 [[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"]]
107 ,[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"]]]]]
108,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
109,OrderedList (2,Decimal,DefaultDelim)
110 [[Para [Str "begins",Space,Str "with",Space,Str "2"]]
111 ,[Para [Str "and",Space,Str "now",Space,Str "3"]
112 ,Para [Str "with",Space,Str "a",Space,Str "continuation"]
113 ,OrderedList (4,LowerRoman,DefaultDelim)
114 [[Para [Str "sublist",Space,Str "with",Space,Str "roman",Space,Str "numerals,",Space,Str "starting",Space,Str "with",Space,Str "4"]]
115 ,[Para [Str "more",Space,Str "items"]
116 ,OrderedList (1,UpperAlpha,DefaultDelim)
117 [[Para [Str "a",Space,Str "subsublist"]]
118 ,[Para [Str "a",Space,Str "subsublist"]]]]]]]
119,Para [Str "Nesting:"]
120,OrderedList (1,UpperAlpha,DefaultDelim)
121 [[Para [Str "Upper",Space,Str "Alpha"]
122 ,OrderedList (1,UpperRoman,DefaultDelim)
123 [[Para [Str "Upper",Space,Str "Roman."]
124 ,OrderedList (6,Decimal,DefaultDelim)
125 [[Para [Str "Decimal",Space,Str "start",Space,Str "with",Space,Str "6"]
126 ,OrderedList (3,LowerAlpha,DefaultDelim)
127 [[Para [Str "Lower",Space,Str "alpha",Space,Str "with",Space,Str "paren"]]]]]]]]]
128,Para [Str "Autonumbering:"]
129,OrderedList (1,Decimal,DefaultDelim)
130 [[Para [Str "Autonumber."]]
131 ,[Para [Str "More."]
132 ,OrderedList (1,Decimal,DefaultDelim)
133 [[Para [Str "Nested."]]]]]
134,Para [Str "Should",Space,Str "not",Space,Str "be",Space,Str "a",Space,Str "list",Space,Str "item:"]
135,Para [Str "M.A.\160\&2007"]
136,Para [Str "B.",Space,Str "Williams"]
137,Header 2 ("callout",[],[]) [Str "Callout"]
138,Para [Str "Simple."]
139,BulletList
140 [[Para [Str "A",Space,Code ("",[],[]) "__letrec",Space,Str "is",Space,Str "equivalent",Space,Str "to",Space,Str "a",Space,Str "normal",SoftBreak,Str "Haskell",Space,Str "LET."]]
141 ,[Para [Str "GHC",Space,Str "compiled",Space,Str "the",Space,Str "body",Space,Str "of",Space,Str "our",Space,Str "list",Space,Str "comprehension",Space,Str "into",SoftBreak,Str "a",Space,Str "loop",Space,Str "named",Space,Code ("",[],[]) "go_s1YC",Str "."]]
142 ,[Para [Str "If",Space,Str "our",Space,Str "CASE",Space,Str "expression",Space,Str "matches",Space,Str "the",Space,Str "empty",Space,Str "list,",Space,Str "we",SoftBreak,Str "return",Space,Str "the",Space,Str "empty",Space,Str "list.",Space,Str "This",Space,Str "is",Space,Str "reassuringly",SoftBreak,Str "familiar."]]]
143,Header 1 ("definition-lists",[],[]) [Str "Definition",Space,Str "Lists"]
144,DefinitionList
145 [([Str "apple"],
146 [[Para [Str "red",Space,Str "fruit"]]])
147 ,([Str "orange"],
148 [[Para [Str "orange",Space,Str "fruit"]]])
149 ,([Str "banana"],
150 [[Para [Str "yellow",Space,Str "fruit"]]])]
151,Para [Str "Multiple",Space,Str "blocks",Space,Str "with",Space,Str "italics:"]
152,DefinitionList
153 [([Emph [Str "apple"]],
154 [[Para [Str "red",Space,Str "fruit"]
155 ,Para [Str "contains",Space,Str "seeds,",Space,Str "crisp,",Space,Str "pleasant",Space,Str "to",Space,Str "taste"]]])
156 ,([Emph [Str "orange"]],
157 [[Para [Str "orange",Space,Str "fruit"]
158 ,CodeBlock ("",[],[]) "{ orange code block }"
159 ,BlockQuote
160 [Para [Str "orange",Space,Str "block",Space,Str "quote"]]]])]
161,Para [Str "Multiple",Space,Str "definitions,",Space,Str "loose:"]
162,DefinitionList
163 [([Str "apple"],
164 [[Para [Str "red",Space,Str "fruit"]]
165 ,[Para [Str "computer"]]])
166 ,([Str "orange"],
167 [[Para [Str "orange",Space,Str "fruit"]]
168 ,[Para [Str "bank"]]])]
169,Para [Str "Blank",Space,Str "line",Space,Str "after",Space,Str "term,",Space,Str "indented",Space,Str "marker,",Space,Str "alternate",Space,Str "markers:"]
170,DefinitionList
171 [([Str "apple"],
172 [[Para [Str "red",Space,Str "fruit"]]
173 ,[Para [Str "computer"]]])
174 ,([Str "orange"],
175 [[Para [Str "orange",Space,Str "fruit"]
176 ,OrderedList (1,Decimal,DefaultDelim)
177 [[Para [Str "sublist"]]
178 ,[Para [Str "sublist"]]]]])]
179,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
180,Para [Str "This",Space,Str "is",Space,Emph [Str "emphasized"],Str ",",Space,Str "and",Space,Str "so",Space,Emph [Str "is",SoftBreak,Str "this"],Str "."]
181,Para [Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",SoftBreak,Strong [Str "is",Space,Str "this"],Str "."]
182,Para [Str "An",Space,Emph [Link ("",[],[]) [Str "emphasized",Space,Str "link"] ("/url","")],Str "."]
183,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",SoftBreak,Str "em."]]]
184,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
185,Para [Strong [Emph [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",SoftBreak,Str "em."]]]
186,Para [Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word."]
187,Para [Str "This",Space,Str "is",Space,Str "code:",Space,Code ("",[],[]) ">",Str ",",Space,Code ("",[],[]) "$",Str ",",SoftBreak,Code ("",[],[]) "\\",Str ",",Space,Code ("",[],[]) "\\$",Str ",",SoftBreak,Code ("",[],[]) "<html>",Str "."]
188,Para [Str "More",Space,Str "code:",Space,Code ("",[],[]) "Class",Space,Str "and",Space,Code ("",[],[]) "Type"]
189,Para [Strikeout [Str "This",Space,Str "is",SoftBreak,Emph [Str "strikeout"],Str "."]]
190,Para [Str "Superscripts:",Space,Str "a",Superscript [Str "bc"],Str "d",SoftBreak,Str "a",Superscript [Emph [Str "hello"]],SoftBreak,Str "a",Superscript [Str "hello\160there"],Str "."]
191,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\160of\160them"],Str "O."]
192,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",Space,Str "unescaped",SoftBreak,Str "spaces:",Space,Str "a^b",Space,Str "c^d,",Space,Str "a~b",Space,Str "c~d."]
193,Header 1 ("smart-quotes-ellipses-dashes",[],[]) [Str "Smart",Space,Str "quotes,",Space,Str "ellipses,",Space,Str "dashes"]
194,Para [Quoted DoubleQuote [Str "Hello,"],Space,Str "said",Space,Str "the",Space,Str "spider.",Space,Quoted DoubleQuote [Quoted SingleQuote [Str "Shelob"],Space,Str "is",Space,Str "my",SoftBreak,Str "name."]]
195,Para [Quoted DoubleQuote [Str "A"],Str ",",Space,Quoted DoubleQuote [Str "B"],Str ",",Space,Str "and",Space,Quoted DoubleQuote [Str "C"],Space,Str "are",Space,Str "letters."]
196,Para [Quoted DoubleQuote [Str "He",Space,Str "said,",Space,Quoted SingleQuote [Str "I",Space,Str "want",Space,Str "to",Space,Str "go."]],Space,Str "Were",Space,Str "you",Space,Str "alive",Space,Str "in",Space,Str "the",SoftBreak,Str "70\8217s?"]
197,Para [Str "Some",Space,Str "dashes:",Space,Str "one\8212two",Space,Str "\8212",Space,Str "three\8212four",Space,Str "\8212",Space,Str "five."]
198,Para [Str "Dashes",Space,Str "between",Space,Str "numbers:",Space,Str "5\8211\&7,",Space,Str "255\8211\&66,",Space,Str "1987\8211\&1999."]
199,Para [Str "Ellipses\8230and\8230and\8230."]
200,Header 1 ("math",[],[]) []
201,Para [Math DisplayMath "e = mc^{2}",Math DisplayMath "1",SoftBreak,Math InlineMath "e = mc^{2}",SoftBreak,Math DisplayMath "e = mc^{2}"]
202,Header 1 ("special-characters",[],[]) [Str "Special",Space,Str "Characters"]
203,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Str "unicode:"]
204,BulletList
205 [[Para [Str "I",Space,Str "hat:",Space,Str "\206"]]
206 ,[Para [Str "o",Space,Str "umlaut:",Space,Str "\246"]]
207 ,[Para [Str "section:",Space,Str "\167"]]
208 ,[Para [Str "set",Space,Str "membership:",Space,Str "\8712"]]
209 ,[Para [Str "copyright:",Space,Str "\169"]]]
210,Para [Str "AT&T",Space,Str "has",Space,Str "an",Space,Str "ampersand",Space,Str "in",Space,Str "their",Space,Str "name."]
211,Para [Str "AT&T",Space,Str "is",Space,Str "another",Space,Str "way",Space,Str "to",Space,Str "write",Space,Str "it."]
212,Para [Str "This",Space,Str "&",Space,Str "that."]
213,Para [Str "4",Space,Str "<",Space,Str "5."]
214,Para [Str "6",Space,Str ">",Space,Str "5."]
215,Para [Str "Backslash:",Space,Str "\\"]
216,Para [Str "Backtick:",Space,Str "`"]
217,Para [Str "Asterisk:",Space,Str "*"]
218,Para [Str "Underscore:",Space,Str "_"]
219,Para [Str "Left",Space,Str "brace:",Space,Str "{"]
220,Para [Str "Right",Space,Str "brace:",Space,Str "}"]
221,Para [Str "Left",Space,Str "bracket:",Space,Str "["]
222,Para [Str "Right",Space,Str "bracket:",Space,Str "]"]
223,Para [Str "Left",Space,Str "paren:",Space,Str "("]
224,Para [Str "Right",Space,Str "paren:",Space,Str ")"]
225,Para [Str "Greater-than:",Space,Str ">"]
226,Para [Str "Hash:",Space,Str "#"]
227,Para [Str "Period:",Space,Str "."]
228,Para [Str "Bang:",Space,Str "!"]
229,Para [Str "Plus:",Space,Str "+"]
230,Para [Str "Minus:",Space,Str "-"]
231,Header 1 ("links",[],[]) [Str "Links"]
232,Header 2 ("explicit",[],[]) [Str "Explicit"]
233,Para [Str "Just",Space,Str "a",Space,Link ("",[],[]) [Str "URL"] ("/url/",""),Str "."]
234,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
235,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
236,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/",""),Str "."]
237,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","")]
238,Para [Link ("",[],[]) [Str "URL",Space,Str "and",Space,Str "title"] ("/url/","")]
239,Para [Link ("",[],[]) [Str "with_underscore"] ("/url/with_underscore","")]
240,Para [Link ("",[],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net","")]
241,Para [Link ("",[],[]) [Str "Empty"] ("",""),Str "."]
242,Header 2 ("reference",[],[]) [Str "Reference"]
243,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
244,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
245,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
246,Para [Str "With",Space,Link ("",[],[]) [Str "embedded",Space,Str "[brackets]"] ("/url/",""),Str "."]
247,Para [Link ("",[],[]) [Str "b"] ("/url/",""),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
248,Para [Str "Indented",Space,Link ("",[],[]) [Str "once"] ("/url",""),Str "."]
249,Para [Str "Indented",Space,Link ("",[],[]) [Str "twice"] ("/url",""),Str "."]
250,Para [Str "Indented",Space,Link ("",[],[]) [Str "thrice"] ("/url",""),Str "."]
251,Para [Str "This",Space,Str "should",Space,Str "[not][]",Space,Str "be",Space,Str "a",Space,Str "link."]
252,CodeBlock ("",[],[]) "[not]: /url"
253,Para [Str "Foo",Space,Link ("",[],[]) [Str "bar"] ("/url/",""),Str "."]
254,Para [Str "Foo",Space,Link ("",[],[]) [Str "biz"] ("/url/",""),Str "."]
255,Header 2 ("with-ampersands",[],[]) [Str "With",Space,Str "ampersands"]
256,Para [Str "Here\8217s",Space,Str "a",Space,Link ("",[],[]) [Str "link",Space,Str "with",Space,Str "an",SoftBreak,Str "ampersand",Space,Str "in",Space,Str "the",Space,Str "URL"] ("http://example.com/?foo=1&bar=2",""),Str "."]
257,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 "."]
258,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link"] ("/script?foo=1&bar=2",""),Str "."]
259,Para [Str "Here\8217s",Space,Str "an",Space,Link ("",[],[]) [Str "inline",Space,Str "link",Space,Str "in",Space,Str "pointy",SoftBreak,Str "braces"] ("/script?foo=1&bar=2",""),Str "."]
260,Header 2 ("autolinks",[],[]) [Str "Autolinks"]
261,Para [Str "With",Space,Str "an",Space,Str "ampersand:",SoftBreak,Link ("",[],[]) [Str "http://example.com/?foo=1&bar=2"] ("http://example.com/?foo=1&bar=2","")]
262,BulletList
263 [[Para [Str "In",Space,Str "a",Space,Str "list?"]]
264 ,[Para [Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
265 ,[Para [Str "It",Space,Str "should."]]]
266,Para [Str "An",Space,Str "e-mail",Space,Str "address:",Space,Link ("",[],[]) [Str "nobody@nowhere.net"] ("mailto:nobody@nowhere.net","")]
267,BlockQuote
268 [Para [Str "Blockquoted:",SoftBreak,Link ("",[],[]) [Str "http://example.com/"] ("http://example.com/","")]]
269,Para [Str "Auto-links",Space,Str "should",Space,Str "not",Space,Str "occur",Space,Str "here:",SoftBreak,Code ("",[],[]) "<http://example.com/>"]
270,CodeBlock ("",[],[]) "or here: <http://example.com/>"
271,Header 1 ("images",[],[]) [Str "Images"]
272,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):"]
273,Para [Image ("",[],[]) [Str "lalune",Space,Str "fig",Space,Str "caption"] ("lalune.jpg","fig:")]
274,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image ("",[],[]) [] ("movie.jpg",""),Space,Str "icon.",SoftBreak,Str "And",Space,Str "here",Space,Str "a",Space,Str "second",Space,Str "movie",Space,Image ("",[],[]) [Str "alt",Space,Str "text"] ("movie.jpg",""),Space,Str "icon.",SoftBreak,Str "And",Space,Str "here",Space,Str "a",Space,Str "third",Space,Str "movie",Space,Image ("",[],[]) [Str "alt",Space,Str "text"] ("movie.jpg",""),Space,Str "icon."]
275,Para [Image ("",[],[]) [Str "lalune",Space,Str "no",Space,Str "figure",Space,Str "alt",Space,Str "text"] ("lalune.jpg","")]
276,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
277,Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "footnote",Space,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",Space,Str "reference.",SoftBreak,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."]],Space,Str "and",Space,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",Space,Str "and",SoftBreak,Str "just",Space,Str "indent",Space,Str "the",Space,Str "first",Space,Str "line",Space,Str "of",Space,Str "each",Space,Str "block."]],Space,Str "This",Space,Str "should",Space,Emph [Str "not"],Space,Str "be",Space,Str "a",Space,Str "footnote",Space,Str "reference,",SoftBreak,Str "because",Space,Str "it",Space,Str "contains",Space,Str "a",Space,Str "space.[^my",Space,Str "note]",Space,Str "Here",Space,Str "is",Space,Str "an",Space,Str "inline",Space,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 ("",[],[]) "]",SoftBreak,Str "verbatim",Space,Str "characters,",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str "[bracketed",Space,Str "text]."]]]
278,BlockQuote
279 [Para [Str "Notes",Space,Str "can",Space,Str "go",Space,Str "in",Space,Str "quotes.",Note [Para [Str "In",Space,Str "quote."]]]]
280,OrderedList (1,Decimal,DefaultDelim)
281 [[Para [Str "And",Space,Str "in",Space,Str "list",Space,Str "items.",Note [Para [Str "In",Space,Str "list."]]]]]
282,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",Space,Str "indented."]
283,Header 1 ("tables",[],[]) [Str "Tables"]
284,Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
285,Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignRight,AlignLeft,AlignCenter,AlignLeft] [0.0,0.0,0.0,0.0]
286 [[Plain [Str "Right"]]
287 ,[Plain [Str "Left"]]
288 ,[Plain [Str "Center"]]
289 ,[Plain [Str "Default"]]]
290 [[[Plain [Str "12"]]
291 ,[Plain [Str "12"]]
292 ,[Plain [Str "12"]]
293 ,[Plain [Str "12"]]]
294 ,[[Plain [Str "123"]]
295 ,[Plain [Str "123"]]
296 ,[Plain [Str "123"]]
297 ,[Plain [Str "123"]]]
298 ,[[Plain [Str "1"]]
299 ,[Plain [Str "1"]]
300 ,[Plain [Str "1"]]
301 ,[Plain [Str "1"]]]]
302,Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
303,Table [] [AlignRight,AlignLeft,AlignCenter,AlignLeft] [0.0,0.0,0.0,0.0]
304 [[Plain [Str "Right"]]
305 ,[Plain [Str "Left"]]
306 ,[Plain [Str "Center"]]
307 ,[Plain [Str "Default"]]]
308 [[[Plain [Str "12"]]
309 ,[Plain [Str "12"]]
310 ,[Plain [Str "12"]]
311 ,[Plain [Str "12"]]]
312 ,[[Plain [Str "123"]]
313 ,[Plain [Str "123"]]
314 ,[Plain [Str "123"]]
315 ,[Plain [Str "123"]]]
316 ,[[Plain [Str "1"]]
317 ,[Plain [Str "1"]]
318 ,[Plain [Str "1"]]
319 ,[Plain [Str "1"]]]]
320,Para [Str "Simple",Space,Str "table",Space,Str "indented",Space,Str "two",Space,Str "spaces:"]
321,Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignRight,AlignLeft,AlignCenter,AlignLeft] [0.0,0.0,0.0,0.0]
322 [[Plain [Str "Right"]]
323 ,[Plain [Str "Left"]]
324 ,[Plain [Str "Center"]]
325 ,[Plain [Str "Default"]]]
326 [[[Plain [Str "12"]]
327 ,[Plain [Str "12"]]
328 ,[Plain [Str "12"]]
329 ,[Plain [Str "12"]]]
330 ,[[Plain [Str "123"]]
331 ,[Plain [Str "123"]]
332 ,[Plain [Str "123"]]
333 ,[Plain [Str "123"]]]
334 ,[[Plain [Str "1"]]
335 ,[Plain [Str "1"]]
336 ,[Plain [Str "1"]]
337 ,[Plain [Str "1"]]]]
338,Para [Str "Multiline",Space,Str "table",Space,Str "with",Space,Str "caption:"]
339,Table [Str "Here's",Space,Str "the",Space,Str "caption.",Space,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines."] [AlignCenter,AlignLeft,AlignRight,AlignLeft] [0.2,0.2,0.3,0.3]
340 [[Plain [Str "Centered",Space,Str "Header"]]
341 ,[Plain [Str "Left",Space,Str "Aligned"]]
342 ,[Plain [Str "Right",Space,Str "Aligned"]]
343 ,[Plain [Str "Default",Space,Str "aligned"]]]
344 [[[Plain [Str "First"]]
345 ,[Plain [Str "row"]]
346 ,[Plain [Str "12.0"]]
347 ,[Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
348 ,[[Plain [Str "Second"]]
349 ,[Plain [Str "row"]]
350 ,[Plain [Str "5.0"]]
351 ,[Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]]
352,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "caption:"]
353,Table [] [AlignCenter,AlignLeft,AlignRight,AlignLeft] [0.1,0.2,0.3,0.4]
354 [[Plain [Str "Centered",Space,Str "Header"]]
355 ,[Plain [Str "Left",Space,Str "Aligned"]]
356 ,[Plain [Str "Right",Space,Str "Aligned"]]
357 ,[Plain [Str "Default",Space,Str "aligned"]]]
358 [[[Plain [Str "First"]]
359 ,[Plain [Str "row"]]
360 ,[Plain [Str "12.0"]]
361 ,[Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
362 ,[[Plain [Str "Second"]]
363 ,[Plain [Str "row"]]
364 ,[Plain [Str "5.0"]]
365 ,[Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]]
366,Para [Str "Table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
367,Table [] [AlignRight,AlignLeft,AlignCenter,AlignRight] [0.0,0.0,0.0,0.0]
368 [[]
369 ,[]
370 ,[]
371 ,[]]
372 [[[Plain [Str "12"]]
373 ,[Plain [Str "12"]]
374 ,[Plain [Str "12"]]
375 ,[Plain [Str "12"]]]
376 ,[[Plain [Str "123"]]
377 ,[Plain [Str "123"]]
378 ,[Plain [Str "123"]]
379 ,[Plain [Str "123"]]]
380 ,[[Plain [Str "1"]]
381 ,[Plain [Str "1"]]
382 ,[Plain [Str "1"]]
383 ,[Plain [Str "1"]]]]
384,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
385,Table [] [AlignCenter,AlignLeft,AlignRight,AlignLeft] [0.25,0.25,0.25,0.25]
386 [[]
387 ,[]
388 ,[]
389 ,[]]
390 [[[Plain [Str "First"]]
391 ,[Plain [Str "row"]]
392 ,[Plain [Str "12.0"]]
393 ,[Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
394 ,[[Plain [Str "Second"]]
395 ,[Plain [Str "row"]]
396 ,[Plain [Str "5.0"]]
397 ,[Plain [Str "Here's",Space,Str "another",Space,Str "one.",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows."]]]]]