aboutsummaryrefslogtreecommitdiff
path: root/test/vimwiki-reader.native
blob: 26388b71a39cfb25607f98a0dc5c81336782d1e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
Pandoc (Meta {unMeta = fromList [("date",MetaInlines [Str "2017-05-01"]),("title",MetaInlines [Str "title"])]})
[Header 1 ("implemented",[],[]) [Emph [Span ("implemented",[],[]) [],Strong [Str "implemented"]]]
,Header 1 ("header",[],[]) [Str "header"]
,Header 2 ("header level two",[],[]) [Str "header",Space,Str "level",Space,Str "two"]
,Header 3 ("header level 3",[],[]) [Str "header",Space,Code ("",[],[]) "level",Space,Str "3"]
,Header 4 ("header level four",[],[]) [Str "header",Space,Strikeout [Str "level"],Space,Str "four"]
,Header 5 ("header level 5",[],[]) [Str "header",Space,Emph [Span ("level",[],[]) [],Strong [Str "level"],Space,Str "5"]]
,Header 6 ("header level 6",[],[]) [Str "header",Space,Str "level",Space,Str "6"]
,Para [Str "=======",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "========"]
,Para [Str "hi==",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "=="]
,Para [Str "===",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "=="]
,Para [Str "===",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "===-"]
,Para [Str "not",Space,Str "a",Space,Str "header:"]
,Para [Str "=n="]
,Para [Str "===",Space,Str "not",Space,Str "a",Space,Str "header",Space,Str "===="]
,Header 2 ("centred header",["justcenter"],[]) [Str "centred",Space,Str "header"]
,Header 2 ("header with some == in between",[],[]) [Str "header",Space,Str "with",Space,Str "some",Space,Code ("",[],[]) "==",Space,Str "in",Space,Str "between"]
,Header 2 ("header with some == in between",[],[]) [Str "header",Space,Str "with",Space,Str "some",Space,Str "==",Space,Str "in",Space,Str "between"]
,Header 2 ("header with some ==in between",[],[]) [Str "header",Space,Str "with",Space,Str "some",Space,Str "==in",Space,Str "between"]
,Header 2 ("emph strong and strikeout",[],[]) [Str "emph",Space,Str "strong",Space,Str "and",Space,Str "strikeout"]
,Para [Emph [Str "emph"],Space,Span ("strong",[],[]) [],Strong [Str "strong"]]
,Para [Span ("strong and emph",[],[]) [],Strong [Emph [Str "strong",Space,Str "and",Space,Str "emph"]]]
,Para [Emph [Span ("emph and strong",[],[]) [],Strong [Str "emph",Space,Str "and",Space,Str "strong"]]]
,Para [Span ("emph inside strong",[],[]) [],Strong [Emph [Str "emph",Space,Str "inside"],Space,Str "strong"]]
,Para [Span ("strong with emph",[],[]) [],Strong [Str "strong",Space,Str "with",Space,Emph [Str "emph"]]]
,Para [Emph [Span ("strong inside",[],[]) [],Strong [Str "strong",Space,Str "inside"],Space,Str "emph"]]
,Para [Emph [Strikeout [Str "strikeout"],Space,Str "inside",Space,Str "emph"]]
,Para [Strikeout [Str "This",Space,Str "is",Space,Emph [Str "struck",Space,Str "out"],Space,Str "with",Space,Str "emph"]]
,Para [Str "*not",SoftBreak,Str "strong*"]
,Para [Str "just",Space,Str "two",Space,Str "stars:",Space,Str "**"]
,Para [Str "just",Space,Str "two",Space,Str "underscores:",Space,Str "__"]
,Para [Str "just",Space,Str "four",Space,Str "~s:",Space,Str "~~~~"]
,Para [Str "_not",SoftBreak,Str "emph_"]
,Para [Str "~~not",SoftBreak,Str "strikeout~~"]
,Header 2 ("horizontal rule",[],[]) [Str "horizontal",Space,Str "rule"]
,Para [Str "top"]
,HorizontalRule
,Para [Str "middle"]
,HorizontalRule
,Para [Str "not",Space,Str "a",Space,Str "rule-----"]
,Para [Str "not",Space,Str "a",Space,Str "rule",Space,Str "(trailing",Space,Str "spaces):",SoftBreak,Str "-----"]
,Para [Str "not",Space,Str "a",Space,Str "rule",Space,Str "(leading",Space,Str "spaces):",SoftBreak,Str "----"]
,Header 2 ("comments",[],[]) [Str "comments"]
,Para [Str "this",SoftBreak,Str "is",Space,Str "%%",Space,Str "not",Space,Str "secret"]
,Header 2 ("inline code",[],[]) [Str "inline",Space,Str "code"]
,Para [Str "Here",Space,Str "is",Space,Str "some",Space,Code ("",[],[]) "inline code",Str "."]
,Para [Str "Just",Space,Str "two",Space,Str "backticks:",Space,Str "``"]
,Header 2 ("preformatted text",[],[]) [Str "preformatted",Space,Str "text"]
,CodeBlock ("",[],[]) "  Tyger! Tyger! burning bright\n   In the forests of the night,\n    What immortal hand or eye\n     Could frame thy fearful symmetry?\n  In what distant deeps or skies\n   Burnt the fire of thine eyes?\n    On what wings dare he aspire?\n     What the hand dare sieze the fire?"
,Header 3 ("preformatted text with attributes",[],[]) [Str "preformatted",Space,Str "text",Space,Str "with",Space,Str "attributes"]
,CodeBlock ("",[],[("class","python"),("style","color:blue")]) " for i in range(1, 5):\n     print(i)"
,Header 2 ("block quotes",[],[]) [Str "block",Space,Str "quotes"]
,BlockQuote
 [Plain [Str "(indentation",Space,Str "4",Space,Str "spaces)",Space,Str "This",Space,Str "would",Space,Str "be",Space,Str "a",Space,Str "blockquote",Space,Str "in",Space,Str "Vimwiki.",Space,Str "It",Space,Str "is",Space,Str "not",Space,Span ("highlighted",[],[]) [],Strong [Str "highlighted"],Space,Str "in",Space,Str "Vim",Space,Str "but",SoftBreak,Str "(indentation",Space,Str "1",Space,Str "space",Space,Str "followed",Space,Str "by",Space,Str "1",Space,Str "tab",Space,Str "of",Space,Str "width",Space,Str "4)",Space,Str "could",Space,Str "be",Space,Str "styled",Space,Str "by",Space,Str "CSS",Space,Str "in",Space,Str "HTML.",Space,Str "Blockquotes",Space,Str "are",Space,Str "usually",Space,Str "used",Space,Str "to",Space,Str "quote",Space,Str "a",SoftBreak,Str "(indentation",Space,Str "1",Space,Str "tab",Space,Str "of",Space,Str "width",Space,Str "4)",Space,Str "long",Space,Str "piece",Space,Str "of",Space,Str "text",Space,Str "from",Space,Str "another",Space,Str "source.",Space,Strikeout [Str "blah",Space,Str "blah"],Space,Span ("-blockquote",[],[]) [Str ""],Span ("blockquote",["tag"],[]) [Str "blockquote"]]]
,Header 2 ("external links",[],[]) [Str "external",Space,Str "links"]
,Para [Link ("",[],[]) [Emph [Str "Google"],Space,Str "search",Space,Str "engine"] ("http://google.com","")]
,Para [Link ("",[],[]) [Str "http://pandoc.org"] ("http://pandoc.org","")]
,Para [Link ("",[],[]) [Str "ftp://vim.org"] ("ftp://vim.org","")]
,Para [Link ("",[],[]) [Str "http://google.com"] ("http://google.com","")]
,Para [Link ("",[],[]) [Str "email",Space,Str "me"] ("mailto:info@example.org","")]
,Para [Link ("",[],[]) [Str "mailto:hello@bye.com"] ("mailto:hello@bye.com","")]
,Header 2 ("internal links",[],[]) [Str "internal",Space,Str "links"]
,Para [Link ("",[],[]) [Str "This is a link"] ("This is a link.html","")]
,Para [Link ("",[],[]) [Str "Description",Space,Str "of",Space,Str "the",Space,Str "link"] ("This is a link source.html","")]
,Para [Link ("",[],[]) [Str "projects/Important Project 1"] ("projects/Important Project 1.html",""),SoftBreak,Link ("",[],[]) [Str "../index"] ("../index.html",""),SoftBreak,Link ("",[],[]) [Str "Other",Space,Str "files"] ("a subdirectory/","")]
,Para [Link ("",[],[]) [Str "try",Space,Str "me",Space,Str "to",Space,Str "test",Space,Str "tag",Space,Str "anchors"] ("#tag-one","")]
,Para [Link ("",[],[]) [Str "try",Space,Str "me",Space,Str "to",Space,Str "test",Space,Str "header",Space,Str "anchors"] ("#block quotes","")]
,Para [Link ("",[],[]) [Str "try",Space,Str "me",Space,Str "to",Space,Str "test",Space,Str "strong",Space,Str "anchors"] ("#strong","")]
,Para [Link ("",[],[]) [Str "Tasks",Space,Str "for",Space,Str "tomorrow"] ("Todo List.html#Tomorrow","")]
,Para [Link ("",[],[]) [Str "diary:2017-05-01"] ("diary/2017-05-01.html","")]
,Para [Link ("",[],[]) [Str "Important",Space,Str "Data"] ("file:../assets/data.csv","")]
,Header 3 ("links with thumbnails",[],[]) [Str "links",Space,Str "with",Space,Str "thumbnails"]
,Para [Link ("",[],[]) [Image ("",[],[]) [Str ""] ("./movie.jpg","")] ("http://www.google.com","")]
,Header 2 ("images",[],[]) [Str "images"]
,Para [Image ("",[],[]) [Str ""] ("file:./lalune.jpg","")]
,Para [Image ("",[],[]) [Str "Vimwiki"] ("http://vimwiki.googlecode.com/hg/images/vimwiki_logo.png",""),SoftBreak,Image ("",[],[]) [Str ""] ("file:./movie.jpg","")]
,Header 3 ("image with attributes",[],[]) [Str "image",Space,Str "with",Space,Str "attributes"]
,Para [Image ("",[],[("style","width:150px;height:120px;")]) [Emph [Str "cool",Space,Str "stuff"]] ("lalune.jpg","")]
,Para [Image ("",[],[("style","font-color:red")]) [Span ("Non-existing",[],[]) [],Strong [Str "Non-existing"],Space,Str "image"] ("nonexist.jpg","")]
,Para [Image ("",[],[("style","width:150px;height:120px;")]) [Emph [Str "cool",Space,Str "stuff"]] ("lalune.jpg","")]
,Header 2 ("lists",[],[]) [Str "lists"]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "ordered",Space,Str "list",Space,Str "item",Space,Str "1,",Space,Str "and",Space,Str "here",Space,Str "is",Space,Str "some",Space,Str "math",Space,Str "belonging",Space,Str "to",Space,Str "list",Space,Str "item",Space,Str "1"]
  ,Plain [Str "\\[\n a^2 + b^2 = c^2\n\\]"]
  ,Plain [Str "and",Space,Str "some",Space,Str "preformatted",Space,Str "and",Space,Str "tables",Space,Str "belonging",Space,Str "to",Space,Str "item",Space,Str "1",Space,Str "as",Space,Str "well"]
  ,CodeBlock ("",[],[]) "I'm part of item 1."
  ,Table [] [AlignDefault,AlignDefault] [0.0,0.0]
   [[]
   ,[]]
   [[[Plain [Str "this",Space,Str "table"]]
    ,[Plain [Str "is"]]]
   ,[[Plain [Str "also",Space,Str "a",Space,Str "part"]]
    ,[Plain [Str "of",Space,Str "item",Space,Str "1"]]]]
  ,Plain [Str "and",Space,Str "some",Space,Str "more",Space,Str "text",Space,Str "belonging",Space,Str "to",Space,Str "item",Space,Str "1."]]
 ,[Plain [Str "ordered",Space,Str "list",Space,Str "item",Space,Str "2"]]]
,BulletList
 [[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "2"]]]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "the",Space,Str "#",Space,Str "become",Space,Str "numbers",Space,Str "when",Space,Str "converted",Space,Str "to",Space,Str "HTML"]]]
,BulletList
 [[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "2"]]]
,BulletList
 [[Plain [Str "Item",Space,Str "1"]]
 ,[Plain [Str "Item",Space,Str "2"]
  ,OrderedList (1,DefaultStyle,DefaultDelim)
   [[Plain [Str "Sub",Space,Str "item",Space,Str "1",Space,Str "(indentation",Space,Str "4",Space,Str "spaces)",SoftBreak,Str "Sub",Space,Str "item",Space,Str "1",Space,Str "continued",Space,Str "line.",SoftBreak,Str "Sub",Space,Str "item",Space,Str "1",Space,Str "next",Space,Str "continued",Space,Str "line."]]
   ,[Plain [Str "Sub",Space,Str "item",Space,Str "2,",Space,Str "as",Space,Str "an",Space,Str "ordered",Space,Str "list",Space,Str "item",Space,Str "even",Space,Str "though",Space,Str "the",Space,Str "identifier",Space,Str "is",Space,Code ("",[],[]) "*",Space,Str "(indentation",Space,Str "2",Space,Str "spaces",Space,Str "followed",Space,Str "by",Space,Str "one",Space,Str "tab",Space,Str "of",Space,Str "width",Space,Str "4)"]]
   ,[Plain [Str "etc.",SoftBreak,Str "Continuation",Space,Str "of",Space,Str "Item",Space,Str "2",SoftBreak,Str "Next",Space,Str "continuation",Space,Str "of",Space,Str "Item",Space,Str "2"]]]]]
,Para [Str "But",Space,Str "this",Space,Str "is",Space,Str "a",Space,Str "new",Space,Str "paragraph."]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "1"]
  ,BulletList
   [[Plain [Code ("",[],[]) "1.1"]]]]
 ,[Plain [Str "2"]
  ,BulletList
   [[Plain [Str "2.1"]]]]]
,BulletList
 [[Plain [Str "3"]]]
,Header 3 ("ordered lists with non-# identifiers",[],[]) [Str "ordered",Space,Str "lists",Space,Str "with",Space,Str "non-#",Space,Str "identifiers"]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
,OrderedList (1,DefaultStyle,DefaultDelim)
 [[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "2"]]
 ,[Plain [Str "Numbered",Space,Str "list",Space,Str "item",Space,Str "3"]]]
,BulletList
 [[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "1"]]
 ,[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "2"]
  ,OrderedList (1,DefaultStyle,DefaultDelim)
   [[Plain [Str "Numbered",Space,Str "list",Space,Str "sub",Space,Str "item",Space,Str "1"]]
   ,[Plain [Str "more",Space,Str "..."]
    ,BulletList
     [[Plain [Str "and",Space,Str "more",Space,Str "..."]]
     ,[Plain [Str "..."]]]]
   ,[Plain [Str "Numbered",Space,Str "list",Space,Str "sub",Space,Str "item",Space,Str "3"]
    ,OrderedList (1,DefaultStyle,DefaultDelim)
     [[Plain [Str "Numbered",Space,Str "list",Space,Str "sub",Space,Str "sub",Space,Str "item",Space,Str "1"]]
     ,[Plain [Str "Numbered",Space,Str "list",Space,Str "sub",Space,Str "sub",Space,Str "item",Space,Str "2"]]]]
   ,[Plain [Str "etc."]]]]
 ,[Plain [Str "Bulleted",Space,Str "list",Space,Str "item",Space,Str "3"]]]
,Header 2 ("todo lists",[],[]) [Str "todo",Space,Str "lists"]
,BulletList
 [[Plain [Span ("",["done0"],[]) [],Str "task",Space,Str "1"]
  ,OrderedList (1,DefaultStyle,DefaultDelim)
   [[Plain [Span ("",["done1"],[]) [],Str "5"]]]]
 ,[Plain [Span ("",["done2"],[]) [],Str "3"]]
 ,[Plain [Str "[]",Space,Str "not",Space,Str "a",Space,Str "todo",Space,Str "item"]]
 ,[Plain [Str "[",Space,Str "]not",Space,Str "a",Space,Str "todo",Space,Str "item"]]
 ,[Plain [Str "[r]",Space,Str "not",Space,Str "a",Space,Str "todo",Space,Str "item"]]
 ,[Plain [Str "[",Space,Str "]",Space,Str "not",Space,Str "a",Space,Str "todo",Space,Str "item"]]
 ,[Plain [Span ("",["done2"],[]) [],Str "a",Space,Str "tab",Space,Str "in",Space,Str "the",Space,Str "todo",Space,Str "list",Space,Str "marker",Space,Code ("",[],[]) "[ ]"]
  ,OrderedList (1,DefaultStyle,DefaultDelim)
   [[Plain [Span ("",["done3"],[]) [],Str "4",SoftBreak,Str "5"]]
   ,[Plain [Span ("",["done4"],[]) []]
    ,Table [] [AlignDefault,AlignDefault] [0.0,0.0]
     [[]
     ,[]]
     [[[Plain [Str "a"]]
      ,[Plain [Str "b"]]]]]]]
 ,[Plain [Span ("",["done4"],[]) [],Str "task",Space,Str "2"]]]
,Header 2 ("math",[],[]) [Str "math"]
,Para [Str "\\( \\sum_i a_i^2 = 1 \\)"]
,Plain [Str "\\[\n\\sum_i a_i^2\n=\n1\n\\]"]
,Plain [Str "\\begin{align}\n\\sum_i a_i^2 &= 1 + 1 \\\\\n&= 2.\n\\end{align}"]
,Para [Str "Just",Space,Str "two",Space,Str "dollar",Space,Str "signs:",Space,Str "$$"]
,Para [Str "[not",Space,Str "math]",Space,Str "You",Space,Str "have",Space,Str "$1",SoftBreak,Str "and",Space,Str "I",Space,Str "have",Space,Str "$1."]
,Header 2 ("tags",[],[]) [Str "tags"]
,Para [Span ("-tag-one",[],[]) [Str ""],Span ("tag-one",["tag"],[]) [Str "tag-one"],Space,Span ("-tag-two",[],[]) [Str ""],Span ("tag-two",["tag"],[]) [Str "tag-two"]]
,Header 2 ("tables",[],[]) [Str "tables"]
,Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]
 [[Plain [Str "Year"]]
 ,[Plain [Str "Temperature",Space,Str "(low)"]]
 ,[Plain [Str "Temperature",Space,Str "(high)"]]]
 [[[Plain [Str "1900"]]
  ,[Plain [Str "-10"]]
  ,[Plain [Str "25"]]]
 ,[[Plain [Str "1910"]]
  ,[Plain [Str "-15"]]
  ,[Plain [Str "30"]]]
 ,[[Plain [Str "1920"]]
  ,[Plain [Str "-10"]]
  ,[Plain [Str "32"]]]
 ,[[Plain [Str "1930"]]
  ,[Plain [Emph [Str "N/A"]]]
  ,[Plain [Emph [Str "N/A"]]]]
 ,[[Plain [Str "1940"]]
  ,[Plain [Str "-2"]]
  ,[Plain [Str "40"]]]]
,Header 3 ("centered headerless tables",[],[]) [Str "centered",Space,Str "headerless",Space,Str "tables"]
,Div ("",["center"],[])
 [Table [] [AlignDefault,AlignDefault] [0.0,0.0]
  [[]
  ,[]]
  [[[Plain [Str "a"]]
   ,[Plain [Str "b"]]]
  ,[[Plain [Str "c"]]
   ,[Plain [Str "d"]]]]]
,Header 2 ("paragraphs",[],[]) [Str "paragraphs"]
,Para [Str "This",Space,Str "is",Space,Str "first",Space,Str "paragraph",SoftBreak,Str "with",Space,Str "two",Space,Str "lines."]
,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "second",Space,Str "paragraph",Space,Str "with",SoftBreak,Str "two",Space,Str "lines",Space,Str "after",Space,Str "many",Space,Str "blank",Space,Str "lines."]
,Header 2 ("definition list",[],[]) [Str "definition",Space,Str "list"]
,DefinitionList
 [([Str "Term",Space,Str "1"],
   [[Plain [Str "Definition",Space,Str "1"]]])
 ,([Str "Term",Space,Str "2"],
   [[Plain [Str "Definition",Space,Str "2"]]
   ,[Plain [Str "Definition",Space,Str "3"]]])
 ,([Str "Term",Space,Str "::",Space,Span ("separated",[],[]) [],Strong [Str "separated"],Space,Str "by",Space,Str "::",Space,Emph [Str "double",Space,Str "colons"]],
   [[Plain [Str "Def1"]]
   ,[Plain [Str "Def2"]]])
 ,([Str "Term",Space,Str "with",Space,Str "lots",Space,Str "of",Space,Str "trailing",Space,Str "colons:::::::"],
   [[Plain [Str "Definition"]]])
 ,([Str "::",Space,Str "This",Space,Str "is",Space,Str "::",Space,Str "A",Space,Str "term",Space,Str "(rather",Space,Str "than",Space,Str "a",Space,Str "definition)"],
   [[Plain [Str "and",Space,Str "this",Space,Str "is",Space,Str "a",Space,Str "definition"]]])
 ,([Str "Term",Space,Str "Without",Space,Str "definitions"],
   [[]])
 ,([Str "Part",Space,Str "::",Space,Str "of",Space,Str "::",Space,Str "dt"],
   [[Plain [Str "part",Space,Str "of",Space,Str "::dd"]]])]
,DefinitionList
 [([],
   [[Plain [Str "Definition",Space,Str "1",Space,Str "without",Space,Str "a",Space,Str "term"]]
   ,[Plain [Str "Definition",Space,Str "2",Space,Str "without",Space,Str "a",Space,Str "term"]]])]
,DefinitionList
 [([Str "T1"],
   [[Plain [Str "D1"]]])]
,Para [Str "new",Space,Str "paragraph"]
,DefinitionList
 [([Str "T1"],
   [[Plain [Str "D1"]]])]
,Para [Str "Not::Definition"]
,Para [Str "Not",Space,Str "::Definition"]
,Para [Str "::Not",Space,Str "definition"]
,BlockQuote
 [Plain [Str "::",Space,Str "blockquote"]]
,BlockQuote
 [Plain [Str "block",Space,Str "::",Space,Str "quote"]]
,Header 2 ("metadata placeholders",[],[]) [Str "metadata",Space,Str "placeholders"]
,Para [Str "%this",Space,Str "is",Space,Str "not",Space,Str "a",Space,Str "placeholder"]
,Para [Str "placeholders",SoftBreak,Str "serves",Space,Str "as",Space,Str "space",Space,Str "/",Space,Str "softbreak",Space,Str "in",Space,Str "paragraphs"]
,Header 2 ("sup, sub",[],[]) [Str "sup,",Space,Str "sub"]
,Para [Str "super",Superscript [Str "script"]]
,Para [Str "sub",Subscript [Str "script"]]
,Header 2 ("the todo mark",[],[]) [Str "the",Space,Str "todo",Space,Str "mark"]
,Para [Span ("",["todo"],[]) [Str "TODO:"]]
,Header 1 ("not implemented yet",[],[]) [Emph [Span ("not implemented yet",[],[]) [],Strong [Str "not",Space,Str "implemented",Space,Str "yet"]]]
,Header 2 ("tables with spans",[],[]) [Str "tables",Space,Str "with",Space,Str "spans"]
,Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0,0.0]
 [[]
 ,[]
 ,[]
 ,[]]
 [[[Plain [Str "a"]]
  ,[Plain [Str "b"]]
  ,[Plain [Str "c"]]
  ,[Plain [Str "d"]]]
 ,[[Plain [Str "\\/"]]
  ,[Plain [Str "e"]]
  ,[Plain [Str ">"]]
  ,[Plain [Str "f"]]]
 ,[[Plain [Str "\\/"]]
  ,[Plain [Str "\\/"]]
  ,[Plain [Str ">"]]
  ,[Plain [Str "g"]]]
 ,[[Plain [Str "h"]]
  ,[Plain [Str ">"]]
  ,[Plain [Str ">"]]
  ,[Plain [Str ">"]]]]
,Header 2 ("tables with multiple lines of headers",[],[]) [Str "tables",Space,Str "with",Space,Str "multiple",Space,Str "lines",Space,Str "of",Space,Str "headers"]
,Table [] [AlignDefault,AlignDefault] [0.0,0.0]
 [[]
 ,[]]
 [[[Plain [Str "a"]]
  ,[Plain [Str "b"]]]
 ,[[Plain [Str "c"]]
  ,[Plain [Str "d"]]]
 ,[[Plain [Str "---"]]
  ,[Plain [Str "---"]]]]
,Header 2 ("some other placeholders",[],[]) [Str "some",Space,Str "other",Space,Str "placeholders"]
,Para [Code ("",[],[]) "template",Space,Str "placeholder",Space,Str "is",Space,Str "ignored."]
,Para [Code ("",[],[]) "nohtml",Space,Str "placeholder",Space,Str "is",Space,Str "ignored."]]