@@ -1,13 +1,13 @@
11Pandoc (Meta {unMeta = fromList []})
22[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 "Textile",Space,Str "Reader",Str ".",Space,Str "Part",Space,Str "of",Space,Str "it",Space,Str "comes",LineBreak,Str "from",Space,Str "John",Space,Str "Gruber",Str "\8217",Str "s",Space,Str "markdown",Space,Str "test",Space,Str "suite",Str "."]
33,HorizontalRule
4−,Header 1 ("",[],[]) [Str "Headers"]
5−,Header 2 ("",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link [Str "embeded",Space,Str "link"] ("http://www.example.com","")]
6−,Header 3 ("",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Strong [Str "emphasis"]]
7−,Header 4 ("",[],[]) [Str "Level",Space,Str "4"]
8−,Header 5 ("",[],[]) [Str "Level",Space,Str "5"]
9−,Header 6 ("",[],[]) [Str "Level",Space,Str "6"]
10−,Header 1 ("",[],[]) [Str "Paragraphs"]
4+,Header 1 ("headers",[],[]) [Str "Headers"]
5+,Header 2 ("level-2-with-an-embeded-link",[],[]) [Str "Level",Space,Str "2",Space,Str "with",Space,Str "an",Space,Link [Str "embeded",Space,Str "link"] ("http://www.example.com","")]
6+,Header 3 ("level-3-with-emphasis",[],[]) [Str "Level",Space,Str "3",Space,Str "with",Space,Strong [Str "emphasis"]]
7+,Header 4 ("level-4",[],[]) [Str "Level",Space,Str "4"]
8+,Header 5 ("level-5",[],[]) [Str "Level",Space,Str "5"]
9+,Header 6 ("level-6",[],[]) [Str "Level",Space,Str "6"]
10+,Header 1 ("paragraphs",[],[]) [Str "Paragraphs"]
1111,Para [Str "Here",Str "\8217",Str "s",Space,Str "a",Space,Str "regular",Space,Str "paragraph",Str "."]
1212,Para [Str "Line",Space,Str "breaks",Space,Str "are",Space,Str "preserved",Space,Str "in",Space,Str "textile",Str ",",Space,Str "so",Space,Str "you",Space,Str "can",Space,Str "not",Space,Str "wrap",Space,Str "your",Space,Str "very",LineBreak,Str "long",Space,Str "paragraph",Space,Str "with",Space,Str "your",Space,Str "favourite",Space,Str "text",Space,Str "editor",Space,Str "and",Space,Str "have",Space,Str "it",Space,Str "rendered",LineBreak,Str "with",Space,Str "no",Space,Str "break",Str "."]
1313,Para [Str "Here",Str "\8217",Str "s",Space,Str "one",Space,Str "with",Space,Str "a",Space,Str "bullet",Str "."]
@@ -16,23 +16,23 @@ Pandoc (Meta {unMeta = fromList []})
1616,Para [Str "There",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "paragraph",Space,Str "break",Space,Str "between",Space,Str "here"]
1717,Para [Str "and",Space,Str "here",Str "."]
1818,Para [Str "pandoc",Space,Str "converts",Space,Str "textile",Str "."]
19−,Header 1 ("",[],[]) [Str "Block",Space,Str "Quotes"]
19+,Header 1 ("block-quotes",[],[]) [Str "Block",Space,Str "Quotes"]
2020,BlockQuote
2121 [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "famous",Space,Str "quote",Space,Str "from",Space,Str "somebody",Str ".",Space,Str "He",Space,Str "had",Space,Str "a",Space,Str "lot",Space,Str "of",Space,Str "things",Space,Str "to",LineBreak,Str "say",Str ",",Space,Str "so",Space,Str "the",Space,Str "text",Space,Str "is",Space,Str "really",Space,Str "really",Space,Str "long",Space,Str "and",Space,Str "spans",Space,Str "on",Space,Str "multiple",Space,Str "lines",Str "."]]
2222,Para [Str "And",Space,Str "a",Space,Str "following",Space,Str "paragraph",Str "."]
23−,Header 1 ("",[],[]) [Str "Code",Space,Str "Blocks"]
23+,Header 1 ("code-blocks",[],[]) [Str "Code",Space,Str "Blocks"]
2424,Para [Str "Code",Str ":"]
2525,CodeBlock ("",[],[]) " ---- (should be four hyphens)\n\n sub status {\n print \"working\";\n }\n\n this code block is indented by one tab"
2626,Para [Str "And",Str ":"]
2727,CodeBlock ("",[],[]) " this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{"
2828,CodeBlock ("",[],[]) "Code block with .bc\n continued\n @</\\\n"
2929,Para [Str "Inline",Space,Str "code",Str ":",Space,Code ("",[],[]) "<tt>",Str ",",Space,Code ("",[],[]) "@",Str "."]
30−,Header 1 ("",[],[]) [Str "Notextile"]
30+,Header 1 ("notextile",[],[]) [Str "Notextile"]
3131,Para [Str "A",Space,Str "block",Space,Str "of",Space,Str "text",Space,Str "can",Space,Str "be",Space,Str "protected",Space,Str "with",Space,Str "notextile",Space,Str ":"]
3232,Para [Str "\nNo *bold* and\n* no bullet\n"]
3333,Para [Str "and",Space,Str "inlines",Space,Str "can",Space,Str "be",Space,Str "protected",Space,Str "with",Space,Str "double *equals (=)* markup",Str "."]
34−,Header 1 ("",[],[]) [Str "Lists"]
35−,Header 2 ("",[],[]) [Str "Unordered"]
34+,Header 1 ("lists",[],[]) [Str "Lists"]
35+,Header 2 ("unordered",[],[]) [Str "Unordered"]
3636,Para [Str "Asterisks",Space,Str "tight",Str ":"]
3737,BulletList
3838 [[Plain [Str "asterisk",Space,Str "1"]]
@@ -42,13 +42,13 @@ Pandoc (Meta {unMeta = fromList []})
4242,BulletList
4343 [[Plain [Str "asterisk",Space,Str "1",LineBreak,Str "newline"]]
4444 ,[Plain [Str "asterisk",Space,Str "2"]]]
45−,Header 2 ("",[],[]) [Str "Ordered"]
45+,Header 2 ("ordered",[],[]) [Str "Ordered"]
4646,Para [Str "Tight",Str ":"]
4747,OrderedList (1,DefaultStyle,DefaultDelim)
4848 [[Plain [Str "First"]]
4949 ,[Plain [Str "Second"]]
5050 ,[Plain [Str "Third"]]]
51−,Header 2 ("",[],[]) [Str "Nested"]
51+,Header 2 ("nested",[],[]) [Str "Nested"]
5252,BulletList
5353 [[Plain [Str "ui",Space,Str "1"]
5454 ,BulletList
@@ -63,7 +63,7 @@ Pandoc (Meta {unMeta = fromList []})
6363 ,BulletList
6464 [[Plain [Str "ui",Space,Str "2",Str ".",Str "1",Str ".",Str "1"]]
6565 ,[Plain [Str "ui",Space,Str "2",Str ".",Str "1",Str ".",Str "2"]]]]]]]
66−,Header 2 ("",[],[]) [Str "Definition",Space,Str "List"]
66+,Header 2 ("definition-list",[],[]) [Str "Definition",Space,Str "List"]
6767,DefinitionList
6868 [([Str "coffee"],
6969 [[Plain [Str "Hot",Space,Str "and",Space,Str "black"]]])
@@ -74,23 +74,23 @@ Pandoc (Meta {unMeta = fromList []})
7474 ,Para [Str "Cold",Space,Str "drink",Space,Str "that",Space,Str "goes",Space,Str "great",Space,Str "with",Space,Str "cookies",Str "."]]])
7575 ,([Str "beer"],
7676 [[Plain [Str "fresh",Space,Str "and",Space,Str "bitter"]]])]
77−,Header 1 ("",[],[]) [Str "Inline",Space,Str "Markup"]
77+,Header 1 ("inline-markup",[],[]) [Str "Inline",Space,Str "Markup"]
7878,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 ".",LineBreak,Str "This",Space,Str "is",Space,Strong [Str "strong"],Str ",",Space,Str "and",Space,Str "so",Space,Strong [Str "is",Space,Str "this"],Str ".",LineBreak,Str "Hyphenated-words-are-ok",Str ",",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str "strange_underscore_notation",Str ".",LineBreak,Str "A",Space,Link [Strong [Str "strong",Space,Str "link"]] ("http://www.foobar.com",""),Str "."]
7979,Para [Emph [Strong [Str "This",Space,Str "is",Space,Str "strong",Space,Str "and",Space,Str "em",Str "."]],LineBreak,Str "So",Space,Str "is",Space,Strong [Emph [Str "this"]],Space,Str "word",Space,Str "and",Space,Emph [Strong [Str "that",Space,Str "one"]],Str ".",LineBreak,Strikeout [Str "This",Space,Str "is",Space,Str "strikeout",Space,Str "and",Space,Strong [Str "strong"]]]
8080,Para [Str "Superscripts",Str ":",Space,Str "a",Superscript [Str "bc"],Str "d",Space,Str "a",Superscript [Strong [Str "hello"]],Space,Str "a",Superscript [Str "hello",Space,Str "there"],Str ".",LineBreak,Str "Subscripts",Str ":",Space,Subscript [Str "here"],Space,Str "H",Subscript [Str "2"],Str "O",Str ",",Space,Str "H",Subscript [Str "23"],Str "O",Str ",",Space,Str "H",Subscript [Str "many",Space,Str "of",Space,Str "them"],Str "O",Str "."]
8181,Para [Str "Dashes",Space,Str ":",Space,Str "How",Space,Str "cool",Space,Str "\8212",Space,Str "automatic",Space,Str "dashes",Str "."]
8282,Para [Str "Elipses",Space,Str ":",Space,Str "He",Space,Str "thought",Space,Str "and",Space,Str "thought",Space,Str "\8230",Space,Str "and",Space,Str "then",Space,Str "thought",Space,Str "some",Space,Str "more",Str "."]
8383,Para [Str "Quotes",Space,Str "and",Space,Str "apostrophes",Space,Str ":",Space,Quoted DoubleQuote [Str "I",Str "\8217",Str "d",Space,Str "like",Space,Str "to",Space,Str "thank",Space,Str "you"],Space,Str "for",Space,Str "example",Str "."]
84−,Header 1 ("",[],[]) [Str "Links"]
85−,Header 2 ("",[],[]) [Str "Explicit"]
84+,Header 1 ("links",[],[]) [Str "Links"]
85+,Header 2 ("explicit",[],[]) [Str "Explicit"]
8686,Para [Str "Just",Space,Str "a",Space,Link [Str "url"] ("http://www.url.com","")]
8787,Para [Link [Str "Email",Space,Str "link"] ("mailto:nobody@nowhere.net","")]
8888,Para [Str "Automatic",Space,Str "linking",Space,Str "to",Space,Link [Str "http://www.example.com"] ("http://www.example.com",""),Str "."]
8989,Para [Link [Str "Example"] ("http://www.example.com/",""),Str ":",Space,Str "Example",Space,Str "of",Space,Str "a",Space,Str "link",Space,Str "followed",Space,Str "by",Space,Str "a",Space,Str "colon",Str "."]
9090,Para [Str "A",Space,Str "link",Link [Str "with",Space,Str "brackets"] ("http://www.example.com",""),Str "and",Space,Str "no",Space,Str "spaces",Str "."]
91−,Header 1 ("",[],[]) [Str "Tables"]
91+,Header 1 ("tables",[],[]) [Str "Tables"]
9292,Para [Str "Textile",Space,Str "allows",Space,Str "tables",Space,Str "with",Space,Str "and",Space,Str "without",Space,Str "headers",Space,Str ":"]
93−,Header 2 ("",[],[]) [Str "Without",Space,Str "headers"]
93+,Header 2 ("without-headers",[],[]) [Str "Without",Space,Str "headers"]
9494,Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]
9595 []
9696 [[[Plain [Str "name"]]
@@ -106,7 +106,7 @@ Pandoc (Meta {unMeta = fromList []})
106106 ,[Plain [Str "45"]]
107107 ,[Plain [Str "f"]]]]
108108,Para [Str "and",Space,Str "some",Space,Str "text",Space,Str "following",Space,Str "\8230"]
109−,Header 2 ("",[],[]) [Str "With",Space,Str "headers"]
109+,Header 2 ("with-headers",[],[]) [Str "With",Space,Str "headers"]
110110,Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]
111111 [[Plain [Str "name"]]
112112 ,[Plain [Str "age"]]
@@ -120,9 +120,9 @@ Pandoc (Meta {unMeta = fromList []})
120120 ,[[Plain [Str "bella"]]
121121 ,[Plain [Str "45"]]
122122 ,[Plain [Str "f"]]]]
123−,Header 1 ("",[],[]) [Str "Images"]
123+,Header 1 ("images",[],[]) [Str "Images"]
124124,Para [Str "Textile",Space,Str "inline",Space,Str "image",Space,Str "syntax",Str ",",Space,Str "like",Space,LineBreak,Str "here",Space,Image [Str "this is the alt text"] ("this_is_an_image.png","this is the alt text"),LineBreak,Str "and",Space,Str "here",Space,Image [Str ""] ("this_is_an_image.png",""),Str "."]
125−,Header 1 ("",[],[]) [Str "Attributes"]
125+,Header 1 ("attributes",[],[]) [Str "Attributes"]
126126,Header 2 ("ident",["bar","foo"],[("style","color:red"),("lang","en")]) [Str "HTML",Space,Str "and",Space,Str "CSS",Space,Str "attributes",Space,Str "are",Space,Str "parsed",Space,Str "in",Space,Str "headers",Str "."]
127127,Para [Str "as",Space,Str "well",Space,Str "as",Space,Strong [Str "inline",Space,Str "attributes"],Space,Str "of",Space,Str " all kind"]
128128,Para [Str "and",Space,Str "paragraph",Space,Str "attributes",Str ",",Space,Str "and",Space,Str "table",Space,Str "attributes",Str "."]
@@ -134,9 +134,9 @@ Pandoc (Meta {unMeta = fromList []})
134134 ,[[Plain [Str "joan"]]
135135 ,[Plain [Str "24"]]
136136 ,[Plain [Str "f"]]]]
137−,Header 1 ("",[],[]) [Str "Entities"]
137+,Header 1 ("entities",[],[]) [Str "Entities"]
138138,Para [Str "*",LineBreak,Str "&"]
139−,Header 1 ("",[],[]) [Str "Raw",Space,Str "HTML"]
139+,Header 1 ("raw-html",[],[]) [Str "Raw",Space,Str "HTML"]
140140,Para [Str "However",Str ",",Space,RawInline (Format "html") "<strong>",Space,Str "raw",Space,Str "HTML",Space,Str "inlines",Space,RawInline (Format "html") "</strong>",Space,Str "are",Space,Str "accepted",Str ",",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str ":"]
141141,RawBlock (Format "html") "<div class=\"foobar\">"
142142,Para [Str "any",Space,Strong [Str "Raw",Space,Str "HTML",Space,Str "Block"],Space,Str "with",Space,Str "bold"]
@@ -150,18 +150,18 @@ Pandoc (Meta {unMeta = fromList []})
150150 [[Plain [Str "this",Space,Str "<",Str "div",Str ">",Space,Str "won",Str "\8217",Str "t",Space,Str "produce",Space,Str "raw",Space,Str "html",Space,Str "blocks",Space,Str "<",Str "/div",Str ">"]]
151151 ,[Plain [Str "but",Space,Str "this",Space,RawInline (Format "html") "<strong>",Space,Str "will",Space,Str "produce",Space,Str "inline",Space,Str "html",Space,RawInline (Format "html") "</strong>"]]]
152152,Para [Str "Can",Space,Str "you",Space,Str "prove",Space,Str "that",Space,Str "2",Space,Str "<",Space,Str "3",Space,Str "?"]
153−,Header 1 ("",[],[]) [Str "Raw",Space,Str "LaTeX"]
153+,Header 1 ("raw-latex",[],[]) [Str "Raw",Space,Str "LaTeX"]
154154,Para [Str "This",Space,Str "Textile",Space,Str "reader",Space,Str "also",Space,Str "accepts",Space,Str "raw",Space,Str "LaTeX",Space,Str "for",Space,Str "blocks",Space,Str ":"]
155155,RawBlock (Format "latex") "\\begin{itemize}\n \\item one\n \\item two\n\\end{itemize}"
156156,Para [Str "and",Space,Str "for",Space,RawInline (Format "latex") "\\emph{inlines}",Str "."]
157−,Header 1 ("",[],[]) [Str "Acronyms",Space,Str "and",Space,Str "marks"]
157+,Header 1 ("acronyms-and-marks",[],[]) [Str "Acronyms",Space,Str "and",Space,Str "marks"]
158158,Para [Str "PBS (Public Broadcasting System)"]
159159,Para [Str "Hi",Str "\8482"]
160160,Para [Str "Hi",Space,Str "\8482"]
161161,Para [Str "\174",Space,Str "Hi",Str "\174"]
162162,Para [Str "Hi",Str "\169",Str "2008",Space,Str "\169",Space,Str "2008"]
163−,Header 1 ("",[],[]) [Str "Footnotes"]
163+,Header 1 ("footnotes",[],[]) [Str "Footnotes"]
164164,Para [Str "A",Space,Str "note",Str ".",Note [Para [Str "The",Space,Str "note",LineBreak,Str "is",Space,Str "here",Str "!"]],Space,Str "Another",Space,Str "note",Note [Para [Str "Other",Space,Str "note",Str "."]],Str "."]
165−,Header 1 ("",[],[]) [Str "Comment",Space,Str "blocks"]
165+,Header 1 ("comment-blocks",[],[]) [Str "Comment",Space,Str "blocks"]
166166,Null
167167,Para [Str "not",Space,Str "a",Space,Str "comment",Str "."]]