From 0bdcf415e4eff83ad8e35c1d41c8a28e0bbd5da1 Mon Sep 17 00:00:00 2001
From: John MacFarlane
hello
" - , Plain - [ Str "hi" ] - , RawBlock - ( Format "html" ) " | " - , RawBlock - ( Format "html" ) "
" + , Plain [ Str "hi" ] + , RawBlock (Format "html") " | " + , RawBlock (Format "html") "
lo
^D -[ Para [ Str "hi" ], Para [], Para [], Para [ Str "lo" ] ] +[ Para [ Str "hi" ] +, Para [] +, Para [] +, Para [ Str "lo" ] +] ``` ``` @@ -61,7 +69,7 @@lo
^D -[ Para [ Str "hi" ], Para [ Str "lo" ] ] +[ Para [ Str "hi" ] , Para [ Str "lo" ] ] ``` ``` diff --git a/test/command/gfm.md b/test/command/gfm.md index 9822b993d..78736b2d6 100644 --- a/test/command/gfm.md +++ b/test/command/gfm.md @@ -8,58 +8,66 @@ gfm tests: | orange|1.12| ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ ( AlignDefault, ColWidthDefault ), ( AlignRight, ColWidthDefault ) ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Fruit" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Price" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignRight , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "apple" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "0.13" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "orange" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "1.12" ] ] - ] + (TableHead + ( "" , [] , [] ) + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Fruit" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Price" ] ] + ] + ]) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "apple" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "0.13" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "orange" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "1.12" ] ] + ] + ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` @@ -67,7 +75,8 @@ gfm tests: % pandoc -f gfm -t native ~~stricken out~~ ^D -[ Para [ Strikeout [ Str "stricken", Space, Str "out" ] ] ] +[ Para [ Strikeout [ Str "stricken" , Space , Str "out" ] ] +] ``` ``` @@ -76,15 +85,10 @@ gfm tests: ## Header # -foo-bar_baz ^D -[ Header 1 - ( "header", [], [] ) - [ Str "Header" ] -, Header 2 - ( "header-1", [], [] ) - [ Str "Header" ] -, Header 1 - ( "-foo-bar_baz", [], [] ) - [ Str "-foo-bar_baz" ] +[ Header 1 ( "header" , [] , [] ) [ Str "Header" ] +, Header 2 ( "header-1" , [] , [] ) [ Str "Header" ] +, Header + 1 ( "-foo-bar_baz" , [] , [] ) [ Str "-foo-bar_baz" ] ] ``` @@ -93,15 +97,15 @@ gfm tests: My:thumbsup:emoji:heart: ^D [ Para - [ Str "My" - , Span - ( "", [ "emoji" ], [ ( "data-emoji", "thumbsup" ) ] ) - [ Str "\128077" ] - , Str "emoji" - , Span - ( "", [ "emoji" ], [ ( "data-emoji", "heart" ) ] ) - [ Str "\10084\65039" ] - ] + [ Str "My" + , Span + ( "" , [ "emoji" ] , [ ( "data-emoji" , "thumbsup" ) ] ) + [ Str "\128077" ] + , Str "emoji" + , Span + ( "" , [ "emoji" ] , [ ( "data-emoji" , "heart" ) ] ) + [ Str "\10084\65039" ] + ] ] ``` @@ -180,7 +184,7 @@ The caption. hi hi ^D -[ Para [ Str "hi", LineBreak, Str "hi" ] ] +[ Para [ Str "hi" , LineBreak , Str "hi" ] ] ``` ``` @@ -189,11 +193,9 @@ hi - [x] bar ^D [ BulletList - [ - [ Plain [ Str "\9744", Space, Str "foo" ] ] - , - [ Plain [ Str "\9746", Space, Str "bar" ] ] - ] + [ [ Plain [ Str "\9744" , Space , Str "foo" ] ] + , [ Plain [ Str "\9746" , Space , Str "bar" ] ] + ] ] ``` @@ -203,11 +205,10 @@ hi - [x] bar ^D [ BulletList - [ - [ Plain [ Str "[", Space, Str "]", Space, Str "foo" ] ] - , - [ Plain [ Str "[x]", Space, Str "bar" ] ] - ] + [ [ Plain [ Str "[" , Space , Str "]" , Space , Str "foo" ] + ] + , [ Plain [ Str "[x]" , Space , Str "bar" ] ] + ] ] ``` diff --git a/test/command/hspace.md b/test/command/hspace.md index 8e2d19d8b..c011f17fc 100644 --- a/test/command/hspace.md +++ b/test/command/hspace.md @@ -9,7 +9,8 @@ Here they need to be inline: \end{figure} ^D [ RawBlock - ( Format "tex" ) "\\begin{figure}\n\\includegraphics{lalune.jpg}\n\\caption{lalune \\hspace{2em} \\vspace{1em} bloo}\n\\end{figure}" + (Format "tex") + "\\begin{figure}\n\\includegraphics{lalune.jpg}\n\\caption{lalune \\hspace{2em} \\vspace{1em} bloo}\n\\end{figure}" ] ``` @@ -35,7 +36,8 @@ F & F &\\ \end{tabular} ^D [ RawBlock - ( Format "tex" ) "\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\wedge Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}\n\\hspace{1em}\n\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\vee Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}" + (Format "tex") + "\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\wedge Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}\n\\hspace{1em}\n\\begin{tabular}[t]{cc|c}\n\\(P\\) & \\(Q\\) & \\(P\\vee Q\\)\\\\\n\\hline\nT & T &\\\\\nT & F &\\\\\nF & T &\\\\\nF & F &\\\\\n\\end{tabular}" ] ``` @@ -44,7 +46,10 @@ F & F &\\ hi\hspace{1em}there ^D [ Para - [ Str "hi", RawInline ( Format "tex" ) "\\hspace{1em}", Str "there" ] + [ Str "hi" + , RawInline (Format "tex") "\\hspace{1em}" + , Str "there" + ] ] ``` @@ -56,11 +61,8 @@ hi there ^D -[ Para - [ Str "hi" ] -, RawBlock - ( Format "tex" ) "\\hspace{1em}" -, Para - [ Str "there" ] +[ Para [ Str "hi" ] +, RawBlock (Format "tex") "\\hspace{1em}" +, Para [ Str "there" ] ] ``` diff --git a/test/command/html-read-figure.md b/test/command/html-read-figure.md index 5b40c8b0d..dd9c8d9d9 100644 --- a/test/command/html-read-figure.md +++ b/test/command/html-read-figure.md @@ -6,7 +6,9 @@ ^D [ Para - [ Image ( "", [], [] ) [ Str "bar" ] ( "foo.png", "fig:voyage" ) ] + [ Image + ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" ) + ] ] ``` @@ -28,7 +30,9 @@ ^D -[ Para [ Image ( "", [], [] ) [] ( "foo.png", "fig:voyage" ) ] ] +[ Para + [ Image ( "" , [] , [] ) [] ( "foo.png" , "fig:voyage" ) ] +] ``` ``` @@ -39,7 +43,9 @@ ^D [ Para - [ Image ( "", [], [] ) [ Str "bar" ] ( "foo.png", "fig:voyage" ) ] + [ Image + ( "" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:voyage" ) + ] ] ``` @@ -48,10 +54,10 @@ ^D [ Para - [ Image - ( "", [], [] ) - [ Str "bar", Space, Strong [ Str "baz" ] ] - ( "foo.png", "fig:voyage" ) - ] + [ Image + ( "" , [] , [] ) + [ Str "bar" , Space , Strong [ Str "baz" ] ] + ( "foo.png" , "fig:voyage" ) + ] ] ``` diff --git a/test/command/html-trim-definition-list-terms.md b/test/command/html-trim-definition-list-terms.md index 6733cdd77..d2b019996 100644 --- a/test/command/html-trim-definition-list-terms.md +++ b/test/command/html-trim-definition-list-terms.md @@ -12,12 +12,14 @@ ^D [ DefinitionList - [ - ( - [ Str "foo", SoftBreak, Str "bar", LineBreak, Str "baz" ] - , - [ [ Plain [ Str "test" ] ] ] - ) - ] + [ ( [ Str "foo" + , SoftBreak + , Str "bar" + , LineBreak + , Str "baz" + ] + , [ [ Plain [ Str "test" ] ] ] + ) + ] ] ``` diff --git a/test/command/hyphenat.md b/test/command/hyphenat.md index e584e1608..ca418c111 100644 --- a/test/command/hyphenat.md +++ b/test/command/hyphenat.md @@ -30,7 +30,9 @@ C\colonhyp\bshyp{}Windows\bshyp % pandoc -f latex -t native \nohyphens{Pneumonoultramicroscopicsilicovolcanoconiosis} ^D -[ Para [ Str "Pneumonoultramicroscopicsilicovolcanoconiosis" ] ] +[ Para + [ Str "Pneumonoultramicroscopicsilicovolcanoconiosis" ] +] ``` ``` @@ -38,9 +40,10 @@ C\colonhyp\bshyp{}Windows\bshyp \textnhtt{Pneumonoultramicroscopicsilicovolcanoconiosis} ^D [ Para - [ Code - ( "", [], [] ) "Pneumonoultramicroscopicsilicovolcanoconiosis" - ] + [ Code + ( "" , [] , [] ) + "Pneumonoultramicroscopicsilicovolcanoconiosis" + ] ] ``` @@ -49,9 +52,10 @@ C\colonhyp\bshyp{}Windows\bshyp \nhttfamily{Pneumonoultramicroscopicsilicovolcanoconiosis} ^D [ Para - [ Code - ( "", [], [] ) "Pneumonoultramicroscopicsilicovolcanoconiosis" - ] + [ Code + ( "" , [] , [] ) + "Pneumonoultramicroscopicsilicovolcanoconiosis" + ] ] ``` diff --git a/test/command/ifstrequal.md b/test/command/ifstrequal.md index 6ced0f016..92fe6bf95 100644 --- a/test/command/ifstrequal.md +++ b/test/command/ifstrequal.md @@ -6,6 +6,11 @@ \h{b} ^D [ Para - [ Emph [ Str "no" ], SoftBreak, Str "\225", SoftBreak, Str "b" ] + [ Emph [ Str "no" ] + , SoftBreak + , Str "\225" + , SoftBreak + , Str "b" + ] ] ``` diff --git a/test/command/indented-fences.md b/test/command/indented-fences.md index 302c54621..12aade1a7 100644 --- a/test/command/indented-fences.md +++ b/test/command/indented-fences.md @@ -5,7 +5,7 @@ in y ``` ^D -[ CodeBlock ( "", [ "haskell" ], [] ) "let x = y\nin y" ] +[ CodeBlock ( "" , [ "haskell" ] , [] ) "let x = y\nin y" ] ````` ````` % pandoc -t native @@ -16,5 +16,7 @@ y + y ~~~ ^D -[ CodeBlock ( "", [ "haskell" ], [] ) " let x = y\nin y +\ny +\ny" ] +[ CodeBlock + ( "" , [ "haskell" ] , [] ) " let x = y\nin y +\ny +\ny" +] ````` diff --git a/test/command/input-with-endinput.md b/test/command/input-with-endinput.md index b97950d31..55d298bc4 100644 --- a/test/command/input-with-endinput.md +++ b/test/command/input-with-endinput.md @@ -8,11 +8,8 @@ Visible Visible \end{document} ^D -[ Para - [ Str "Visible" ] -, Para - [ Emph [ Str "hi", Space, Str "there" ] ] -, Para - [ Str "Visible" ] +[ Para [ Str "Visible" ] +, Para [ Emph [ Str "hi" , Space , Str "there" ] ] +, Para [ Str "Visible" ] ] ``` diff --git a/test/command/latex-center.md b/test/command/latex-center.md index 71e4fbabc..078a58068 100644 --- a/test/command/latex-center.md +++ b/test/command/latex-center.md @@ -7,6 +7,6 @@ Hello \end{center} ^D -[ Div ( "", [ "center" ], [] ) [ Para [ Str "Hello" ] ] ] +[ Div ( "" , [ "center" ] , [] ) [ Para [ Str "Hello" ] ] ] ``` diff --git a/test/command/latex-color.md b/test/command/latex-color.md index ad24528ec..a1f2c3f2a 100644 --- a/test/command/latex-color.md +++ b/test/command/latex-color.md @@ -5,12 +5,11 @@ Hello \textcolor{red}{World} ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "color: red" ) ] ) - [ Str "World" ] - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "color: red" ) ] ) [ Str "World" ] + ] ] ``` @@ -19,12 +18,11 @@ Hello \textcolor{red}{World} \textcolor{red}{Hello} World ^D [ Para - [ Span - ( "", [], [ ( "style", "color: red" ) ] ) - [ Str "Hello" ] - , Space - , Str "World" - ] + [ Span + ( "" , [] , [ ( "style" , "color: red" ) ] ) [ Str "Hello" ] + , Space + , Str "World" + ] ] ``` @@ -33,12 +31,12 @@ Hello \textcolor{red}{World} Hello \textcolor{blue}{\textbf{World}} ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "color: blue" ) ] ) - [ Strong [ Str "World" ] ] - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "color: blue" ) ] ) + [ Strong [ Str "World" ] ] + ] ] ``` @@ -48,13 +46,13 @@ Hello \textcolor{blue}{\textbf{World}} Hello \textcolor{blue}{\textbf{World}}. ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "color: blue" ) ] ) - [ Strong [ Str "World" ] ] - , Str "." - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "color: blue" ) ] ) + [ Strong [ Str "World" ] ] + , Str "." + ] ] ``` @@ -68,14 +66,12 @@ Hello \textcolor{blue}{\textbf{World}}. } ^D [ Div - ( "", [], [ ( "style", "color: orange" ) ] ) - [ BulletList - [ - [ Para [ Str "Item", Space, Str "1" ] ] - , - [ Para [ Str "Item", Space, Str "2" ] ] + ( "" , [] , [ ( "style" , "color: orange" ) ] ) + [ BulletList + [ [ Para [ Str "Item" , Space , Str "1" ] ] + , [ Para [ Str "Item" , Space , Str "2" ] ] + ] ] - ] ] ``` @@ -110,12 +106,12 @@ Hello \textcolor{blue}{\textbf{World}}. Hello \colorbox{red}{World} ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "background-color: red" ) ] ) - [ Str "World" ] - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "background-color: red" ) ] ) + [ Str "World" ] + ] ] ``` @@ -138,12 +134,12 @@ Hello \colorbox{red}{World} Hello \colorbox{blue}{\textbf{World}} ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "background-color: blue" ) ] ) - [ Strong [ Str "World" ] ] - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "background-color: blue" ) ] ) + [ Strong [ Str "World" ] ] + ] ] ``` @@ -152,13 +148,13 @@ Hello \colorbox{blue}{\textbf{World}} Hello \colorbox{blue}{\textbf{World}}. ^D [ Para - [ Str "Hello" - , Space - , Span - ( "", [], [ ( "style", "background-color: blue" ) ] ) - [ Strong [ Str "World" ] ] - , Str "." - ] + [ Str "Hello" + , Space + , Span + ( "" , [] , [ ( "style" , "background-color: blue" ) ] ) + [ Strong [ Str "World" ] ] + , Str "." + ] ] ``` @@ -174,14 +170,12 @@ Hello \colorbox{blue}{\textbf{World}}. } ^D [ Div - ( "", [], [ ( "style", "background-color: orange" ) ] ) - [ BulletList - [ - [ Para [ Str "Item", Space, Str "1" ] ] - , - [ Para [ Str "Item", Space, Str "2" ] ] + ( "" , [] , [ ( "style" , "background-color: orange" ) ] ) + [ BulletList + [ [ Para [ Str "Item" , Space , Str "1" ] ] + , [ Para [ Str "Item" , Space , Str "2" ] ] + ] ] - ] ] ``` @@ -197,15 +191,13 @@ Hello \colorbox{blue}{\textbf{World}}. } some more text ^D [ Div - ( "", [], [ ( "style", "background-color: blue" ) ] ) - [ BulletList - [ - [ Para [ Str "Item", Space, Str "1" ] ] - , - [ Para [ Str "Item", Space, Str "2" ] ] + ( "" , [] , [ ( "style" , "background-color: blue" ) ] ) + [ BulletList + [ [ Para [ Str "Item" , Space , Str "1" ] ] + , [ Para [ Str "Item" , Space , Str "2" ] ] + ] ] - ] , Para - [ Str "some", Space, Str "more", Space, Str "text" ] + [ Str "some" , Space , Str "more" , Space , Str "text" ] ] ``` diff --git a/test/command/latex-fontawesome.md b/test/command/latex-fontawesome.md index e67ed1792..18512ac72 100644 --- a/test/command/latex-fontawesome.md +++ b/test/command/latex-fontawesome.md @@ -2,12 +2,12 @@ % pandoc -f latex -t native Check: \faCheck ^D -[ Para [ Str "Check:", Space, Str "\10003" ] ] +[ Para [ Str "Check:" , Space , Str "\10003" ] ] ``` ``` % pandoc -f latex -t native Close: \faClose ^D -[ Para [ Str "Close:", Space, Str "\10007" ] ] +[ Para [ Str "Close:" , Space , Str "\10007" ] ] ``` diff --git a/test/command/latex-tabular-column-specs.md b/test/command/latex-tabular-column-specs.md index a6b820262..586fed3d1 100644 --- a/test/command/latex-tabular-column-specs.md +++ b/test/command/latex-tabular-column-specs.md @@ -12,78 +12,84 @@ f & 0.5 & 5,5 \\ \end{tabular} ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignLeft, ColWidthDefault ) - , - ( AlignLeft, ColWidthDefault ) - , - ( AlignLeft, ColWidthDefault ) - ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Math InlineMath "" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Math InlineMath "f1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Math InlineMath "f2" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) + , ( AlignLeft , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Math InlineMath "e" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Math InlineMath "0.5" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Math InlineMath "4" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Math InlineMath "f" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Math InlineMath "0.5" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Math InlineMath "5,5" ] ] - ] + (TableHead + ( "" , [] , [] ) + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Math InlineMath "" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Math InlineMath "f1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Math InlineMath "f2" ] ] + ] + ]) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Math InlineMath "e" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Math InlineMath "0.5" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Math InlineMath "4" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Math InlineMath "f" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Math InlineMath "0.5" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Math InlineMath "5,5" ] ] + ] + ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/lettrine.md b/test/command/lettrine.md index 522e9b2ca..b4a2794d2 100644 --- a/test/command/lettrine.md +++ b/test/command/lettrine.md @@ -5,22 +5,16 @@ \lettrine[lhang=0.17]{A}{category} is ^D [ Para - [ Span - ( "", [ "lettrine" ], [] ) - [ Str "A" ] - , SmallCaps - [ Str "category" ] - , Space - , Str "is" - ] + [ Span ( "" , [ "lettrine" ] , [] ) [ Str "A" ] + , SmallCaps [ Str "category" ] + , Space + , Str "is" + ] , Para - [ Span - ( "", [ "lettrine" ], [] ) - [ Str "A" ] - , SmallCaps - [ Str "category" ] - , Space - , Str "is" - ] + [ Span ( "" , [ "lettrine" ] , [] ) [ Str "A" ] + , SmallCaps [ Str "category" ] + , Space + , Str "is" + ] ] ``` diff --git a/test/command/lstlisting.md b/test/command/lstlisting.md index 202a9d524..2ea8b4ba7 100644 --- a/test/command/lstlisting.md +++ b/test/command/lstlisting.md @@ -9,17 +9,14 @@ public class World { \end{lstlisting} ^D [ CodeBlock - ( "lst:Hello-World" - , [ "java" ] - , - [ - ( "language", "Java" ) - , - ( "caption", "Java Example" ) - , - ( "label", "lst:Hello-World" ) - ] - ) "public class World {\n public static void main(String[] args) {\n System.out.println(\"Hello World\");\n }\n}" + ( "lst:Hello-World" + , [ "java" ] + , [ ( "language" , "Java" ) + , ( "caption" , "Java Example" ) + , ( "label" , "lst:Hello-World" ) + ] + ) + "public class World {\n public static void main(String[] args) {\n System.out.println(\"Hello World\");\n }\n}" ] ``` @@ -34,18 +31,14 @@ public class World { \end{lstlisting} ^D [ CodeBlock - ( "lst:Hello-World" - , [ "java" ] - , - [ - ( "language", "Java" ) - , - ( "escapechar", "|" ) - , - ( "caption", "Java Example" ) - , - ( "label", "lst:Hello-World" ) - ] - ) "public class World {\n public static void main(String[] args) {\n System.out.println(\"Hello World\");\n }\n}" + ( "lst:Hello-World" + , [ "java" ] + , [ ( "language" , "Java" ) + , ( "escapechar" , "|" ) + , ( "caption" , "Java Example" ) + , ( "label" , "lst:Hello-World" ) + ] + ) + "public class World {\n public static void main(String[] args) {\n System.out.println(\"Hello World\");\n }\n}" ] ``` diff --git a/test/command/macro-defs-in-preamble.md b/test/command/macro-defs-in-preamble.md index 57aa2cb04..7bd72d140 100644 --- a/test/command/macro-defs-in-preamble.md +++ b/test/command/macro-defs-in-preamble.md @@ -10,12 +10,9 @@ $\vara \varb$ \end{document} ^D Pandoc - ( Meta { unMeta = fromList [] } ) - [ RawBlock - ( Format "latex" ) "\\newcommand{\\vara}{\\alpha}" - , RawBlock - ( Format "latex" ) "\\newcommand{\\varb}{b}" - , Para - [ Math InlineMath "\\vara \\varb" ] + Meta { unMeta = fromList [] } + [ RawBlock (Format "latex") "\\newcommand{\\vara}{\\alpha}" + , RawBlock (Format "latex") "\\newcommand{\\varb}{b}" + , Para [ Math InlineMath "\\vara \\varb" ] ] ``` diff --git a/test/command/md-abbrevs.md b/test/command/md-abbrevs.md index 75b34c08d..a3ee6af30 100644 --- a/test/command/md-abbrevs.md +++ b/test/command/md-abbrevs.md @@ -15,6 +15,7 @@ If you don't want this to happen you can escape the period: % pandoc -t native Hi Mr\. Bob ^D -[ Para [ Str "Hi", Space, Str "Mr.", Space, Str "Bob" ] ] +[ Para [ Str "Hi" , Space , Str "Mr." , Space , Str "Bob" ] +] ``` diff --git a/test/command/multiple-metadata-blocks.md b/test/command/multiple-metadata-blocks.md index d20eecc1f..e117f3784 100644 --- a/test/command/multiple-metadata-blocks.md +++ b/test/command/multiple-metadata-blocks.md @@ -11,7 +11,9 @@ foo: bim ... ^D Pandoc - ( Meta - { unMeta = fromList [ ( "foo", MetaInlines [ Str "bim" ] ) ] } - ) [] + Meta + { unMeta = + fromList [ ( "foo" , MetaInlines [ Str "bim" ] ) ] + } + [] ``` diff --git a/test/command/refs.md b/test/command/refs.md index 165177175..d89e745ff 100644 --- a/test/command/refs.md +++ b/test/command/refs.md @@ -3,17 +3,18 @@ Figure \ref{fig:1} ^D [ Para - [ Str "Figure" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref" ), ( "reference", "fig:1" ) ] - ) - [ Str "[fig:1]" ] - ( "#fig:1", "" ) - ] + [ Str "Figure" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref" ) + , ( "reference" , "fig:1" ) + ] + ) + [ Str "[fig:1]" ] + ( "#fig:1" , "" ) + ] ] ``` @@ -22,17 +23,18 @@ Figure \ref{fig:1} Figure \cref{fig:1} ^D [ Para - [ Str "Figure" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref" ), ( "reference", "fig:1" ) ] - ) - [ Str "[fig:1]" ] - ( "#fig:1", "" ) - ] + [ Str "Figure" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref" ) + , ( "reference" , "fig:1" ) + ] + ) + [ Str "[fig:1]" ] + ( "#fig:1" , "" ) + ] ] ``` @@ -41,17 +43,18 @@ Figure \cref{fig:1} Figure \vref{fig:1} ^D [ Para - [ Str "Figure" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref+page" ), ( "reference", "fig:1" ) ] - ) - [ Str "[fig:1]" ] - ( "#fig:1", "" ) - ] + [ Str "Figure" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref+page" ) + , ( "reference" , "fig:1" ) + ] + ) + [ Str "[fig:1]" ] + ( "#fig:1" , "" ) + ] ] ``` @@ -65,36 +68,40 @@ Accuracy~\eqref{eq:Accuracy} is the proportion, measuring true results among all \end{equation} ^D [ Para - [ Str "Accuracy\160" - , Link - ( "" - , [] - , - [ ( "reference-type", "eqref" ), ( "reference", "eq:Accuracy" ) ] - ) - [ Str "[eq:Accuracy]" ] - ( "#eq:Accuracy", "" ) - , Space - , Str "is" - , Space - , Str "the" - , Space - , Str "proportion," - , Space - , Str "measuring" - , Space - , Str "true" - , Space - , Str "results" - , Space - , Str "among" - , Space - , Str "all" - , Space - , Str "results." - ] + [ Str "Accuracy\160" + , Link + ( "" + , [] + , [ ( "reference-type" , "eqref" ) + , ( "reference" , "eq:Accuracy" ) + ] + ) + [ Str "[eq:Accuracy]" ] + ( "#eq:Accuracy" , "" ) + , Space + , Str "is" + , Space + , Str "the" + , Space + , Str "proportion," + , Space + , Str "measuring" + , Space + , Str "true" + , Space + , Str "results" + , Space + , Str "among" + , Space + , Str "all" + , Space + , Str "results." + ] , Para - [ Math DisplayMath "\\label{eq:Accuracy}\n Accuracy = \\frac{t_p + t_n}{t_p + f_p + f_n + t_n}" ] + [ Math + DisplayMath + "\\label{eq:Accuracy}\n Accuracy = \\frac{t_p + t_n}{t_p + f_p + f_n + t_n}" + ] ] ``` @@ -168,93 +175,90 @@ Figure \ref{fig:Logo2} illustrated the SVG logo Figure \ref{fig:Logo3} illustrated the SVG logo ^D -[ Header 1 - ( "one", [], [] ) - [ Str "One" ] +[ Header 1 ( "one" , [] , [] ) [ Str "One" ] , Para - [ Image - ( "fig:Logo", [], [] ) - [ Str "Logo" ] - ( "command/SVG_logo.svg", "fig:" ) - ] + [ Image + ( "fig:Logo" , [] , [] ) + [ Str "Logo" ] + ( "command/SVG_logo.svg" , "fig:" ) + ] , Para - [ Image - ( "fig:Logo2", [], [] ) - [ Str "Logo2" ] - ( "command/SVG_logo2.svg", "fig:" ) - ] -, Header 1 - ( "two", [], [] ) - [ Str "Two" ] -, Header 2 - ( "subone", [], [] ) - [ Str "Subone" ] + [ Image + ( "fig:Logo2" , [] , [] ) + [ Str "Logo2" ] + ( "command/SVG_logo2.svg" , "fig:" ) + ] +, Header 1 ( "two" , [] , [] ) [ Str "Two" ] +, Header 2 ( "subone" , [] , [] ) [ Str "Subone" ] , Para - [ Image - ( "fig:Logo3", [], [] ) - [ Str "Logo3" ] - ( "command/SVG_logo3.svg", "fig:" ) - ] + [ Image + ( "fig:Logo3" , [] , [] ) + [ Str "Logo3" ] + ( "command/SVG_logo3.svg" , "fig:" ) + ] , Para - [ Str "Figure" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref" ), ( "reference", "fig:Logo" ) ] - ) - [ Str "1.1" ] - ( "#fig:Logo", "" ) - , Space - , Str "illustrated" - , Space - , Str "the" - , Space - , Str "SVG" - , Space - , Str "logo" - ] + [ Str "Figure" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref" ) + , ( "reference" , "fig:Logo" ) + ] + ) + [ Str "1.1" ] + ( "#fig:Logo" , "" ) + , Space + , Str "illustrated" + , Space + , Str "the" + , Space + , Str "SVG" + , Space + , Str "logo" + ] , Para - [ Str "Figure" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref" ), ( "reference", "fig:Logo2" ) ] - ) - [ Str "1.2" ] - ( "#fig:Logo2", "" ) - , Space - , Str "illustrated" - , Space - , Str "the" - , Space - , Str "SVG" - , Space - , Str "logo" - ] + [ Str "Figure" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref" ) + , ( "reference" , "fig:Logo2" ) + ] + ) + [ Str "1.2" ] + ( "#fig:Logo2" , "" ) + , Space + , Str "illustrated" + , Space + , Str "the" + , Space + , Str "SVG" + , Space + , Str "logo" + ] , Para - [ Str "Figure" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref" ), ( "reference", "fig:Logo3" ) ] - ) - [ Str "2.1" ] - ( "#fig:Logo3", "" ) - , Space - , Str "illustrated" - , Space - , Str "the" - , Space - , Str "SVG" - , Space - , Str "logo" - ] + [ Str "Figure" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref" ) + , ( "reference" , "fig:Logo3" ) + ] + ) + [ Str "2.1" ] + ( "#fig:Logo3" , "" ) + , Space + , Str "illustrated" + , Space + , Str "the" + , Space + , Str "SVG" + , Space + , Str "logo" + ] ] ``` @@ -264,20 +268,21 @@ Figure \ref{fig:Logo3} illustrated the SVG logo \label{section} Section \ref{section} ^D [ Para - [ Span - ( "section", [], [ ( "label", "section" ) ] ) - [ Str "[section]" ] - , Space - , Str "Section" - , Space - , Link - ( "" - , [] - , - [ ( "reference-type", "ref" ), ( "reference", "section" ) ] - ) - [ Str "[section]" ] - ( "#section", "" ) - ] + [ Span + ( "section" , [] , [ ( "label" , "section" ) ] ) + [ Str "[section]" ] + , Space + , Str "Section" + , Space + , Link + ( "" + , [] + , [ ( "reference-type" , "ref" ) + , ( "reference" , "section" ) + ] + ) + [ Str "[section]" ] + ( "#section" , "" ) + ] ] ``` diff --git a/test/command/setext-fenced-div.md b/test/command/setext-fenced-div.md index 7be49e4a7..3494cbf70 100644 --- a/test/command/setext-fenced-div.md +++ b/test/command/setext-fenced-div.md @@ -4,5 +4,5 @@ --- ::: ^D -[ Div ( "", [ "cell" ], [] ) [ HorizontalRule ] ] +[ Div ( "" , [ "cell" ] , [] ) [ HorizontalRule ] ] ``` diff --git a/test/command/shift-heading-level-by.md b/test/command/shift-heading-level-by.md index 8397e7092..1ce966989 100644 --- a/test/command/shift-heading-level-by.md +++ b/test/command/shift-heading-level-by.md @@ -9,17 +9,19 @@ title: My title ## Second ^D Pandoc - ( Meta - { unMeta = fromList - [ ( "title", MetaInlines [ Str "My", Space, Str "title" ] ) ] + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines [ Str "My" , Space , Str "title" ] + ) + ] } - ) - [ Header 2 - ( "first-heading", [], [] ) - [ Str "First", Space, Str "heading" ] - , Header 3 - ( "second", [], [] ) - [ Str "Second" ] + [ Header + 2 + ( "first-heading" , [] , [] ) + [ Str "First" , Space , Str "heading" ] + , Header 3 ( "second" , [] , [] ) [ Str "Second" ] ] ``` @@ -36,16 +38,22 @@ title: Old title # Another top-level heading ^D Pandoc - ( Meta - { unMeta = fromList - [ ( "title", MetaInlines [ Str "First", Space, Str "heading" ] ) ] + Meta + { unMeta = + fromList + [ ( "title" + , MetaInlines [ Str "First" , Space , Str "heading" ] + ) + ] } - ) - [ Header 1 - ( "second", [], [] ) - [ Str "Second" ] + [ Header 1 ( "second" , [] , [] ) [ Str "Second" ] , Para - [ Str "Another", Space, Str "top-level", Space, Str "heading" ] + [ Str "Another" + , Space + , Str "top-level" + , Space + , Str "heading" + ] ] ``` diff --git a/test/command/sloppypar.md b/test/command/sloppypar.md index 3ac62bf79..44ec93af3 100644 --- a/test/command/sloppypar.md +++ b/test/command/sloppypar.md @@ -7,109 +7,109 @@ Qui et temporibus explicabo. Esse ab ut quidem. Vel qui perspiciatis quae odio c \end{sloppypar} ^D [ Para - [ Str "Sequi" - , Space - , Str "id" - , Space - , Str "qui" - , Space - , Str "facere" - , Space - , Str "et" - , Space - , Str "incidunt" - , Space - , Str "ut." - , Space - , Str "Et" - , Space - , Str "fuga" - , Space - , Str "ut" - , Space - , Str "voluptate" - , Space - , Str "enim" - , Space - , Str "qui." - , Space - , Str "Odit" - , Space - , Str "unde" - , Space - , Str "magni" - , Space - , Str "ipsam" - , Space - , Str "dicta" - , Space - , Str "modi." - , Space - , Str "Modi" - , Space - , Str "soluta" - , Space - , Str "velit" - , Space - , Str "est" - , Space - , Str "aut" - , Space - , Str "aut" - , Space - , Str "possimus." - ] + [ Str "Sequi" + , Space + , Str "id" + , Space + , Str "qui" + , Space + , Str "facere" + , Space + , Str "et" + , Space + , Str "incidunt" + , Space + , Str "ut." + , Space + , Str "Et" + , Space + , Str "fuga" + , Space + , Str "ut" + , Space + , Str "voluptate" + , Space + , Str "enim" + , Space + , Str "qui." + , Space + , Str "Odit" + , Space + , Str "unde" + , Space + , Str "magni" + , Space + , Str "ipsam" + , Space + , Str "dicta" + , Space + , Str "modi." + , Space + , Str "Modi" + , Space + , Str "soluta" + , Space + , Str "velit" + , Space + , Str "est" + , Space + , Str "aut" + , Space + , Str "aut" + , Space + , Str "possimus." + ] , Para - [ Str "Qui" - , Space - , Str "et" - , Space - , Str "temporibus" - , Space - , Str "explicabo." - , Space - , Str "Esse" - , Space - , Str "ab" - , Space - , Str "ut" - , Space - , Str "quidem." - , Space - , Str "Vel" - , Space - , Str "qui" - , Space - , Str "perspiciatis" - , Space - , Str "quae" - , Space - , Str "odio" - , Space - , Str "consectetur" - , Space - , Str "alias" - , Space - , Str "non" - , Space - , Str "sed." - , Space - , Str "Quo" - , Space - , Str "consectetur" - , Space - , Str "libero" - , Space - , Str "omnis" - , Space - , Str "quos" - , Space - , Str "eius" - , Space - , Str "ad" - , Space - , Str "vel." - ] + [ Str "Qui" + , Space + , Str "et" + , Space + , Str "temporibus" + , Space + , Str "explicabo." + , Space + , Str "Esse" + , Space + , Str "ab" + , Space + , Str "ut" + , Space + , Str "quidem." + , Space + , Str "Vel" + , Space + , Str "qui" + , Space + , Str "perspiciatis" + , Space + , Str "quae" + , Space + , Str "odio" + , Space + , Str "consectetur" + , Space + , Str "alias" + , Space + , Str "non" + , Space + , Str "sed." + , Space + , Str "Quo" + , Space + , Str "consectetur" + , Space + , Str "libero" + , Space + , Str "omnis" + , Space + , Str "quos" + , Space + , Str "eius" + , Space + , Str "ad" + , Space + , Str "vel." + ] ] ``` @@ -122,108 +122,108 @@ Qui et temporibus explicabo. Esse ab ut quidem. Vel qui perspiciatis quae odio c \end{sloppypar} ^D [ Para - [ Str "Sequi" - , Space - , Str "id" - , Space - , Str "qui" - , Space - , Str "facere" - , Space - , Str "et" - , Space - , Str "incidunt" - , Space - , Str "ut." - , Space - , Str "Et" - , Space - , Str "fuga" - , Space - , Str "ut" - , Space - , Str "voluptate" - , Space - , Str "enim" - , Space - , Str "qui." - , Space - , Str "Odit" - , Space - , Str "unde" - , Space - , Str "magni" - , Space - , Str "ipsam" - , Space - , Str "dicta" - , Space - , Str "modi." - , Space - , Str "Modi" - , Space - , Str "soluta" - , Space - , Str "velit" - , Space - , Str "est" - , Space - , Str "aut" - , Space - , Str "aut" - , Space - , Str "possimus." - ] + [ Str "Sequi" + , Space + , Str "id" + , Space + , Str "qui" + , Space + , Str "facere" + , Space + , Str "et" + , Space + , Str "incidunt" + , Space + , Str "ut." + , Space + , Str "Et" + , Space + , Str "fuga" + , Space + , Str "ut" + , Space + , Str "voluptate" + , Space + , Str "enim" + , Space + , Str "qui." + , Space + , Str "Odit" + , Space + , Str "unde" + , Space + , Str "magni" + , Space + , Str "ipsam" + , Space + , Str "dicta" + , Space + , Str "modi." + , Space + , Str "Modi" + , Space + , Str "soluta" + , Space + , Str "velit" + , Space + , Str "est" + , Space + , Str "aut" + , Space + , Str "aut" + , Space + , Str "possimus." + ] , Para - [ Str "Qui" - , Space - , Str "et" - , Space - , Str "temporibus" - , Space - , Str "explicabo." - , Space - , Str "Esse" - , Space - , Str "ab" - , Space - , Str "ut" - , Space - , Str "quidem." - , Space - , Str "Vel" - , Space - , Str "qui" - , Space - , Str "perspiciatis" - , Space - , Str "quae" - , Space - , Str "odio" - , Space - , Str "consectetur" - , Space - , Str "alias" - , Space - , Str "non" - , Space - , Str "sed." - , Space - , Str "Quo" - , Space - , Str "consectetur" - , Space - , Str "libero" - , Space - , Str "omnis" - , Space - , Str "quos" - , Space - , Str "eius" - , Space - , Str "ad" - , Space - , Str "vel." - ] + [ Str "Qui" + , Space + , Str "et" + , Space + , Str "temporibus" + , Space + , Str "explicabo." + , Space + , Str "Esse" + , Space + , Str "ab" + , Space + , Str "ut" + , Space + , Str "quidem." + , Space + , Str "Vel" + , Space + , Str "qui" + , Space + , Str "perspiciatis" + , Space + , Str "quae" + , Space + , Str "odio" + , Space + , Str "consectetur" + , Space + , Str "alias" + , Space + , Str "non" + , Space + , Str "sed." + , Space + , Str "Quo" + , Space + , Str "consectetur" + , Space + , Str "libero" + , Space + , Str "omnis" + , Space + , Str "quos" + , Space + , Str "eius" + , Space + , Str "ad" + , Space + , Str "vel." + ] ] ``` diff --git a/test/command/table-with-cell-align.md b/test/command/table-with-cell-align.md index 9b6e311bd..ccf119cbd 100644 --- a/test/command/table-with-cell-align.md +++ b/test/command/table-with-cell-align.md @@ -14,47 +14,48 @@ ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignDefault, ColWidthDefault ) - , - ( AlignDefault, ColWidthDefault ) - , - ( AlignDefault, ColWidthDefault ) - , - ( AlignDefault, ColWidthDefault ) - ] - ( TableHead ( "", [], [] ) [] ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "1" ] ] - , Cell - ( "", [], [] ) AlignLeft - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "2" ] ] - , Cell - ( "", [], [] ) AlignRight - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "3" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "4" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableHead ( "" , [] , [] ) []) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "1" ] ] + , Cell + ( "" , [] , [] ) + AlignLeft + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "2" ] ] + , Cell + ( "" , [] , [] ) + AlignRight + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "3" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "4" ] ] + ] + ] + ] + (TableFoot ( "" , [] , [] ) []) ] ``` ``` diff --git a/test/command/table-with-column-span.md b/test/command/table-with-column-span.md index 592e6d3da..d4e8bebd4 100644 --- a/test/command/table-with-column-span.md +++ b/test/command/table-with-column-span.md @@ -50,161 +50,180 @@ ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - , - ( AlignDefault, ColWidth 6.25 e- 2 ) - ] - ( TableHead ( "", [], [] ) [] ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 8 ) - [ Para - [ Strong [ Str "Octet", Space, Str "no.", Space, Str "1" ] ] - ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 8 ) - [ Para - [ Strong [ Str "Octet", Space, Str "no.", Space, Str "2" ] ] - ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "16" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "15" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "14" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "13" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "12" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "11" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "10" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "9" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "8" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "7" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "6" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "5" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "4" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "3" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "2" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Para [ Str "1" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 8 ) - [ Para [ Str "Code", Space, Str "A" ] ] - , Cell - ( "", [], [] ) AlignCenter - ( RowSpan 1 ) - ( ColSpan 8 ) - [ Para [ Str "Code", Space, Str "B" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) + , ( AlignDefault , ColWidth 6.25e-2 ) ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableHead ( "" , [] , [] ) []) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 8) + [ Para + [ Strong + [ Str "Octet" + , Space + , Str "no." + , Space + , Str "1" + ] + ] + ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 8) + [ Para + [ Strong + [ Str "Octet" + , Space + , Str "no." + , Space + , Str "2" + ] + ] + ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "16" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "15" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "14" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "13" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "12" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "11" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "10" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "9" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "8" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "7" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "6" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "5" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "4" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "3" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "2" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 1) + [ Para [ Str "1" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 8) + [ Para [ Str "Code" , Space , Str "A" ] ] + , Cell + ( "" , [] , [] ) + AlignCenter + (RowSpan 1) + (ColSpan 8) + [ Para [ Str "Code" , Space , Str "B" ] ] + ] + ] + ] + (TableFoot ( "" , [] , [] ) []) ] ``` ``` diff --git a/test/command/tabularx.md b/test/command/tabularx.md index a5056f518..399741732 100644 --- a/test/command/tabularx.md +++ b/test/command/tabularx.md @@ -21,97 +21,127 @@ \end{tabularx} ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignCenter, ColWidthDefault ) - , - ( AlignCenter, ColWidthDefault ) - , - ( AlignCenter, ColWidthDefault ) - ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Column", Space, Str "Heading", Space, Str "1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Column", Space, Str "Heading", Space, Str "2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Column", Space, Str "Heading", Space, Str "3" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "1.1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "1.2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "1.3" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "2.1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "2.2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "2.3" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "3.1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "3.2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "3.3" ] ] - ] + (TableHead + ( "" , [] , [] ) + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Column" + , Space + , Str "Heading" + , Space + , Str "1" + ] + ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Column" + , Space + , Str "Heading" + , Space + , Str "2" + ] + ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Column" + , Space + , Str "Heading" + , Space + , Str "3" + ] + ] + ] + ]) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1.1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1.2" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1.3" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "2.1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "2.2" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "2.3" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "3.1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "3.2" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "3.3" ] ] + ] + ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` @@ -138,97 +168,127 @@ \end{tabularx} ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignLeft, ColWidthDefault ) - , - ( AlignCenter, ColWidthDefault ) - , - ( AlignLeft, ColWidth 0.25 ) - ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Column", Space, Str "Heading", Space, Str "1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Column", Space, Str "Heading", Space, Str "2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Column", Space, Str "Heading", Space, Str "3" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidthDefault ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignLeft , ColWidth 0.25 ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "1.1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "1.2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "1.3" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "2.1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "2.2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "2.3" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "3.1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "3.2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "3.3" ] ] - ] + (TableHead + ( "" , [] , [] ) + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Column" + , Space + , Str "Heading" + , Space + , Str "1" + ] + ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Column" + , Space + , Str "Heading" + , Space + , Str "2" + ] + ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Column" + , Space + , Str "Heading" + , Space + , Str "3" + ] + ] + ] + ]) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1.1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1.2" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1.3" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "2.1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "2.2" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "2.3" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "3.1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "3.2" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "3.3" ] ] + ] + ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` @@ -255,96 +315,126 @@ \end{tabularx} ^D [ Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignLeft, ColWidth 0.25 ) - , - ( AlignCenter, ColWidthDefault ) - , - ( AlignLeft, ColWidth 0.25 ) - ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Column", Space, Str "Heading", Space, Str "1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Column", Space, Str "Heading", Space, Str "2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Column", Space, Str "Heading", Space, Str "3" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignLeft , ColWidth 0.25 ) + , ( AlignCenter , ColWidthDefault ) + , ( AlignLeft , ColWidth 0.25 ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "1.1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "1.2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "1.3" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "2.1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "2.2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "2.3" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "3.1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "3.2" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Cell", Space, Str "3.3" ] ] - ] + (TableHead + ( "" , [] , [] ) + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Column" + , Space + , Str "Heading" + , Space + , Str "1" + ] + ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Column" + , Space + , Str "Heading" + , Space + , Str "2" + ] + ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Column" + , Space + , Str "Heading" + , Space + , Str "3" + ] + ] + ] + ]) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1.1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1.2" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "1.3" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "2.1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "2.2" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "2.3" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "3.1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "3.2" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Cell" , Space , Str "3.3" ] ] + ] + ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) ] ``` diff --git a/test/command/translations.md b/test/command/translations.md index 26d683860..8d1890467 100644 --- a/test/command/translations.md +++ b/test/command/translations.md @@ -25,5 +25,5 @@ \figurename~2 \figurename. ^D -[ Para [ Str "Slika\160\&2", SoftBreak, Str "Slika." ] ] +[ Para [ Str "Slika\160\&2" , SoftBreak , Str "Slika." ] ] ``` diff --git a/test/command/write18.md b/test/command/write18.md index 45c7e0dd3..4a3f10b85 100644 --- a/test/command/write18.md +++ b/test/command/write18.md @@ -3,12 +3,12 @@ Handle \write18{..} as raw tex: % pandoc -t native \write18{git --version} ^D -[ RawBlock ( Format "tex" ) "\\write18{git --version}" ] +[ RawBlock (Format "tex") "\\write18{git --version}" ] ``` ``` % pandoc -f latex+raw_tex -t native \write18{git --version} ^D -[ RawBlock ( Format "latex" ) "\\write18{git --version}" ] +[ RawBlock (Format "latex") "\\write18{git --version}" ] ``` diff --git a/test/command/yaml-metadata-blocks.md b/test/command/yaml-metadata-blocks.md index f782ffe59..d483618d3 100644 --- a/test/command/yaml-metadata-blocks.md +++ b/test/command/yaml-metadata-blocks.md @@ -7,9 +7,9 @@ foo: --- ^D Pandoc - ( Meta - { unMeta = fromList [ ( "foo", MetaMap ( fromList [] ) ) ] } - ) [] + Meta + { unMeta = fromList [ ( "foo" , MetaMap (fromList []) ) ] } + [] ``` ``` % pandoc -s -t native @@ -35,46 +35,31 @@ nested: --- ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "bool", MetaBool True ) - , - ( "empty", MetaList [] ) - , - ( "float", MetaInlines [ Str "1.5" ] ) - , - ( "int", MetaInlines [ Str "7" ] ) - , - ( "more", MetaBool False ) - , - ( "nested" - , MetaMap - ( fromList - [ - ( "bool", MetaBool True ) - , - ( "empty", MetaList [] ) - , - ( "float", MetaInlines [ Str "2.5" ] ) - , - ( "int", MetaInlines [ Str "8" ] ) - , - ( "more", MetaBool False ) - , - ( "nothing", MetaInlines [ Str "null" ] ) - , - ( "scientific", MetaInlines [ Str "3.7e-5" ] ) - ] - ) - ) - , - ( "nothing", MetaInlines [ Str "null" ] ) - , - ( "scientific", MetaInlines [ Str "3.7e-5" ] ) - ] + Meta + { unMeta = + fromList + [ ( "bool" , MetaBool True ) + , ( "empty" , MetaList [] ) + , ( "float" , MetaInlines [ Str "1.5" ] ) + , ( "int" , MetaInlines [ Str "7" ] ) + , ( "more" , MetaBool False ) + , ( "nested" + , MetaMap + (fromList + [ ( "bool" , MetaBool True ) + , ( "empty" , MetaList [] ) + , ( "float" , MetaInlines [ Str "2.5" ] ) + , ( "int" , MetaInlines [ Str "8" ] ) + , ( "more" , MetaBool False ) + , ( "nothing" , MetaInlines [ Str "null" ] ) + , ( "scientific" , MetaInlines [ Str "3.7e-5" ] ) + ]) + ) + , ( "nothing" , MetaInlines [ Str "null" ] ) + , ( "scientific" , MetaInlines [ Str "3.7e-5" ] ) + ] } - ) [] + [] ``` ``` % pandoc -s -t native @@ -85,20 +70,19 @@ array: --- ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "array" - , MetaList - [ MetaMap - ( fromList [ ( "foo", MetaInlines [ Str "bar" ] ) ] ) - , MetaMap - ( fromList [ ( "bool", MetaBool True ) ] ) + Meta + { unMeta = + fromList + [ ( "array" + , MetaList + [ MetaMap + (fromList [ ( "foo" , MetaInlines [ Str "bar" ] ) ]) + , MetaMap (fromList [ ( "bool" , MetaBool True ) ]) + ] + ) ] - ) - ] } - ) [] + [] ``` ``` % pandoc -s -t native --metadata-file command/yaml-metadata.yaml @@ -107,33 +91,31 @@ title: document --- ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "other" - , MetaInlines - [ Emph [ Str "markdown" ], Space, Str "value" ] - ) - , - ( "title", MetaInlines [ Str "document" ] ) - ] + Meta + { unMeta = + fromList + [ ( "other" + , MetaInlines + [ Emph [ Str "markdown" ] , Space , Str "value" ] + ) + , ( "title" , MetaInlines [ Str "document" ] ) + ] } - ) [] + [] ``` ``` % pandoc -s -t native --metadata-file command/yaml-metadata.yaml -M title=cmdline ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "other" - , MetaInlines - [ Emph [ Str "markdown" ], Space, Str "value" ] - ) - , - ( "title", MetaString "cmdline" ) - ] + Meta + { unMeta = + fromList + [ ( "other" + , MetaInlines + [ Emph [ Str "markdown" ] , Space , Str "value" ] + ) + , ( "title" , MetaString "cmdline" ) + ] } - ) [] + [] ``` diff --git a/test/command/yaml-with-chomp.md b/test/command/yaml-with-chomp.md index 94a736ab5..98cc76e18 100644 --- a/test/command/yaml-with-chomp.md +++ b/test/command/yaml-with-chomp.md @@ -8,14 +8,13 @@ ml: |- ... ^D Pandoc - ( Meta - { unMeta = fromList - [ - ( "ml" - , MetaBlocks - [ Para [ Str "TEST" ], Plain [ Str "BLOCK" ] ] - ) - ] + Meta + { unMeta = + fromList + [ ( "ml" + , MetaBlocks [ Para [ Str "TEST" ] , Plain [ Str "BLOCK" ] ] + ) + ] } - ) [] + [] ``` diff --git a/test/creole-reader.native b/test/creole-reader.native index 0c8fc3677..5590a14d1 100644 --- a/test/creole-reader.native +++ b/test/creole-reader.native @@ -1,992 +1,970 @@ Pandoc - ( Meta { unMeta = fromList [] } ) - [ Header 1 - ( "", [], [] ) - [ Str "Top-level heading (1)" ] - , Header 2 - ( "", [], [] ) - [ Str "This a test for creole 0.1 (2)" ] - , Header 3 - ( "", [], [] ) - [ Str "This is a Subheading (3)" ] - , Header 4 - ( "", [], [] ) - [ Str "Subsub (4)" ] - , Header 5 - ( "", [], [] ) - [ Str "Subsubsub (5)" ] + Meta { unMeta = fromList [] } + [ Header 1 ( "" , [] , [] ) [ Str "Top-level heading (1)" ] + , Header + 2 ( "" , [] , [] ) [ Str "This a test for creole 0.1 (2)" ] + , Header + 3 ( "" , [] , [] ) [ Str "This is a Subheading (3)" ] + , Header 4 ( "" , [] , [] ) [ Str "Subsub (4)" ] + , Header 5 ( "" , [] , [] ) [ Str "Subsubsub (5)" ] , Para - [ Str "The" - , Space - , Str "ending" - , Space - , Str "equal" - , Space - , Str "signs" - , Space - , Str "should" - , Space - , Str "not" - , Space - , Str "be" - , Space - , Str "displayed:" - ] - , Header 1 - ( "", [], [] ) - [ Str "Top-level heading (1)" ] - , Header 2 - ( "", [], [] ) - [ Str "This a test for creole 0.1 (2)" ] - , Header 3 - ( "", [], [] ) - [ Str "This is a Subheading (3)" ] - , Header 4 - ( "", [], [] ) - [ Str "Subsub (4)" ] - , Header 5 - ( "", [], [] ) - [ Str "Subsubsub (5)" ] + [ Str "The" + , Space + , Str "ending" + , Space + , Str "equal" + , Space + , Str "signs" + , Space + , Str "should" + , Space + , Str "not" + , Space + , Str "be" + , Space + , Str "displayed:" + ] + , Header 1 ( "" , [] , [] ) [ Str "Top-level heading (1)" ] + , Header + 2 ( "" , [] , [] ) [ Str "This a test for creole 0.1 (2)" ] + , Header + 3 ( "" , [] , [] ) [ Str "This is a Subheading (3)" ] + , Header 4 ( "" , [] , [] ) [ Str "Subsub (4)" ] + , Header 5 ( "" , [] , [] ) [ Str "Subsubsub (5)" ] , Para - [ Str "You" - , Space - , Str "can" - , Space - , Str "make" - , Space - , Str "things" - , Space - , Strong - [ Str "bold" ] - , Space - , Str "or" - , Space - , Emph - [ Str "italic" ] - , Space - , Str "or" - , Space - , Strong - [ Emph [ Str "both" ] ] - , Space - , Str "or" - , Space - , Emph - [ Strong [ Str "both" ] ] - , Str "." - ] + [ Str "You" + , Space + , Str "can" + , Space + , Str "make" + , Space + , Str "things" + , Space + , Strong [ Str "bold" ] + , Space + , Str "or" + , Space + , Emph [ Str "italic" ] + , Space + , Str "or" + , Space + , Strong [ Emph [ Str "both" ] ] + , Space + , Str "or" + , Space + , Emph [ Strong [ Str "both" ] ] + , Str "." + ] , Para - [ Str "Character" - , Space - , Str "formatting" - , Space - , Str "extends" - , Space - , Str "across" - , Space - , Str "line" - , Space - , Str "breaks:" - , Space - , Strong - [ Str "bold," + [ Str "Character" , Space - , Str "this" + , Str "formatting" , Space - , Str "is" + , Str "extends" , Space - , Str "still" - , Space - , Str "bold." - , Space - , Str "This" + , Str "across" , Space , Str "line" , Space - , Str "deliberately" + , Str "breaks:" + , Space + , Strong + [ Str "bold," + , Space + , Str "this" + , Space + , Str "is" + , Space + , Str "still" + , Space + , Str "bold." + , Space + , Str "This" + , Space + , Str "line" + , Space + , Str "deliberately" + , Space + , Str "does" + , Space + , Str "not" + , Space + , Str "end" + , Space + , Str "in" + , Space + , Str "star-star." + ] + ] + , Para + [ Str "Not" + , Space + , Str "bold." + , Space + , Str "Character" + , Space + , Str "formatting" , Space , Str "does" , Space , Str "not" , Space - , Str "end" + , Str "cross" , Space - , Str "in" + , Str "paragraph" , Space - , Str "star-star." + , Str "boundaries." ] - ] , Para - [ Str "Not" - , Space - , Str "bold." - , Space - , Str "Character" - , Space - , Str "formatting" - , Space - , Str "does" - , Space - , Str "not" - , Space - , Str "cross" - , Space - , Str "paragraph" - , Space - , Str "boundaries." - ] - , Para - [ Str "You" - , Space - , Str "can" - , Space - , Str "use" - , Space - , Link - ( "", [], [] ) - [ Str "internal links" ] - ( "internal links", "" ) - , Space - , Str "or" - , Space - , Link - ( "", [], [] ) - [ Str "external links" ] - ( "http://www.wikicreole.org", "" ) - , Str "," - , Space - , Str "give" - , Space - , Str "the" - , Space - , Str "link" - , Space - , Str "a" - , Space - , Link - ( "", [], [] ) - [ Str "different" ] - ( "internal links", "" ) - , Space - , Str "name." - ] - , Para - [ Str "Here's" - , Space - , Str "another" - , Space - , Str "sentence:" - , Space - , Str "This" - , Space - , Str "wisdom" - , Space - , Str "is" - , Space - , Str "taken" - , Space - , Str "from" - , Space - , Link - ( "", [], [] ) - [ Str "Ward Cunningham's" ] - ( "Ward Cunningham's", "" ) - , Space - , Link - ( "", [], [] ) - [ Str "Presentation at the Wikisym 06" ] - ( "http://www.c2.com/doc/wikisym/WikiSym2006.pdf", "" ) - , Str "." - ] - , Para - [ Str "Here's" - , Space - , Str "a" - , Space - , Str "external" - , Space - , Str "link" - , Space - , Str "without" - , Space - , Str "a" - , Space - , Str "description:" - , Space - , Link - ( "", [], [] ) - [ Str "http://www.wikicreole.org" ] - ( "http://www.wikicreole.org", "" ) - ] - , Para - [ Str "Be" - , Space - , Str "careful" - , Space - , Str "that" - , Space - , Str "italic" - , Space - , Str "links" - , Space - , Str "are" - , Space - , Str "rendered" - , Space - , Str "properly:" - , Space - , Emph - [ Link - ( "", [], [] ) - [ Str "My Book Title" ] - ( "http://my.book.example/", "" ) + [ Str "You" + , Space + , Str "can" + , Space + , Str "use" + , Space + , Link + ( "" , [] , [] ) + [ Str "internal links" ] + ( "internal links" , "" ) + , Space + , Str "or" + , Space + , Link + ( "" , [] , [] ) + [ Str "external links" ] + ( "http://www.wikicreole.org" , "" ) + , Str "," + , Space + , Str "give" + , Space + , Str "the" + , Space + , Str "link" + , Space + , Str "a" + , Space + , Link + ( "" , [] , [] ) + [ Str "different" ] + ( "internal links" , "" ) + , Space + , Str "name." ] - ] , Para - [ Str "Free" - , Space - , Str "links" - , Space - , Str "without" - , Space - , Str "braces" - , Space - , Str "should" - , Space - , Str "be" - , Space - , Str "rendered" - , Space - , Str "as" - , Space - , Str "well," - , Space - , Str "like" - , Space - , Link - ( "", [], [] ) - [ Str "http://www.wikicreole.org/" ] - ( "http://www.wikicreole.org/", "" ) - , Space - , Str "and" - , Space - , Link - ( "", [], [] ) - [ Str "http://www.wikicreole.org/users/~example" ] - ( "http://www.wikicreole.org/users/~example", "" ) - , Str "." - ] + [ Str "Here's" + , Space + , Str "another" + , Space + , Str "sentence:" + , Space + , Str "This" + , Space + , Str "wisdom" + , Space + , Str "is" + , Space + , Str "taken" + , Space + , Str "from" + , Space + , Link + ( "" , [] , [] ) + [ Str "Ward Cunningham's" ] + ( "Ward Cunningham's" , "" ) + , Space + , Link + ( "" , [] , [] ) + [ Str "Presentation at the Wikisym 06" ] + ( "http://www.c2.com/doc/wikisym/WikiSym2006.pdf" , "" ) + , Str "." + ] , Para - [ Str "Creole1.0" - , Space - , Str "specifies" - , Space - , Str "that" - , Space - , Link - ( "", [], [] ) - [ Str "http://bar" ] - ( "http://bar", "" ) - , Space - , Str "and" - , Space - , Link - ( "", [], [] ) - [ Str "ftp://bar" ] - ( "ftp://bar", "" ) - , Space - , Str "should" - , Space - , Str "not" - , Space - , Str "render" - , Space - , Str "italic," - , Space - , Str "something" - , Space - , Str "like" - , Space - , Str "foo:" - , Emph - [ Str "bar" + [ Str "Here's" + , Space + , Str "a" + , Space + , Str "external" + , Space + , Str "link" + , Space + , Str "without" + , Space + , Str "a" + , Space + , Str "description:" + , Space + , Link + ( "" , [] , [] ) + [ Str "http://www.wikicreole.org" ] + ( "http://www.wikicreole.org" , "" ) + ] + , Para + [ Str "Be" + , Space + , Str "careful" + , Space + , Str "that" + , Space + , Str "italic" + , Space + , Str "links" + , Space + , Str "are" + , Space + , Str "rendered" + , Space + , Str "properly:" + , Space + , Emph + [ Link + ( "" , [] , [] ) + [ Str "My Book Title" ] + ( "http://my.book.example/" , "" ) + ] + ] + , Para + [ Str "Free" + , Space + , Str "links" + , Space + , Str "without" + , Space + , Str "braces" , Space , Str "should" , Space - , Str "render" + , Str "be" + , Space + , Str "rendered" , Space , Str "as" , Space - , Str "italic." + , Str "well," + , Space + , Str "like" + , Space + , Link + ( "" , [] , [] ) + [ Str "http://www.wikicreole.org/" ] + ( "http://www.wikicreole.org/" , "" ) + , Space + , Str "and" + , Space + , Link + ( "" , [] , [] ) + [ Str "http://www.wikicreole.org/users/~example" ] + ( "http://www.wikicreole.org/users/~example" , "" ) + , Str "." ] - ] , Para - [ Str "You" - , Space - , Str "can" - , Space - , Str "use" - , Space - , Str "this" - , Space - , Str "to" - , Space - , Str "draw" - , Space - , Str "a" - , Space - , Str "line" - , Space - , Str "to" - , Space - , Str "separate" - , Space - , Str "the" - , Space - , Str "page:" - ] + [ Str "Creole1.0" + , Space + , Str "specifies" + , Space + , Str "that" + , Space + , Link + ( "" , [] , [] ) [ Str "http://bar" ] ( "http://bar" , "" ) + , Space + , Str "and" + , Space + , Link + ( "" , [] , [] ) [ Str "ftp://bar" ] ( "ftp://bar" , "" ) + , Space + , Str "should" + , Space + , Str "not" + , Space + , Str "render" + , Space + , Str "italic," + , Space + , Str "something" + , Space + , Str "like" + , Space + , Str "foo:" + , Emph + [ Str "bar" + , Space + , Str "should" + , Space + , Str "render" + , Space + , Str "as" + , Space + , Str "italic." + ] + ] + , Para + [ Str "You" + , Space + , Str "can" + , Space + , Str "use" + , Space + , Str "this" + , Space + , Str "to" + , Space + , Str "draw" + , Space + , Str "a" + , Space + , Str "line" + , Space + , Str "to" + , Space + , Str "separate" + , Space + , Str "the" + , Space + , Str "page:" + ] , HorizontalRule , Para - [ Str "You" - , Space - , Str "can" - , Space - , Str "use" - , Space - , Str "lists," - , Space - , Str "start" - , Space - , Str "it" - , Space - , Str "at" - , Space - , Str "the" - , Space - , Str "first" - , Space - , Str "column" - , Space - , Str "for" - , Space - , Str "now," - , Space - , Str "please..." - ] - , Para - [ Str "unnumbered" - , Space - , Str "lists" - , Space - , Str "are" - , Space - , Str "like" - ] - , BulletList - [ - [ Plain [ Str "item", Space, Str "a" ] ] - , - [ Plain [ Str "item", Space, Str "b" ] ] - , - [ Plain - [ Strong [ Str "bold", Space, Str "item", Space, Str "c" ] ] + [ Str "You" + , Space + , Str "can" + , Space + , Str "use" + , Space + , Str "lists," + , Space + , Str "start" + , Space + , Str "it" + , Space + , Str "at" + , Space + , Str "the" + , Space + , Str "first" + , Space + , Str "column" + , Space + , Str "for" + , Space + , Str "now," + , Space + , Str "please..." ] - ] , Para - [ Str "blank" - , Space - , Str "space" - , Space - , Str "is" - , Space - , Str "also" - , Space - , Str "permitted" - , Space - , Str "before" - , Space - , Str "lists" - , Space - , Str "like:" - ] - , BulletList - [ - [ Plain [ Str "item", Space, Str "a" ] ] - , - [ Plain [ Str "item", Space, Str "b" ] ] - , - [ Plain - [ Str "item", Space, Str "c" ] - , BulletList - [ [ Plain [ Str "item", Space, Str "c.a" ] ] ] + [ Str "unnumbered" + , Space + , Str "lists" + , Space + , Str "are" + , Space + , Str "like" + ] + , BulletList + [ [ Plain [ Str "item" , Space , Str "a" ] ] + , [ Plain [ Str "item" , Space , Str "b" ] ] + , [ Plain + [ Strong + [ Str "bold" , Space , Str "item" , Space , Str "c" ] + ] + ] ] - ] , Para - [ Str "or" - , Space - , Str "you" - , Space - , Str "can" - , Space - , Str "number" - , Space - , Str "them" - ] + [ Str "blank" + , Space + , Str "space" + , Space + , Str "is" + , Space + , Str "also" + , Space + , Str "permitted" + , Space + , Str "before" + , Space + , Str "lists" + , Space + , Str "like:" + ] + , BulletList + [ [ Plain [ Str "item" , Space , Str "a" ] ] + , [ Plain [ Str "item" , Space , Str "b" ] ] + , [ Plain [ Str "item" , Space , Str "c" ] + , BulletList + [ [ Plain [ Str "item" , Space , Str "c.a" ] ] ] + ] + ] + , Para + [ Str "or" + , Space + , Str "you" + , Space + , Str "can" + , Space + , Str "number" + , Space + , Str "them" + ] , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain - [ Link ( "", [], [] ) [ Str "item 1" ] ( "item 1", "" ) ] - ] - , - [ Plain [ Str "item", Space, Str "2" ] ] - , - [ Plain - [ Emph - [ Space - , Str "italic" - , Space - , Str "item" - , Space - , Str "3" - , Space - ] + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain + [ Link ( "" , [] , [] ) [ Str "item 1" ] ( "item 1" , "" ) ] ] - , OrderedList - ( 1, DefaultStyle, DefaultDelim ) - [ - [ Plain [ Str "item", Space, Str "3.1" ] ] - , - [ Plain [ Str "item", Space, Str "3.2" ] ] - ] - ] - ] - , Para - [ Str "up" - , Space - , Str "to" - , Space - , Str "five" - , Space - , Str "levels" - ] - , BulletList - [ - [ Plain - [ Str "1" ] - , BulletList - [ - [ Plain - [ Str "2" ] - , BulletList - [ - [ Plain - [ Str "3" ] - , BulletList - [ - [ Plain - [ Str "4" ] - , BulletList - [ [ Plain [ Str "5" ] ] ] - ] + , [ Plain [ Str "item" , Space , Str "2" ] ] + , [ Plain + [ Emph + [ Space + , Str "italic" + , Space + , Str "item" + , Space + , Str "3" + , Space ] + ] + , OrderedList + ( 1 , DefaultStyle , DefaultDelim ) + [ [ Plain [ Str "item" , Space , Str "3.1" ] ] + , [ Plain [ Str "item" , Space , Str "3.2" ] ] + ] + ] + ] + , Para + [ Str "up" + , Space + , Str "to" + , Space + , Str "five" + , Space + , Str "levels" + ] + , BulletList + [ [ Plain [ Str "1" ] + , BulletList + [ [ Plain [ Str "2" ] + , BulletList + [ [ Plain [ Str "3" ] + , BulletList + [ [ Plain [ Str "4" ] + , BulletList [ [ Plain [ Str "5" ] ] ] + ] + ] + ] + ] ] ] - ] ] ] - ] , BulletList - [ - [ Plain - [ Str "You" - , Space - , Str "can" - , Space - , Str "have" - , Space - , Str "multiline" - , Space - , Str "list" - , Space - , Str "items" + [ [ Plain + [ Str "You" + , Space + , Str "can" + , Space + , Str "have" + , Space + , Str "multiline" + , Space + , Str "list" + , Space + , Str "items" + ] + ] + , [ Plain + [ Str "this" + , Space + , Str "is" + , Space + , Str "a" + , Space + , Str "second" + , Space + , Str "multiline" + , Space + , Str "list" + , Space + , Str "item" + ] ] ] - , - [ Plain - [ Str "this" - , Space - , Str "is" - , Space - , Str "a" - , Space - , Str "second" - , Space - , Str "multiline" - , Space - , Str "list" - , Space - , Str "item" - ] - ] - ] , Para - [ Str "You" - , Space - , Str "can" - , Space - , Str "use" - , Space - , Str "nowiki" - , Space - , Str "syntax" - , Space - , Str "if" - , Space - , Str "you" - , Space - , Str "would" - , Space - , Str "like" - , Space - , Str "do" - , Space - , Str "stuff" - , Space - , Str "like" - , Space - , Str "this:" - ] + [ Str "You" + , Space + , Str "can" + , Space + , Str "use" + , Space + , Str "nowiki" + , Space + , Str "syntax" + , Space + , Str "if" + , Space + , Str "you" + , Space + , Str "would" + , Space + , Str "like" + , Space + , Str "do" + , Space + , Str "stuff" + , Space + , Str "like" + , Space + , Str "this:" + ] , CodeBlock - ( "" - , [] - , [] - ) "Guitar Chord C:\n\n||---|---|---|\n||-0-|---|---|\n||---|---|---|\n||---|-0-|---|\n||---|---|-0-|\n||---|---|---|" + ( "" , [] , [] ) + "Guitar Chord C:\n\n||---|---|---|\n||-0-|---|---|\n||---|---|---|\n||---|-0-|---|\n||---|---|-0-|\n||---|---|---|" , Para - [ Str "You" - , Space - , Str "can" - , Space - , Str "also" - , Space - , Str "use" - , Space - , Str "it" - , Space - , Str "inline" - , Space - , Str "nowiki" - , Space - , Code - ( "", [], [] ) " in a sentence " - , Space - , Str "like" - , Space - , Str "this." - ] - , Header 1 - ( "", [], [] ) - [ Str "Escapes" ] + [ Str "You" + , Space + , Str "can" + , Space + , Str "also" + , Space + , Str "use" + , Space + , Str "it" + , Space + , Str "inline" + , Space + , Str "nowiki" + , Space + , Code ( "" , [] , [] ) " in a sentence " + , Space + , Str "like" + , Space + , Str "this." + ] + , Header 1 ( "" , [] , [] ) [ Str "Escapes" ] , Para - [ Str "Normal" - , Space - , Str "Link:" - , Space - , Link - ( "", [], [] ) - [ Str "http://wikicreole.org/" ] - ( "http://wikicreole.org/", "" ) - , Space - , Str "-" - , Space - , Str "now" - , Space - , Str "same" - , Space - , Str "link," - , Space - , Str "but" - , Space - , Str "escaped:" - , Space - , Str "http://wikicreole.org/" - ] + [ Str "Normal" + , Space + , Str "Link:" + , Space + , Link + ( "" , [] , [] ) + [ Str "http://wikicreole.org/" ] + ( "http://wikicreole.org/" , "" ) + , Space + , Str "-" + , Space + , Str "now" + , Space + , Str "same" + , Space + , Str "link," + , Space + , Str "but" + , Space + , Str "escaped:" + , Space + , Str "http://wikicreole.org/" + ] , Para - [ Str "Normal" - , Space - , Str "asterisks:" - , Space - , Str "**not" - , Space - , Str "bold**" - ] + [ Str "Normal" + , Space + , Str "asterisks:" + , Space + , Str "**not" + , Space + , Str "bold**" + ] , Para - [ Str "a", Space, Str "tilde", Space, Str "alone:", Space, Str "~" ] + [ Str "a" + , Space + , Str "tilde" + , Space + , Str "alone:" + , Space + , Str "~" + ] , Para - [ Str "a" - , Space - , Str "tilde" - , Space - , Str "escapes" - , Space - , Str "itself:" - , Space - , Str "~xxx" - ] - , Header 3 - ( "", [], [] ) - [ Str "Creole 0.2" ] + [ Str "a" + , Space + , Str "tilde" + , Space + , Str "escapes" + , Space + , Str "itself:" + , Space + , Str "~xxx" + ] + , Header 3 ( "" , [] , [] ) [ Str "Creole 0.2" ] , Para - [ Str "This" - , Space - , Str "should" - , Space - , Str "be" - , Space - , Str "a" - , Space - , Str "flower" - , Space - , Str "with" - , Space - , Str "the" - , Space - , Str "ALT" - , Space - , Str "text" - , Space - , Str "\"this" - , Space - , Str "is" - , Space - , Str "a" - , Space - , Str "flower\"" - , Space - , Str "if" - , Space - , Str "your" - , Space - , Str "wiki" - , Space - , Str "supports" - , Space - , Str "ALT" - , Space - , Str "text" - , Space - , Str "on" - , Space - , Str "images:" - ] + [ Str "This" + , Space + , Str "should" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "flower" + , Space + , Str "with" + , Space + , Str "the" + , Space + , Str "ALT" + , Space + , Str "text" + , Space + , Str "\"this" + , Space + , Str "is" + , Space + , Str "a" + , Space + , Str "flower\"" + , Space + , Str "if" + , Space + , Str "your" + , Space + , Str "wiki" + , Space + , Str "supports" + , Space + , Str "ALT" + , Space + , Str "text" + , Space + , Str "on" + , Space + , Str "images:" + ] , Para - [ Image - ( "", [], [] ) - [ Str "here is a red flower" ] - ( "Red-Flower.jpg", "" ) - ] - , Header 3 - ( "", [], [] ) - [ Str "Creole 0.4" ] + [ Image + ( "" , [] , [] ) + [ Str "here is a red flower" ] + ( "Red-Flower.jpg" , "" ) + ] + , Header 3 ( "" , [] , [] ) [ Str "Creole 0.4" ] , Para - [ Str "Tables" - , Space - , Str "are" - , Space - , Str "done" - , Space - , Str "like" - , Space - , Str "this:" - ] + [ Str "Tables" + , Space + , Str "are" + , Space + , Str "done" + , Space + , Str "like" + , Space + , Str "this:" + ] , Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignDefault, ColWidthDefault ) - , - ( AlignDefault, ColWidthDefault ) - ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "header", Space, Str "col1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "header", Space, Str "col2" ] ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "col1" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "col2" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "you" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "can" ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "also" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "align", LineBreak, Str "it." ] ] - ] + (TableHead + ( "" , [] , [] ) + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "header" , Space , Str "col1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "header" , Space , Str "col2" ] ] + ] + ]) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "col1" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "col2" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "you" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "can" ] ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "also" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "align" , LineBreak , Str "it." ] ] + ] + ] ] - ] - ( TableFoot ( "", [], [] ) [] ) + (TableFoot ( "" , [] , [] ) []) , Para - [ Str "You" - , Space - , Str "can" - , Space - , Str "format" - , Space - , Str "an" - , Space - , Str "address" - , Space - , Str "by" - , Space - , Str "simply" - , Space - , Str "forcing" - , Space - , Str "linebreaks:" - ] + [ Str "You" + , Space + , Str "can" + , Space + , Str "format" + , Space + , Str "an" + , Space + , Str "address" + , Space + , Str "by" + , Space + , Str "simply" + , Space + , Str "forcing" + , Space + , Str "linebreaks:" + ] , Para - [ Str "My" - , Space - , Str "contact" - , Space - , Str "dates:" - , LineBreak - , Str "Pone:" - , Space - , Str "xyz" - , LineBreak - , Str "Fax:" - , Space - , Str "+45" - , LineBreak - , Str "Mobile:" - , Space - , Str "abc" - ] - , Header 3 - ( "", [], [] ) - [ Str "Creole 0.5" ] + [ Str "My" + , Space + , Str "contact" + , Space + , Str "dates:" + , LineBreak + , Str "Pone:" + , Space + , Str "xyz" + , LineBreak + , Str "Fax:" + , Space + , Str "+45" + , LineBreak + , Str "Mobile:" + , Space + , Str "abc" + ] + , Header 3 ( "" , [] , [] ) [ Str "Creole 0.5" ] , Table - ( "", [], [] ) - ( Caption Nothing [] ) - [ - ( AlignDefault, ColWidthDefault ) - , - ( AlignDefault, ColWidthDefault ) - ] - ( TableHead - ( "", [], [] ) - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Str "Header", Space, Str "title" ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain - [ Str "Another", Space, Str "header", Space, Str "title" ] - ] - ] + ( "" , [] , [] ) + (Caption Nothing []) + [ ( AlignDefault , ColWidthDefault ) + , ( AlignDefault , ColWidthDefault ) ] - ) - [ TableBody - ( "", [], [] ) - ( RowHeadColumns 0 ) [] - [ Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Code ( "", [], [] ) " //not italic text// " ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Code ( "", [], [] ) " **not bold text** " ] ] - ] - , Row - ( "", [], [] ) - [ Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain [ Emph [ Str "italic", Space, Str "text" ] ] ] - , Cell - ( "", [], [] ) AlignDefault - ( RowSpan 1 ) - ( ColSpan 1 ) - [ Plain - [ Strong [ Space, Str "bold", Space, Str "text", Space ] ] + (TableHead + ( "" , [] , [] ) + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Str "Header" , Space , Str "title" ] ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Str "Another" + , Space + , Str "header" + , Space + , Str "title" + ] + ] + ] + ]) + [ TableBody + ( "" , [] , [] ) + (RowHeadColumns 0) + [] + [ Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Code ( "" , [] , [] ) " //not italic text// " ] + ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Code ( "" , [] , [] ) " **not bold text** " ] + ] + ] + , Row + ( "" , [] , [] ) + [ Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain [ Emph [ Str "italic" , Space , Str "text" ] ] + ] + , Cell + ( "" , [] , [] ) + AlignDefault + (RowSpan 1) + (ColSpan 1) + [ Plain + [ Strong + [ Space + , Str "bold" + , Space + , Str "text" + , Space + ] + ] + ] + ] ] - ] ] - ] - ( TableFoot ( "", [], [] ) [] ) - , Header 3 - ( "", [], [] ) - [ Str "Creole 1.0" ] + (TableFoot ( "" , [] , [] ) []) + , Header 3 ( "" , [] , [] ) [ Str "Creole 1.0" ] , Para - [ Str "If" - , Space - , Str "interwiki" - , Space - , Str "links" - , Space - , Str "are" - , Space - , Str "setup" - , Space - , Str "in" - , Space - , Str "your" - , Space - , Str "wiki," - , Space - , Str "this" - , Space - , Str "links" - , Space - , Str "to" - , Space - , Str "the" - , Space - , Str "WikiCreole" - , Space - , Str "page" - , Space - , Str "about" - , Space - , Str "Creole" - , Space - , Str "1.0" - , Space - , Str "test" - , Space - , Str "cases:" - , Space - , Link - ( "", [], [] ) - [ Str "WikiCreole:Creole1.0TestCases" ] - ( "WikiCreole:Creole1.0TestCases", "" ) - , Str "." - ] + [ Str "If" + , Space + , Str "interwiki" + , Space + , Str "links" + , Space + , Str "are" + , Space + , Str "setup" + , Space + , Str "in" + , Space + , Str "your" + , Space + , Str "wiki," + , Space + , Str "this" + , Space + , Str "links" + , Space + , Str "to" + , Space + , Str "the" + , Space + , Str "WikiCreole" + , Space + , Str "page" + , Space + , Str "about" + , Space + , Str "Creole" + , Space + , Str "1.0" + , Space + , Str "test" + , Space + , Str "cases:" + , Space + , Link + ( "" , [] , [] ) + [ Str "WikiCreole:Creole1.0TestCases" ] + ( "WikiCreole:Creole1.0TestCases" , "" ) + , Str "." + ] , HorizontalRule , Para - [ Str "The" - , Space - , Str "above" - , Space - , Str "test" - , Space - , Str "document" - , Space - , Str "was" - , Space - , Str "found" - , Space - , Str "on" - , Space - , Link - ( "", [], [] ) - [ Str "http://www.wikicreole.org/wiki/Creole1.0TestCases" ] - ( "http://www.wikicreole.org/wiki/Creole1.0TestCases", "" ) - , Space - , Str "and" - , Space - , Str "downloaded" - , Space - , Str "from" - , Space - , Link - ( "", [], [] ) - [ Str "http://www.wikicreole.org/attach/Creole1.0TestCases/creole1.0test.txt" ] - ( "http://www.wikicreole.org/attach/Creole1.0TestCases/creole1.0test.txt" - , "" - ) - , Str "." - ] + [ Str "The" + , Space + , Str "above" + , Space + , Str "test" + , Space + , Str "document" + , Space + , Str "was" + , Space + , Str "found" + , Space + , Str "on" + , Space + , Link + ( "" , [] , [] ) + [ Str "http://www.wikicreole.org/wiki/Creole1.0TestCases" ] + ( "http://www.wikicreole.org/wiki/Creole1.0TestCases" , "" ) + , Space + , Str "and" + , Space + , Str "downloaded" + , Space + , Str "from" + , Space + , Link + ( "" , [] , [] ) + [ Str + "http://www.wikicreole.org/attach/Creole1.0TestCases/creole1.0test.txt" + ] + ( "http://www.wikicreole.org/attach/Creole1.0TestCases/creole1.0test.txt" + , "" + ) + , Str "." + ] , Para - [ Str "The" - , Space - , Str "Creole" - , Space - , Str "Wiki" - , Space - , Str "is" - , Space - , Str "licensed:" - , Space - , Str "Copyright" - , Space - , Str "(C)" - , Space - , Str "by" - , Space - , Str "the" - , Space - , Str "contributors." - , Space - , Str "Some" - , Space - , Str "rights" - , Space - , Str "reserved," - , Space - , Str "license" - , Space - , Link - ( "", [], [] ) - [ Str "https://creativecommons.org/licenses/by-sa/1.0/" ] - ( "BY-SA", "" ) - , Str "." - ] + [ Str "The" + , Space + , Str "Creole" + , Space + , Str "Wiki" + , Space + , Str "is" + , Space + , Str "licensed:" + , Space + , Str "Copyright" + , Space + , Str "(C)" + , Space + , Str "by" + , Space + , Str "the" + , Space + , Str "contributors." + , Space + , Str "Some" + , Space + , Str "rights" + , Space + , Str "reserved," + , Space + , Str "license" + , Space + , Link + ( "" , [] , [] ) + [ Str "https://creativecommons.org/licenses/by-sa/1.0/" ] + ( "BY-SA" , "" ) + , Str "." + ] ] diff --git a/test/docbook-chapter.native b/test/docbook-chapter.native index 0aed171de..c77867ad9 100644 --- a/test/docbook-chapter.native +++ b/test/docbook-chapter.native @@ -1,167 +1,173 @@ Pandoc - ( Meta { unMeta = fromList [] } ) - [ Header 1 - ( "", [], [] ) - [ Str "Test", Space, Str "Chapter" ] + Meta { unMeta = fromList [] } + [ Header + 1 ( "" , [] , [] ) [ Str "Test" , Space , Str "Chapter" ] , Para - [ Str "This" - , Space - , Str "chapter" - , Space - , Str "uses" - , Space - , Str "recursive" - , Space - , Str "sections." - ] - , Header 2 - ( "", [], [] ) - [ Str "Like", Space, Str "a", Space, Str "Sect1" ] + [ Str "This" + , Space + , Str "chapter" + , Space + , Str "uses" + , Space + , Str "recursive" + , Space + , Str "sections." + ] + , Header + 2 + ( "" , [] , [] ) + [ Str "Like" , Space , Str "a" , Space , Str "Sect1" ] , Para - [ Str "This" - , Space - , Str "section" - , Space - , Str "is" - , Space - , Str "like" - , Space - , Str "a" - , Space - , Str "Sect1." - ] - , Header 3 - ( "", [], [] ) - [ Str "Like", Space, Str "a", Space, Str "Sect2" ] + [ Str "This" + , Space + , Str "section" + , Space + , Str "is" + , Space + , Str "like" + , Space + , Str "a" + , Space + , Str "Sect1." + ] + , Header + 3 + ( "" , [] , [] ) + [ Str "Like" , Space , Str "a" , Space , Str "Sect2" ] , Para - [ Str "This" - , Space - , Str "section" - , Space - , Str "is" - , Space - , Str "like" - , Space - , Str "a" - , Space - , Str "Sect2." - ] - , Header 4 - ( "", [], [] ) - [ Str "Like", Space, Str "a", Space, Str "Sect3" ] + [ Str "This" + , Space + , Str "section" + , Space + , Str "is" + , Space + , Str "like" + , Space + , Str "a" + , Space + , Str "Sect2." + ] + , Header + 4 + ( "" , [] , [] ) + [ Str "Like" , Space , Str "a" , Space , Str "Sect3" ] , Para - [ Str "This" - , Space - , Str "section" - , Space - , Str "is" - , Space - , Str "like" - , Space - , Str "a" - , Space - , Str "Sect3." - ] - , Header 5 - ( "", [], [] ) - [ Str "Like", Space, Str "a", Space, Str "Sect4" ] + [ Str "This" + , Space + , Str "section" + , Space + , Str "is" + , Space + , Str "like" + , Space + , Str "a" + , Space + , Str "Sect3." + ] + , Header + 5 + ( "" , [] , [] ) + [ Str "Like" , Space , Str "a" , Space , Str "Sect4" ] , Para - [ Str "This" - , Space - , Str "section" - , Space - , Str "is" - , Space - , Str "like" - , Space - , Str "a" - , Space - , Str "Sect4." - ] - , Header 6 - ( "", [], [] ) - [ Str "Like", Space, Str "a", Space, Str "Sect5" ] + [ Str "This" + , Space + , Str "section" + , Space + , Str "is" + , Space + , Str "like" + , Space + , Str "a" + , Space + , Str "Sect4." + ] + , Header + 6 + ( "" , [] , [] ) + [ Str "Like" , Space , Str "a" , Space , Str "Sect5" ] , Para - [ Str "This" - , Space - , Str "section" - , Space - , Str "is" - , Space - , Str "like" - , Space - , Str "a" - , Space - , Str "Sect5." - ] - , Header 7 - ( "", [], [] ) - [ Str "Would" - , Space - , Str "be" - , Space - , Str "like" - , Space - , Str "a" - , Space - , Str "Sect6" - ] + [ Str "This" + , Space + , Str "section" + , Space + , Str "is" + , Space + , Str "like" + , Space + , Str "a" + , Space + , Str "Sect5." + ] + , Header + 7 + ( "" , [] , [] ) + [ Str "Would" + , Space + , Str "be" + , Space + , Str "like" + , Space + , Str "a" + , Space + , Str "Sect6" + ] , Para - [ Str "This" - , Space - , Str "section" - , Space - , Str "would" - , Space - , Str "be" - , Space - , Str "like" - , Space - , Str "a" - , Space - , Str "Sect6," - , Space - , Str "if" - , Space - , Str "there" - , Space - , Str "was" - , Space - , Str "one." - ] - , Header 8 - ( "", [], [] ) - [ Str "Would" - , Space - , Str "be" - , Space - , Str "like" - , Space - , Str "a" - , Space - , Str "Sect7" - ] + [ Str "This" + , Space + , Str "section" + , Space + , Str "would" + , Space + , Str "be" + , Space + , Str "like" + , Space + , Str "a" + , Space + , Str "Sect6," + , Space + , Str "if" + , Space + , Str "there" + , Space + , Str "was" + , Space + , Str "one." + ] + , Header + 8 + ( "" , [] , [] ) + [ Str "Would" + , Space + , Str "be" + , Space + , Str "like" + , Space + , Str "a" + , Space + , Str "Sect7" + ] , Para - [ Str "This" - , Space - , Str "section" - , Space - , Str "would" - , Space - , Str "be" - , Space - , Str "like" - , Space - , Str "a" - , Space - , Str "Sect7," - , Space - , Str "if" - , Space - , Str "there" - , Space - , Str "was" - , Space - , Str "one." - ] + [ Str "This" + , Space + , Str "section" + , Space + , Str "would" + , Space + , Str "be" + , Space + , Str "like" + , Space + , Str "a" + , Space + , Str "Sect7," + , Space + , Str "if" + , Space + , Str "there" + , Space + , Str "was" + , Space + , Str "one." + ] ] diff --git a/test/docbook-reader.native b/test/docbook-reader.native index d23ade4e1..c8d59ca82 100644 --- a/test/docbook-reader.native +++ b/test/docbook-reader.native @@ -1,561 +1,467 @@ Pandoc - ( Meta - { unMeta = fromList - [ - ( "author" - , MetaList - [ MetaInlines - [ Str "John", SoftBreak, Str "MacFarlane" ] - , MetaInlines - [ Str "Anonymous" ] + 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" + ] + ) ] - ) - , - ( "date" - , MetaInlines - [ Str "July", Space, Str "17,", Space, Str "2006" ] - ) - , - ( "title" - , MetaInlines - [ Str "Pandoc", Space, Str "Test", Space, Str "Suite" ] - ) - ] } - ) [ 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." - ] - , Header 1 - ( "headers", [], [] ) - [ Str "Headers" ] - , 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", "" ) - ] - , Header 3 - ( "level-3-with-emphasis", [], [] ) - [ Str "Level" - , Space - , Str "3" - , Space - , Str "with" - , Space - , Emph - [ Str "emphasis" ] - ] - , Header 4 - ( "level-4", [], [] ) - [ Str "Level", Space, Str "4" ] - , Header 5 - ( "level-5", [], [] ) - [ Str "Level", Space, Str "5" ] - , Para - [ Str "Hi." ] - , Header 1 - ( "level-1", [], [] ) - [ Str "Level", Space, Str "1" ] - , Header 2 - ( "level-2-with-emphasis", [], [] ) - [ Str "Level" - , Space - , Str "2" - , Space - , Str "with" - , Space - , Emph - [ Str "emphasis" ] - ] - , Header 3 - ( "level-3", [], [] ) - [ Str "Level", Space, Str "3" ] - , Para - [ Str "with" - , Space - , Str "no" - , Space - , Str "blank" - , Space - , Str "line" - ] - , Header 4 - ( "", [ "unnumbered" ], [] ) - [ Str "Level", Space, Str "4" ] - , Para - [ Str "An", Space, Str "unnumbered", Space, Str "section." ] - , Header 2 - ( "level-2", [], [] ) - [ Str "Level", Space, Str "2" ] - , Para - [ Str "with" - , Space - , Str "no" - , Space - , Str "blank" - , Space - , Str "line" - ] - , Header 1 - ( "paragraphs", [], [] ) - [ Str "Paragraphs" ] - , Para - [ Str "Here\8217s" - , Space - , Str "a" - , Space - , Str "regular" - , Space - , Str "paragraph." - ] - , 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." - ] - , Para - [ Str "Here\8217s" - , Space - , Str "one" - , Space - , Str "with" - , Space - , Str "a" - , Space - , Str "bullet." - , Space - , Str "*" - , Space - , Str "criminey." - ] - , Header 1 - ( "block-quotes", [], [] ) - [ Str "Block", Space, Str "Quotes" ] - , Para - [ Str "E-mail", Space, Str "style:" ] - , BlockQuote - [ Para [ Str "This" , Space , Str "is" , Space , Str "a" , Space - , Str "block" + , Str "set" , Space - , Str "quote." + , Str "of" , Space - , Str "It" + , Str "tests" , Space - , Str "is" + , Str "for" , Space - , Str "pretty" + , Str "pandoc." , Space - , Str "short." + , 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." ] - ] - , BlockQuote - [ Para - [ Str "Code" + , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ] + , 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" , "" ) + ] + , Header + 3 + ( "level-3-with-emphasis" , [] , [] ) + [ Str "Level" + , Space + , Str "3" + , Space + , Str "with" + , Space + , Emph [ Str "emphasis" ] + ] + , Header + 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ] + , Header + 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ] + , Para [ Str "Hi." ] + , Header + 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ] + , Header + 2 + ( "level-2-with-emphasis" , [] , [] ) + [ Str "Level" + , Space + , Str "2" + , Space + , Str "with" + , Space + , Emph [ Str "emphasis" ] + ] + , Header + 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ] + , Para + [ Str "with" + , Space + , Str "no" + , Space + , Str "blank" + , Space + , Str "line" + ] + , Header + 4 + ( "" , [ "unnumbered" ] , [] ) + [ Str "Level" , Space , Str "4" ] + , Para + [ Str "An" + , Space + , Str "unnumbered" + , Space + , Str "section." + ] + , Header + 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ] + , Para + [ Str "with" + , Space + , Str "no" + , Space + , Str "blank" + , Space + , Str "line" + ] + , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ] + , Para + [ Str "Here\8217s" + , Space + , Str "a" + , Space + , Str "regular" + , Space + , Str "paragraph." + ] + , 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." + ] + , Para + [ Str "Here\8217s" + , Space + , Str "one" + , Space + , Str "with" + , Space + , Str "a" + , Space + , Str "bullet." + , Space + , Str "*" + , Space + , Str "criminey." + ] + , Header + 1 + ( "block-quotes" , [] , [] ) + [ Str "Block" , Space , Str "Quotes" ] + , Para [ Str "E-mail" , Space , Str "style:" ] + , BlockQuote + [ 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." + ] + ] + , BlockQuote + [ Para + [ Str "Code" + , Space + , Str "in" + , Space + , Str "a" + , Space + , Str "block" + , Space + , Str "quote:" + ] + , CodeBlock + ( "" , [] , [] ) "sub status {\n print \"working\";\n}" + , CodeBlock ( "" , [] , [] ) "% ls" + , Para [ Str "A" , Space , Str "list:" ] + , OrderedList + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "item" , Space , Str "one" ] ] + , [ Para [ Str "item" , Space , Str "two" ] ] + ] + , Para + [ Str "Nested" + , Space + , Str "block" + , Space + , Str "quotes:" + ] + , BlockQuote [ Para [ Str "nested" ] ] + , BlockQuote [ Para [ Str "nested" ] ] + ] + , 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." ] - , CodeBlock - ( "", [], [] ) "sub status {\n print \"working\";\n}" - , CodeBlock - ( "", [], [] ) "% ls" - , Para - [ Str "A", Space, Str "list:" ] - , OrderedList - ( 1, Decimal, DefaultDelim ) - [ - [ Para [ Str "item", Space, Str "one" ] ] - , - [ Para [ Str "item", Space, Str "two" ] ] + , Para + [ Str "And" + , Space + , Str "a" + , Space + , Str "following" + , Space + , Str "paragraph." ] - , Para - [ Str "Nested", Space, Str "block", Space, Str "quotes:" ] - , BlockQuote - [ Para [ Str "nested" ] ] - , BlockQuote - [ Para [ Str "nested" ] ] - ] - , 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." - ] - , Para - [ Str "And" - , Space - , Str "a" - , Space - , Str "following" - , Space - , Str "paragraph." - ] - , Header 1 - ( "code-blocks", [], [] ) - [ Str "Code", Space, Str "Blocks" ] - , Para - [ Str "Code:" ] + , Header + 1 + ( "code-blocks" , [] , [] ) + [ Str "Code" , Space , Str "Blocks" ] + , Para [ Str "Code:" ] , CodeBlock - ( "" - , [] - , [] - ) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab" - , Para - [ Str "And:" ] + ( "" , [] , [] ) + "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab" + , Para [ Str "And:" ] , CodeBlock - ( "" - , [] - , [] - ) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{" - , Header 1 - ( "lists", [], [] ) - [ Str "Lists" ] - , Header 2 - ( "unordered", [], [] ) - [ Str "Unordered" ] - , Para - [ Str "Asterisks", Space, Str "loose:" ] + ( "" , [] , [] ) + " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{" + , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ] + , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ] + , Para [ Str "Asterisks" , Space , Str "loose:" ] , BulletList - [ - [ Para [ Str "asterisk", Space, Str "1" ] ] - , - [ Para [ Str "asterisk", Space, Str "2" ] ] - , - [ Para [ Str "asterisk", Space, Str "3" ] ] - ] - , Para - [ Str "Pluses", Space, Str "loose:" ] + [ [ Para [ Str "asterisk" , Space , Str "1" ] ] + , [ Para [ Str "asterisk" , Space , Str "2" ] ] + , [ Para [ Str "asterisk" , Space , Str "3" ] ] + ] + , Para [ Str "Pluses" , Space , Str "loose:" ] , BulletList - [ - [ Para [ Str "Plus", Space, Str "1" ] ] - , - [ Para [ Str "Plus", Space, Str "2" ] ] - , - [ Para [ Str "Plus", Space, Str "3" ] ] - ] - , Para - [ Str "Minuses", Space, Str "loose:" ] + [ [ Para [ Str "Plus" , Space , Str "1" ] ] + , [ Para [ Str "Plus" , Space , Str "2" ] ] + , [ Para [ Str "Plus" , Space , Str "3" ] ] + ] + , Para [ Str "Minuses" , Space , Str "loose:" ] , BulletList - [ - [ Para [ Str "Minus", Space, Str "1" ] ] - , - [ Para [ Str "Minus", Space, Str "2" ] ] - , - [ Para [ Str "Minus", Space, Str "3" ] ] - ] - , Header 2 - ( "ordered", [], [] ) - [ Str "Ordered" ] + [ [ Para [ Str "Minus" , Space , Str "1" ] ] + , [ Para [ Str "Minus" , Space , Str "2" ] ] + , [ Para [ Str "Minus" , Space , Str "3" ] ] + ] + , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ] , OrderedList - ( 1, Decimal, DefaultDelim ) - [ - [ Para [ Str "First" ] ] - , - [ Para [ Str "Second" ] ] - , - [ Para [ Str "Third" ] ] - ] + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second" ] ] + , [ Para [ Str "Third" ] ] + ] , Para - [ Str "and", Space, Str "using", Space, Str "spaces:" ] + [ Str "and" , Space , Str "using" , Space , Str "spaces:" ] , OrderedList - ( 1, Decimal, DefaultDelim ) - [ - [ Para [ Str "One" ] ] - , - [ Para [ Str "Two" ] ] - , - [ Para [ Str "Three" ] ] - ] - , Para - [ Str "Multiple", Space, Str "paragraphs:" ] + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "One" ] ] + , [ Para [ Str "Two" ] ] + , [ Para [ Str "Three" ] ] + ] + , Para [ Str "Multiple" , Space , Str "paragraphs:" ] , OrderedList - ( 1, Decimal, DefaultDelim ) - [ - [ Para - [ Str "Item" - , Space - , Str "1," - , Space - , Str "graf" - , Space - , Str "one." + ( 1 , Decimal , DefaultDelim ) + [ [ Para + [ Str "Item" + , Space + , Str "1," + , Space + , Str "graf" + , Space + , Str "one." + ] + , 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." + ] ] - , 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." + , [ Para [ Str "Item" , Space , Str "2." ] ] + , [ Para [ Str "Item" , Space , Str "3." ] ] + ] + , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ] + , BulletList + [ [ Para [ Str "Tab" ] + , BulletList + [ [ Para [ Str "Tab" ] + , BulletList [ [ Para [ Str "Tab" ] ] ] + ] + ] ] ] - , - [ Para [ Str "Item", Space, Str "2." ] ] - , - [ Para [ Str "Item", Space, Str "3." ] ] - ] - , Header 2 - ( "nested", [], [] ) - [ Str "Nested" ] - , BulletList - [ - [ Para - [ Str "Tab" ] - , BulletList - [ - [ Para [ Str "Tab" ], BulletList [ [ Para [ Str "Tab" ] ] ] ] - ] - ] - ] - , Para - [ Str "Here\8217s", Space, Str "another:" ] + , Para [ Str "Here\8217s" , Space , Str "another:" ] , OrderedList - ( 1, Decimal, DefaultDelim ) - [ - [ Para [ Str "First" ] ] - , - [ Para - [ Str "Second:" ] - , BulletList - [ - [ Para [ Str "Fee" ] ] - , - [ Para [ Str "Fie" ] ] - , - [ Para [ Str "Foe" ] ] + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Para [ Str "Fee" ] ] + , [ Para [ Str "Fie" ] ] + , [ Para [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] , Para - [ Str "Same" - , Space - , Str "thing" - , Space - , Str "but" - , Space - , Str "with" - , Space - , Str "paragraphs:" - ] + [ Str "Same" + , Space + , Str "thing" + , Space + , Str "but" + , Space + , Str "with" + , Space + , Str "paragraphs:" + ] , OrderedList - ( 1, Decimal, DefaultDelim ) - [ - [ Para [ Str "First" ] ] - , - [ Para - [ Str "Second:" ] - , BulletList - [ - [ Para [ Str "Fee" ] ] - , - [ Para [ Str "Fie" ] ] - , - [ Para [ Str "Foe" ] ] + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "First" ] ] + , [ Para [ Str "Second:" ] + , BulletList + [ [ Para [ Str "Fee" ] ] + , [ Para [ Str "Fie" ] ] + , [ Para [ Str "Foe" ] ] + ] ] + , [ Para [ Str "Third" ] ] ] - , - [ Para [ Str "Third" ] ] - ] - , Header 2 - ( "tabs-and-spaces", [], [] ) - [ Str "Tabs", Space, Str "and", Space, Str "spaces" ] + , Header + 2 + ( "tabs-and-spaces" , [] , [] ) + [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ] , BulletList - [ - [ Para - [ Str "this" - , Space - , Str "is" - , Space - , Str "a" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "indented" - , Space - , Str "with" - , Space - , Str "tabs" - ] - ] - , - [ Para - [ Str "this" - , Space - , Str "is" - , Space - , Str "a" - , Space - , Str "list" - , Space - , Str "item" - , Space - , Str "indented" - , Space - , Str "with" - , Space - , Str "spaces" - ] - , BulletList - [ - [ Para + [ [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -567,16 +473,13 @@ Pandoc , Space , Str "tabs" ] - ] - , - [ Para + ] + , [ Para [ Str "this" , Space , Str "is" , Space - , Str "an" - , Space - , Str "example" + , Str "a" , Space , Str "list" , Space @@ -588,2468 +491,2440 @@ Pandoc , Space , Str "spaces" ] - ] - ] - ] - ] - , Header 2 - ( "fancy-list-markers", [], [] ) - [ Str "Fancy", Space, Str "list", Space, Str "markers" ] - , OrderedList - ( 2, Decimal, DefaultDelim ) - [ - [ Para [ Str "begins", Space, Str "with", Space, Str "2" ] ] - , - [ Para - [ Str "and", Space, Str "now", Space, Str "3" ] - , Para - [ Str "with", Space, Str "a", Space, Str "continuation" ] - , OrderedList - ( 4, LowerRoman, DefaultDelim ) - [ - [ Para - [ Str "sublist" - , Space - , Str "with" - , Space - , Str "roman" - , Space - , Str "numerals," - , Space - , Str "starting" - , Space - , Str "with" - , Space - , Str "4" - ] - ] - , - [ Para - [ Str "more", Space, Str "items" ] - , OrderedList - ( 1, UpperAlpha, DefaultDelim ) - [ - [ Para [ Str "a", Space, Str "subsublist" ] ] - , - [ Para [ Str "a", Space, Str "subsublist" ] ] - ] - ] - ] - ] - ] - , Para - [ Str "Nesting:" ] - , OrderedList - ( 1, UpperAlpha, DefaultDelim ) - [ - [ Para - [ Str "Upper", Space, Str "Alpha" ] - , OrderedList - ( 1, UpperRoman, DefaultDelim ) - [ - [ Para - [ Str "Upper", Space, Str "Roman." ] - , OrderedList - ( 6, Decimal, DefaultDelim ) - [ - [ Para - [ Str "Decimal" - , Space - , Str "start" - , Space - , Str "with" - , Space - , Str "6" - ] - , OrderedList - ( 3, LowerAlpha, DefaultDelim ) - [ - [ Para - [ Str "Lower" - , Space - , Str "alpha" - , Space - , Str "with" - , Space - , Str "paren" - ] + , BulletList + [ [ 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" + ] + ] + , [ 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" ] - ] ] ] - ] ] ] - ] - , Para - [ Str "Autonumbering:" ] + , Header + 2 + ( "fancy-list-markers" , [] , [] ) + [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ] , OrderedList - ( 1, Decimal, DefaultDelim ) - [ - [ Para [ Str "Autonumber." ] ] - , - [ Para - [ Str "More." ] - , OrderedList - ( 1, Decimal, DefaultDelim ) - [ [ Para [ Str "Nested." ] ] ] + ( 2 , Decimal , DefaultDelim ) + [ [ Para + [ Str "begins" , Space , Str "with" , Space , Str "2" ] + ] + , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ] + , Para + [ Str "with" + , Space + , Str "a" + , Space + , Str "continuation" + ] + , OrderedList + ( 4 , LowerRoman , DefaultDelim ) + [ [ Para + [ Str "sublist" + , Space + , Str "with" + , Space + , Str "roman" + , Space + , Str "numerals," + , Space + , Str "starting" + , Space + , Str "with" + , Space + , Str "4" + ] + ] + , [ Para [ Str "more" , Space , Str "items" ] + , OrderedList + ( 1 , UpperAlpha , DefaultDelim ) + [ [ Para [ Str "a" , Space , Str "subsublist" ] ] + , [ Para [ Str "a" , Space , Str "subsublist" ] ] + ] + ] + ] + ] + ] + , Para [ Str "Nesting:" ] + , OrderedList + ( 1 , UpperAlpha , DefaultDelim ) + [ [ Para [ Str "Upper" , Space , Str "Alpha" ] + , OrderedList + ( 1 , UpperRoman , DefaultDelim ) + [ [ Para [ Str "Upper" , Space , Str "Roman." ] + , OrderedList + ( 6 , Decimal , DefaultDelim ) + [ [ Para + [ Str "Decimal" + , Space + , Str "start" + , Space + , Str "with" + , Space + , Str "6" + ] + , OrderedList + ( 3 , LowerAlpha , DefaultDelim ) + [ [ Para + [ Str "Lower" + , Space + , Str "alpha" + , Space + , Str "with" + , Space + , Str "paren" + ] + ] + ] + ] + ] + ] + ] + ] + ] + , Para [ Str "Autonumbering:" ] + , OrderedList + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "Autonumber." ] ] + , [ Para [ Str "More." ] + , OrderedList + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "Nested." ] ] ] + ] ] - ] , Para - [ Str "Should" - , Space - , Str "not" - , Space - , Str "be" - , Space - , Str "a" - , Space - , Str "list" - , Space - , Str "item:" - ] - , Para - [ Str "M.A.\160\&2007" ] - , Para - [ Str "B.", Space, Str "Williams" ] - , Header 2 - ( "callout", [], [] ) - [ Str "Callout" ] - , Para - [ Str "Simple." ] + [ Str "Should" + , Space + , Str "not" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "list" + , Space + , Str "item:" + ] + , Para [ Str "M.A.\160\&2007" ] + , Para [ Str "B." , Space , Str "Williams" ] + , Header 2 ( "callout" , [] , [] ) [ Str "Callout" ] + , Para [ Str "Simple." ] , BulletList - [ - [ 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." - ] - ] - , - [ 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 "." - ] - ] - , - [ 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." - ] - ] - ] - , Header 1 - ( "definition-lists", [], [] ) - [ Str "Definition", Space, Str "Lists" ] - , DefinitionList - [ - ( - [ Str "apple" ] - , - [ [ Para [ Str "red", Space, Str "fruit" ] ] ] - ) - , - ( - [ Str "orange" ] - , - [ [ Para [ Str "orange", Space, Str "fruit" ] ] ] - ) - , - ( - [ Str "banana" ] - , - [ [ Para [ Str "yellow", Space, Str "fruit" ] ] ] - ) - ] - , Para - [ Str "Multiple" - , Space - , Str "blocks" - , Space - , Str "with" - , Space - , Str "italics:" - ] - , DefinitionList - [ - ( - [ Emph [ Str "apple" ] ] - , - [ - [ Para - [ Str "red", Space, Str "fruit" ] - , Para - [ Str "contains" + [ [ Para + [ Str "A" , Space - , Str "seeds," + , Code ( "" , [] , [] ) "__letrec" , Space - , Str "crisp," + , Str "is" , Space - , Str "pleasant" + , Str "equivalent" , Space , Str "to" , Space - , Str "taste" + , Str "a" + , Space + , Str "normal" + , SoftBreak + , Str "Haskell" + , Space + , Str "LET." + ] + ] + , [ 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 "." + ] + ] + , [ 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." + ] + ] + ] + , Header + 1 + ( "definition-lists" , [] , [] ) + [ Str "Definition" , Space , Str "Lists" ] + , DefinitionList + [ ( [ Str "apple" ] + , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ] + ) + , ( [ Str "orange" ] + , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ] + ) + , ( [ Str "banana" ] + , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ] + ) + ] + , Para + [ Str "Multiple" + , Space + , Str "blocks" + , Space + , Str "with" + , Space + , Str "italics:" + ] + , DefinitionList + [ ( [ Emph [ Str "apple" ] ] + , [ [ Para [ Str "red" , Space , Str "fruit" ] + , Para + [ Str "contains" + , Space + , Str "seeds," + , Space + , Str "crisp," + , Space + , Str "pleasant" + , Space + , Str "to" + , Space + , Str "taste" + ] ] ] - ] - ) - , - ( - [ Emph [ Str "orange" ] ] - , - [ - [ Para - [ Str "orange", Space, Str "fruit" ] - , CodeBlock - ( "", [], [] ) "{ orange code block }" - , BlockQuote - [ Para - [ Str "orange", Space, Str "block", Space, Str "quote" ] + ) + , ( [ Emph [ Str "orange" ] ] + , [ [ Para [ Str "orange" , Space , Str "fruit" ] + , CodeBlock ( "" , [] , [] ) "{ orange code block }" + , BlockQuote + [ Para + [ Str "orange" + , Space + , Str "block" + , Space + , Str "quote" + ] + ] ] ] - ] - ) - ] + ) + ] , Para - [ Str "Multiple", Space, Str "definitions,", Space, Str "loose:" ] + [ Str "Multiple" + , Space + , Str "definitions," + , Space + , Str "loose:" + ] , DefinitionList - [ - ( - [ Str "apple" ] - , - [ - [ Para [ Str "red", Space, Str "fruit" ] ] - , - [ Para [ Str "computer" ] ] - ] - ) - , - ( - [ Str "orange" ] - , - [ - [ Para [ Str "orange", Space, Str "fruit" ] ] - , - [ Para [ Str "bank" ] ] - ] - ) - ] - , Para - [ Str "Blank" - , Space - , Str "line" - , Space - , Str "after" - , Space - , Str "term," - , Space - , Str "indented" - , Space - , Str "marker," - , Space - , Str "alternate" - , Space - , Str "markers:" - ] - , DefinitionList - [ - ( - [ Str "apple" ] - , - [ - [ Para [ Str "red", Space, Str "fruit" ] ] - , - [ Para [ Str "computer" ] ] - ] - ) - , - ( - [ Str "orange" ] - , - [ - [ Para - [ Str "orange", Space, Str "fruit" ] - , OrderedList - ( 1, Decimal, DefaultDelim ) - [ [ Para [ Str "sublist" ] ], [ Para [ Str "sublist" ] ] ] + [ ( [ Str "apple" ] + , [ [ Para [ Str "red" , Space , Str "fruit" ] ] + , [ Para [ Str "computer" ] ] ] - ] - ) - ] - , Header 1 - ( "inline-markup", [], [] ) - [ Str "Inline", Space, Str "Markup" ] - , 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 "." - ] - , 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 "." - ] - , Para - [ Str "An" - , Space - , Emph - [ Link - ( "", [], [] ) - [ Str "emphasized", Space, Str "link" ] - ( "/url", "" ) + ) + , ( [ Str "orange" ] + , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] + , [ Para [ Str "bank" ] ] + ] + ) ] - , Str "." - ] , Para - [ Strong - [ Emph - [ Str "This" - , Space - , Str "is" - , Space - , Str "strong" - , Space - , Str "and" - , SoftBreak - , Str "em." - ] + [ Str "Blank" + , Space + , Str "line" + , Space + , Str "after" + , Space + , Str "term," + , Space + , Str "indented" + , Space + , Str "marker," + , Space + , Str "alternate" + , Space + , Str "markers:" ] - ] - , Para - [ Str "So" - , Space - , Str "is" - , Space - , Strong - [ Emph [ Str "this" ] ] - , Space - , Str "word." - ] - , Para - [ Strong - [ Emph - [ Str "This" - , Space - , Str "is" - , Space - , Str "strong" - , Space - , Str "and" - , SoftBreak - , Str "em." - ] + , DefinitionList + [ ( [ Str "apple" ] + , [ [ Para [ Str "red" , Space , Str "fruit" ] ] + , [ Para [ Str "computer" ] ] + ] + ) + , ( [ Str "orange" ] + , [ [ Para [ Str "orange" , Space , Str "fruit" ] + , OrderedList + ( 1 , Decimal , DefaultDelim ) + [ [ Para [ Str "sublist" ] ] + , [ Para [ Str "sublist" ] ] + ] + ] + ] + ) ] - ] + , Header + 1 + ( "inline-markup" , [] , [] ) + [ Str "Inline" , Space , Str "Markup" ] , Para - [ Str "So" - , Space - , Str "is" - , Space - , Strong - [ Emph [ Str "this" ] ] - , Space - , Str "word." - ] - , Para - [ Str "This" - , Space - , Str "is" - , Space - , Str "code:" - , Space - , Code - ( "", [], [] ) ">" - , Str "," - , Space - , Code - ( "", [], [] ) "$" - , Str "," - , SoftBreak - , Code - ( "", [], [] ) "\\" - , Str "," - , Space - , Code - ( "", [], [] ) "\\$" - , Str "," - , SoftBreak - , Code - ( "", [], [] ) "" - , Str "." - ] - , Para - [ Str "More" - , Space - , Str "code:" - , Space - , Code - ( "", [], [] ) "Class" - , Space - , Str "and" - , Space - , Code - ( "", [], [] ) "Type" - ] - , Para - [ Str "Referencing" - , Space - , Str "a" - , Space - , Str "man" - , Space - , Str "page:" - , Space - , Code - ( "", [ "citerefentry" ], [] ) "nix.conf(5)" - ] - , Para - [ Strikeout [ Str "This" , Space , Str "is" - , SoftBreak - , Emph - [ Str "strikeout" ] + , Space + , Emph [ Str "emphasized" ] + , Str "," + , Space + , Str "and" + , Space + , Str "so" + , Space + , Emph [ Str "is" , SoftBreak , Str "this" ] , Str "." ] - ] , 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 "." - ] - , 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." - ] - , 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." - ] - , Header 1 - ( "smart-quotes-ellipses-dashes", [], [] ) - [ Str "Smart" - , Space - , Str "quotes," - , Space - , Str "ellipses," - , Space - , Str "dashes" - ] - , Para - [ Quoted DoubleQuote - [ Str "Hello," ] - , Space - , Str "said" - , Space - , Str "the" - , Space - , Str "spider." - , Space - , Quoted DoubleQuote - [ Quoted SingleQuote - [ Str "Shelob" ] + [ Str "This" , Space , Str "is" , Space - , Str "my" + , Strong [ Str "strong" ] + , Str "," + , Space + , Str "and" + , Space + , Str "so" , SoftBreak + , Strong [ Str "is" , Space , Str "this" ] + , Str "." + ] + , Para + [ Str "An" + , Space + , Emph + [ Link + ( "" , [] , [] ) + [ Str "emphasized" , Space , Str "link" ] + ( "/url" , "" ) + ] + , Str "." + ] + , Para + [ Strong + [ Emph + [ Str "This" + , Space + , Str "is" + , Space + , Str "strong" + , Space + , Str "and" + , SoftBreak + , Str "em." + ] + ] + ] + , Para + [ Str "So" + , Space + , Str "is" + , Space + , Strong [ Emph [ Str "this" ] ] + , Space + , Str "word." + ] + , Para + [ Strong + [ Emph + [ Str "This" + , Space + , Str "is" + , Space + , Str "strong" + , Space + , Str "and" + , SoftBreak + , Str "em." + ] + ] + ] + , Para + [ Str "So" + , Space + , Str "is" + , Space + , Strong [ Emph [ Str "this" ] ] + , Space + , Str "word." + ] + , Para + [ Str "This" + , Space + , Str "is" + , Space + , Str "code:" + , Space + , Code ( "" , [] , [] ) ">" + , Str "," + , Space + , Code ( "" , [] , [] ) "$" + , Str "," + , SoftBreak + , Code ( "" , [] , [] ) "\\" + , Str "," + , Space + , Code ( "" , [] , [] ) "\\$" + , Str "," + , SoftBreak + , Code ( "" , [] , [] ) "" + , Str "." + ] + , Para + [ Str "More" + , Space + , Str "code:" + , Space + , Code ( "" , [] , [] ) "Class" + , Space + , Str "and" + , Space + , Code ( "" , [] , [] ) "Type" + ] + , Para + [ Str "Referencing" + , Space + , Str "a" + , Space + , Str "man" + , Space + , Str "page:" + , Space + , Code ( "" , [ "citerefentry" ] , [] ) "nix.conf(5)" + ] + , Para + [ Strikeout + [ Str "This" + , Space + , Str "is" + , SoftBreak + , Emph [ Str "strikeout" ] + , Str "." + ] + ] + , 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 "." + ] + , 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." + ] + , 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." + ] + , Header + 1 + ( "smart-quotes-ellipses-dashes" , [] , [] ) + [ Str "Smart" + , Space + , Str "quotes," + , Space + , Str "ellipses," + , Space + , Str "dashes" + ] + , 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." + ] + ] + , 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." + ] + , 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?" + ] + , Para + [ Str "Some" + , Space + , Str "dashes:" + , Space + , Str "one\8212two" + , Space + , Str "\8212" + , Space + , Str "three\8212four" + , Space + , Str "\8212" + , Space + , Str "five." + ] + , Para + [ Str "Dashes" + , Space + , Str "between" + , Space + , Str "numbers:" + , Space + , Str "5\8211\&7," + , Space + , Str "255\8211\&66," + , Space + , Str "1987\8211\&1999." + ] + , Para [ Str "Ellipses\8230and\8230and\8230." ] + , Header 1 ( "math" , [] , [] ) [] + , Para + [ Math DisplayMath "e = mc^{2}" + , Math DisplayMath "1" + , SoftBreak + , Math InlineMath "e = mc^{2}" + , SoftBreak + , Math DisplayMath "e = mc^{2}" + ] + , Header + 1 + ( "special-characters" , [] , [] ) + [ Str "Special" , Space , Str "Characters" ] + , Para + [ Str "Here" + , Space + , Str "is" + , Space + , Str "some" + , Space + , Str "unicode:" + ] + , BulletList + [ [ Para + [ Str "I" , Space , Str "hat:" , Space , Str "\206" ] + ] + , [ Para + [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ] + ] + , [ Para [ Str "section:" , Space , Str "\167" ] ] + , [ Para + [ Str "set" + , Space + , Str "membership:" + , Space + , Str "\8712" + ] + ] + , [ Para [ Str "copyright:" , Space , Str "\169" ] ] + ] + , Para + [ Str "AT&T" + , Space + , Str "has" + , Space + , Str "an" + , Space + , Str "ampersand" + , Space + , Str "in" + , Space + , Str "their" + , Space , Str "name." ] - ] , 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." - ] - , Para - [ Quoted DoubleQuote - [ Str "He" + [ Str "AT&T" , Space - , Str "said," + , Str "is" , Space - , Quoted SingleQuote - [ Str "I" - , Space - , Str "want" - , Space - , Str "to" - , Space - , Str "go." - ] + , Str "another" + , Space + , Str "way" + , Space + , Str "to" + , Space + , Str "write" + , Space + , Str "it." ] - , Space - , Str "Were" - , Space - , Str "you" - , Space - , Str "alive" - , Space - , Str "in" - , Space - , Str "the" - , SoftBreak - , Str "70\8217s?" - ] , Para - [ Str "Some" - , Space - , Str "dashes:" - , Space - , Str "one\8212two" - , Space - , Str "\8212" - , Space - , Str "three\8212four" - , Space - , Str "\8212" - , Space - , Str "five." - ] + [ Str "This" , Space , Str "&" , Space , Str "that." ] + , Para [ Str "4" , Space , Str "<" , Space , Str "5." ] + , Para [ Str "6" , Space , Str ">" , Space , Str "5." ] + , Para [ Str "Backslash:" , Space , Str "\\" ] + , Para [ Str "Backtick:" , Space , Str "`" ] + , Para [ Str "Asterisk:" , Space , Str "*" ] + , Para [ Str "Underscore:" , Space , Str "_" ] , Para - [ Str "Dashes" - , Space - , Str "between" - , Space - , Str "numbers:" - , Space - , Str "5\8211\&7," - , Space - , Str "255\8211\&66," - , Space - , Str "1987\8211\&1999." - ] + [ Str "Left" , Space , Str "brace:" , Space , Str "{" ] , Para - [ Str "Ellipses\8230and\8230and\8230." ] - , Header 1 - ( "math", [], [] ) [] + [ Str "Right" , Space , Str "brace:" , Space , Str "}" ] , Para - [ Math DisplayMath "e = mc^{2}" - , Math DisplayMath "1" - , SoftBreak - , Math InlineMath "e = mc^{2}" - , SoftBreak - , Math DisplayMath "e = mc^{2}" - ] - , Header 1 - ( "special-characters", [], [] ) - [ Str "Special", Space, Str "Characters" ] + [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ] , Para - [ Str "Here" - , Space - , Str "is" - , Space - , Str "some" - , Space - , Str "unicode:" - ] - , BulletList - [ - [ Para [ Str "I", Space, Str "hat:", Space, Str "\206" ] ] - , - [ Para [ Str "o", Space, Str "umlaut:", Space, Str "\246" ] ] - , - [ Para [ Str "section:", Space, Str "\167" ] ] - , - [ Para - [ Str "set", Space, Str "membership:", Space, Str "\8712" ] + [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ] + , Para + [ Str "Left" , Space , Str "paren:" , Space , Str "(" ] + , Para + [ Str "Right" , Space , Str "paren:" , Space , Str ")" ] + , Para [ Str "Greater-than:" , Space , Str ">" ] + , Para [ Str "Hash:" , Space , Str "#" ] + , Para [ Str "Period:" , Space , Str "." ] + , Para [ Str "Bang:" , Space , Str "!" ] + , Para [ Str "Plus:" , Space , Str "+" ] + , Para [ Str "Minus:" , Space , Str "-" ] + , Header 1 ( "links" , [] , [] ) [ Str "Links" ] + , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ] + , Para + [ Str "Just" + , Space + , Str "a" + , Space + , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" ) + , Str "." ] - , - [ Para [ Str "copyright:", Space, Str "\169" ] ] - ] , Para - [ Str "AT&T" - , Space - , Str "has" - , Space - , Str "an" - , Space - , Str "ampersand" - , Space - , Str "in" - , Space - , Str "their" - , Space - , Str "name." - ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "AT&T" - , Space - , Str "is" - , Space - , Str "another" - , Space - , Str "way" - , Space - , Str "to" - , Space - , Str "write" - , Space - , Str "it." - ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "This", Space, Str "&", Space, Str "that." ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "4", Space, Str "<", Space, Str "5." ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "" ) + ] , Para - [ Str "6", Space, Str ">", Space, Str "5." ] + [ Link + ( "" , [] , [] ) + [ Str "URL" , Space , Str "and" , Space , Str "title" ] + ( "/url/" , "" ) + ] , Para - [ Str "Backslash:", Space, Str "\\" ] + [ Link + ( "" , [] , [] ) + [ Str "with_underscore" ] + ( "/url/with_underscore" , "" ) + ] , Para - [ Str "Backtick:", Space, Str "`" ] + [ Link + ( "" , [] , [] ) + [ Str "nobody@nowhere.net" ] + ( "mailto:nobody@nowhere.net" , "" ) + ] , Para - [ Str "Asterisk:", Space, Str "*" ] + [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" ) + , Str "." + ] + , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ] , Para - [ Str "Underscore:", Space, Str "_" ] + [ Str "Foo" + , Space + , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "Left", Space, Str "brace:", Space, Str "{" ] + [ Str "Foo" + , Space + , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "Right", Space, Str "brace:", Space, Str "}" ] + [ Str "Foo" + , Space + , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "Left", Space, Str "bracket:", Space, Str "[" ] + [ Str "With" + , Space + , Link + ( "" , [] , [] ) + [ Str "embedded" , Space , Str "[brackets]" ] + ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "Right", Space, Str "bracket:", Space, Str "]" ] + [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" ) + , Space + , Str "by" + , Space + , Str "itself" + , Space + , Str "should" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "link." + ] , Para - [ Str "Left", Space, Str "paren:", Space, Str "(" ] + [ Str "Indented" + , Space + , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" ) + , Str "." + ] , Para - [ Str "Right", Space, Str "paren:", Space, Str ")" ] + [ Str "Indented" + , Space + , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" ) + , Str "." + ] , Para - [ Str "Greater-than:", Space, Str ">" ] + [ Str "Indented" + , Space + , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" ) + , Str "." + ] , Para - [ Str "Hash:", Space, Str "#" ] + [ Str "This" + , Space + , Str "should" + , Space + , Str "[not][]" + , Space + , Str "be" + , Space + , Str "a" + , Space + , Str "link." + ] + , CodeBlock ( "" , [] , [] ) "[not]: /url" , Para - [ Str "Period:", Space, Str "." ] + [ Str "Foo" + , Space + , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" ) + , Str "." + ] , Para - [ Str "Bang:", Space, Str "!" ] + [ Str "Foo" + , Space + , Link ( "" , [] , [] ) [ Str "biz" ] ( "/url/" , "" ) + , Str "." + ] + , Header + 2 + ( "with-ampersands" , [] , [] ) + [ Str "With" , Space , Str "ampersands" ] , Para - [ Str "Plus:", Space, Str "+" ] + [ 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 "." + ] , Para - [ Str "Minus:", Space, Str "-" ] - , Header 1 - ( "links", [], [] ) - [ Str "Links" ] - , Header 2 - ( "explicit", [], [] ) - [ Str "Explicit" ] - , Para - [ Str "Just" - , Space - , Str "a" - , Space - , Link - ( "", [], [] ) - [ Str "URL" ] - ( "/url/", "" ) - , Str "." - ] - , Para - [ Link - ( "", [], [] ) - [ Str "URL", Space, Str "and", Space, Str "title" ] - ( "/url/", "" ) - , Str "." - ] - , Para - [ Link - ( "", [], [] ) - [ Str "URL", Space, Str "and", Space, Str "title" ] - ( "/url/", "" ) - , Str "." - ] - , Para - [ Link - ( "", [], [] ) - [ Str "URL", Space, Str "and", Space, Str "title" ] - ( "/url/", "" ) - , Str "." - ] - , Para - [ Link - ( "", [], [] ) - [ Str "URL", Space, Str "and", Space, Str "title" ] - ( "/url/", "" ) - ] - , Para - [ Link - ( "", [], [] ) - [ Str "URL", Space, Str "and", Space, Str "title" ] - ( "/url/", "" ) - ] - , Para - [ Link - ( "", [], [] ) - [ Str "with_underscore" ] - ( "/url/with_underscore", "" ) - ] - , Para - [ Link - ( "", [], [] ) - [ Str "nobody@nowhere.net" ] - ( "mailto:nobody@nowhere.net", "" ) - ] - , Para - [ Link ( "", [], [] ) [ Str "Empty" ] ( "", "" ), Str "." ] - , Header 2 - ( "reference", [], [] ) - [ Str "Reference" ] - , Para - [ Str "Foo" - , Space - , Link - ( "", [], [] ) - [ Str "bar" ] - ( "/url/", "" ) - , Str "." - ] - , Para - [ Str "Foo" - , Space - , Link - ( "", [], [] ) - [ Str "bar" ] - ( "/url/", "" ) - , Str "." - ] - , Para - [ Str "Foo" - , Space - , Link - ( "", [], [] ) - [ Str "bar" ] - ( "/url/", "" ) - , Str "." - ] - , Para - [ Str "With" - , Space - , Link - ( "", [], [] ) - [ Str "embedded", Space, Str "[brackets]" ] - ( "/url/", "" ) - , Str "." - ] - , Para - [ Link - ( "", [], [] ) - [ Str "b" ] - ( "/url/", "" ) - , Space - , Str "by" - , Space - , Str "itself" - , Space - , Str "should" - , Space - , Str "be" - , Space - , Str "a" - , Space - , Str "link." - ] - , Para - [ Str "Indented" - , Space - , Link - ( "", [], [] ) - [ Str "once" ] - ( "/url", "" ) - , Str "." - ] - , Para - [ Str "Indented" - , Space - , Link - ( "", [], [] ) - [ Str "twice" ] - ( "/url", "" ) - , Str "." - ] - , Para - [ Str "Indented" - , Space - , Link - ( "", [], [] ) - [ Str "thrice" ] - ( "/url", "" ) - , Str "." - ] - , Para - [ Str "This" - , Space - , Str "should" - , Space - , Str "[not][]" - , Space - , Str "be" - , Space - , Str "a" - , Space - , Str "link." - ] - , CodeBlock - ( "", [], [] ) "[not]: /url" - , Para - [ Str "Foo" - , Space - , Link - ( "", [], [] ) - [ Str "bar" ] - ( "/url/", "" ) - , Str "." - ] - , Para - [ Str "Foo" - , Space - , Link - ( "", [], [] ) - [ Str "biz" ] - ( "/url/", "" ) - , Str "." - ] - , Header 2 - ( "with-ampersands", [], [] ) - [ Str "With", Space, Str "ampersands" ] - , Para - [ Str "Here\8217s" - , Space - , Str "a" - , Space - , Link - ( "", [], [] ) - [ Str "link" + [ Str "Here\8217s" + , Space + , Str "a" + , Space + , Str "link" , Space , Str "with" , Space , Str "an" - , SoftBreak - , Str "ampersand" + , Space + , Str "amersand" , Space , Str "in" , Space , Str "the" , Space - , Str "URL" - ] - ( "http://example.com/?foo=1&bar=2", "" ) - , Str "." - ] - , 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 "." - ] - , Para - [ Str "Here\8217s" - , Space - , Str "an" - , Space - , Link - ( "", [], [] ) - [ Str "inline", Space, Str "link" ] - ( "/script?foo=1&bar=2", "" ) - , Str "." - ] - , 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 "." - ] - , Header 2 - ( "autolinks", [], [] ) - [ Str "Autolinks" ] - , 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", "" ) - ] - , BulletList - [ - [ Para [ Str "In", Space, Str "a", Space, Str "list?" ] ] - , - [ Para - [ Link - ( "", [], [] ) - [ Str "http://example.com/" ] - ( "http://example.com/", "" ) - ] - ] - , - [ Para [ Str "It", Space, Str "should." ] ] - ] - , Para - [ Str "An" - , Space - , Str "e-mail" - , Space - , Str "address:" - , Space - , Link - ( "", [], [] ) - [ Str "nobody@nowhere.net" ] - ( "mailto:nobody@nowhere.net", "" ) - ] - , BlockQuote - [ Para - [ Str "Blockquoted:" + , Str "text:" , SoftBreak , Link - ( "", [], [] ) - [ Str "http://example.com/" ] - ( "http://example.com/", "" ) + ( "" , [] , [] ) [ Str "AT&T" ] ( "http://att.com/" , "" ) + , Str "." ] - ] , Para - [ Str "Auto-links" - , Space - , Str "should" - , Space - , Str "not" - , Space - , Str "occur" - , Space - , Str "here:" - , SoftBreak - , 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]."
- ]
- ]
- ]
- , BlockQuote
- [ Para
- [ Str "Notes"
- , Space
- , Str "can"
- , Space
- , Str "go"
- , Space
- , Str "in"
- , Space
- , Str "quotes."
- , Note
- [ Para [ Str "In", Space, Str "quote." ] ]
- ]
- ]
- , OrderedList
- ( 1, Decimal, DefaultDelim )
- [
- [ Para
- [ Str "And"
- , Space
- , Str "in"
- , Space
- , Str "list"
- , Space
- , Str "items."
- , Note
- [ Para [ Str "In", Space, Str "list." ] ]
- ]
- ]
- ]
- , 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."
- ]
- , Header 1
- ( "tables", [], [] )
- [ Str "Tables" ]
- , Para
- [ Str "Simple"
- , Space
- , Str "table"
- , Space
- , Str "with"
- , Space
- , Str "caption:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ Str "Demonstration"
- , Space
- , Str "of"
- , Space
- , Str "simple"
- , Space
- , Str "table"
- , Space
- , Str "syntax."
- ]
- ]
- )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Simple"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "caption:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Simple"
- , Space
- , Str "table"
- , Space
- , Str "indented"
- , Space
- , Str "two"
- , Space
- , Str "spaces:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ Str "Demonstration"
- , Space
- , Str "of"
- , Space
- , Str "simple"
- , Space
- , Str "table"
- , Space
- , Str "syntax."
- ]
- ]
- )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Multiline"
- , Space
- , Str "table"
- , Space
- , Str "with"
- , Space
- , Str "caption:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ 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, ColWidth 0.2 )
- ,
- ( AlignLeft, ColWidth 0.2 )
- ,
- ( AlignRight, ColWidth 0.3 )
- ,
- ( AlignLeft, ColWidth 0.3 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Centered", Space, Str "Header" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left", Space, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right", Space, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default", Space, Str "aligned" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , Space
- , Str "spans"
- , Space
- , Str "multiple"
- , Space
- , Str "lines."
- ]
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , SoftBreak
+ , Str "braces"
]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ 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."
- ]
- ]
- ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
, Para
- [ Str "Multiline"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "caption:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidth 0.1 )
- ,
- ( AlignLeft, ColWidth 0.2 )
- ,
- ( AlignRight, ColWidth 0.3 )
- ,
- ( AlignLeft, ColWidth 0.4 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Centered", Space, Str "Header" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left", Space, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right", Space, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default", Space, Str "aligned" ] ]
- ]
+ [ 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" , "" )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , Space
- , Str "spans"
- , Space
- , Str "multiple"
- , Space
- , Str "lines."
- ]
- ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ 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."
- ]
- ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Table"
- , Space
- , Str "without"
- , Space
- , Str "column"
- , Space
- , Str "headers:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignRight, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Multiline"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "column"
- , Space
- , Str "headers:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidth 0.25 )
- ,
- ( AlignLeft, ColWidth 0.25 )
- ,
- ( AlignRight, ColWidth 0.25 )
- ,
- ( AlignLeft, ColWidth 0.25 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , Space
- , Str "spans"
- , Space
- , Str "multiple"
- , Space
- , Str "lines."
- ]
- ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ 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."
- ]
- ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
, BulletList
- [
- [ Para [ Str "A", Space, Str "Step" ] ]
- ,
+ [ [ Para
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Para [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , BlockQuote
[ Para
- [ Str "Another", Space, Str "Step" ]
- , Para
- [ Str "Substeps"
- , Space
- , Str "can"
- , Space
- , Str "be"
- , Space
- , Str "nested"
- , Space
- , Str "indefinitely"
- , Space
- , Str "deep."
+ [ Str "Blockquoted:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , SoftBreak
+ , Code ( "" , [] , [] ) " "
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "or here: "
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , 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):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune" , Space , Str "fig" , Space , Str "caption" ]
+ ( "lalune.jpg" , "fig:" )
+ ]
+ , 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."
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune"
+ , Space
+ , Str "no"
+ , Space
+ , Str "figure"
+ , Space
+ , Str "alt"
+ , Space
+ , Str "text"
+ ]
+ ( "lalune.jpg" , "" )
+ ]
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , 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 ( "" , [] , [] ) " { }"
+ , 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]."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Notes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "in"
+ , Space
+ , Str "quotes."
+ , Note [ Para [ Str "In" , Space , Str "quote." ] ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , Decimal , DefaultDelim )
+ [ [ Para
+ [ Str "And"
+ , Space
+ , Str "in"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ , Note [ Para [ Str "In" , Space , Str "list." ] ]
+ ]
+ ]
+ ]
+ , 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."
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ]
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "two"
+ , Space
+ , Str "spaces:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ 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 , ColWidth 0.2 )
+ , ( AlignLeft , ColWidth 0.2 )
+ , ( AlignRight , ColWidth 0.3 )
+ , ( AlignLeft , ColWidth 0.3 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , Space , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ 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."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidth 0.1 )
+ , ( AlignLeft , ColWidth 0.2 )
+ , ( AlignRight , ColWidth 0.3 )
+ , ( AlignLeft , ColWidth 0.4 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , Space , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ 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."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidth 0.25 )
+ , ( AlignLeft , ColWidth 0.25 )
+ , ( AlignRight , ColWidth 0.25 )
+ , ( AlignLeft , ColWidth 0.25 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ 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."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , BulletList
+ [ [ Para [ Str "A" , Space , Str "Step" ] ]
+ , [ Para [ Str "Another" , Space , Str "Step" ]
+ , Para
+ [ Str "Substeps"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "indefinitely"
+ , Space
+ , Str "deep."
+ ]
+ ]
+ , [ Para
+ [ Str "A" , Space , Str "Final" , Space , Str "Step" ]
]
]
- ,
- [ Para [ Str "A", Space, Str "Final", Space, Str "Step" ] ]
- ]
]
diff --git a/test/docbook-xref.native b/test/docbook-xref.native
index 16113d50b..1b4ced24e 100644
--- a/test/docbook-xref.native
+++ b/test/docbook-xref.native
@@ -1,184 +1,177 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "title"
- , MetaInlines
- [ Str "An", Space, Str "Example", Space, Str "Book" ]
- )
- ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "title"
+ , MetaInlines
+ [ Str "An"
+ , Space
+ , Str "Example"
+ , Space
+ , Str "Book"
+ ]
+ )
+ ]
}
- )
- [ Header 1
- ( "ch01", [], [] )
- [ Str "XRef", Space, Str "Samples" ]
+ [ Header
+ 1
+ ( "ch01" , [] , [] )
+ [ Str "XRef" , Space , Str "Samples" ]
, Para
- [ Str "This"
- , Space
- , Str "paragraph"
- , Space
- , Str "demonstrates"
- , Space
- , Str "several"
- , Space
- , Str "features"
- , Space
- , Str "of"
- , SoftBreak
- , Str "XRef."
- ]
+ [ Str "This"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "demonstrates"
+ , Space
+ , Str "several"
+ , Space
+ , Str "features"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "XRef."
+ ]
, BulletList
- [
- [ Para
- [ Str "A"
- , Space
- , Str "straight"
- , Space
- , Str "link"
- , Space
- , Str "generates"
- , Space
- , Str "the"
- , SoftBreak
- , Str "cross-reference"
- , Space
- , Str "text:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "The", Space, Str "Second", Space, Str "Chapter" ]
- ( "#ch02", "" )
- , Str "."
+ [ [ Para
+ [ Str "A"
+ , Space
+ , Str "straight"
+ , Space
+ , Str "link"
+ , Space
+ , Str "generates"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "cross-reference"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Str "Second"
+ , Space
+ , Str "Chapter"
+ ]
+ ( "#ch02" , "" )
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Str "an"
+ , Space
+ , Str "element"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Str "XRefLabel:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "Chapter"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Third"
+ ]
+ ( "#ch03" , "" )
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Str "EndTerm:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "Chapter" , Space , Str "4" ]
+ ( "#ch04" , "" )
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Str "cmdsynopsis"
+ , Space
+ , Str "element:"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "chgrp" ] ( "#cmd01" , "" )
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Str "funcsynopsis"
+ , Space
+ , Str "element:"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "max" ] ( "#func01" , "" )
+ , Str "."
+ ]
]
]
- ,
- [ Para
- [ Str "A"
- , Space
- , Str "link"
- , Space
- , Str "to"
- , Space
- , Str "an"
- , Space
- , Str "element"
- , Space
- , Str "with"
- , Space
- , Str "an"
- , SoftBreak
- , Str "XRefLabel:"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "Chapter", Space, Str "the", Space, Str "Third" ]
- ( "#ch03", "" )
- , Str "."
- ]
- ]
- ,
- [ Para
- [ Str "A"
- , Space
- , Str "link"
- , Space
- , Str "with"
- , Space
- , Str "an"
- , SoftBreak
- , Str "EndTerm:"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "Chapter", Space, Str "4" ]
- ( "#ch04", "" )
- , Str "."
- ]
- ]
- ,
- [ Para
- [ Str "A"
- , Space
- , Str "link"
- , Space
- , Str "to"
- , Space
- , Str "an"
- , SoftBreak
- , Str "cmdsynopsis"
- , Space
- , Str "element:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "chgrp" ]
- ( "#cmd01", "" )
- , Str "."
- ]
- ]
- ,
- [ Para
- [ Str "A"
- , Space
- , Str "link"
- , Space
- , Str "to"
- , Space
- , Str "an"
- , SoftBreak
- , Str "funcsynopsis"
- , Space
- , Str "element:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "max" ]
- ( "#func01", "" )
- , Str "."
- ]
- ]
- ]
- , Header 1
- ( "ch02", [], [] )
- [ Str "The", Space, Str "Second", Space, Str "Chapter" ]
+ , Header
+ 1
+ ( "ch02" , [] , [] )
+ [ Str "The" , Space , Str "Second" , Space , Str "Chapter" ]
, Para
- [ Str "Some", Space, Str "content", Space, Str "here" ]
- , Header 1
- ( "ch03", [], [] )
- [ Str "The", Space, Str "Third", Space, Str "Chapter" ]
+ [ Str "Some" , Space , Str "content" , Space , Str "here" ]
+ , Header
+ 1
+ ( "ch03" , [] , [] )
+ [ Str "The" , Space , Str "Third" , Space , Str "Chapter" ]
, Para
- [ Str "Some", Space, Str "content", Space, Str "here" ]
- , Header 1
- ( "ch04", [], [] )
- [ Str "The", Space, Str "Fourth", Space, Str "Chapter" ]
+ [ Str "Some" , Space , Str "content" , Space , Str "here" ]
+ , Header
+ 1
+ ( "ch04" , [] , [] )
+ [ Str "The" , Space , Str "Fourth" , Space , Str "Chapter" ]
, Para
- [ Str "Some", Space, Str "content", Space, Str "here" ]
- , Plain
- [ Str "chgrp" ]
- , Plain
- [ Str "-R" ]
- , Plain
- [ Str "-H" ]
- , Plain
- [ Str "-L" ]
- , Plain
- [ Str "-P" ]
- , Plain
- [ Str "-f" ]
- , Plain
- [ Str "group" ]
- , Plain
- [ Str "file" ]
- , Plain
- [ Str "int" ]
- , Plain
- [ Str "max" ]
- , Plain
- [ Str "int" ]
- , Plain
- [ Str "int1" ]
- , Plain
- [ Str "int" ]
- , Plain
- [ Str "int2" ]
+ [ Str "Some" , Space , Str "content" , Space , Str "here" ]
+ , Plain [ Str "chgrp" ]
+ , Plain [ Str "-R" ]
+ , Plain [ Str "-H" ]
+ , Plain [ Str "-L" ]
+ , Plain [ Str "-P" ]
+ , Plain [ Str "-f" ]
+ , Plain [ Str "group" ]
+ , Plain [ Str "file" ]
+ , Plain [ Str "int" ]
+ , Plain [ Str "max" ]
+ , Plain [ Str "int" ]
+ , Plain [ Str "int1" ]
+ , Plain [ Str "int" ]
+ , Plain [ Str "int2" ]
]
diff --git a/test/epub/features.native b/test/epub/features.native
index cac926088..61d0f8ba9 100644
--- a/test/epub/features.native
+++ b/test/epub/features.native
@@ -1,1744 +1,1676 @@
-[ Para
- [ Span ( "front.xhtml", [], [] ) [] ]
+[ Para [ Span ( "front.xhtml" , [] , [] ) [] ]
, Div
- ( "", [ "section" ], [] )
- [ Header 1
- ( "", [], [] )
- [ Str "Reflowable"
- , Space
- , Str "EPUB"
- , Space
- , Str "3"
- , Space
- , Str "Conformance"
- , Space
- , Str "Test"
- , Space
- , Str "Document:"
- , Space
- , Str "0100"
- ]
- , Div
- ( "", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "Status"
- , Space
- , Str "of"
- , Space
- , Str "this"
- , Space
- , Str "Document"
- ]
- , Para
- [ Str "This"
- , Space
- , Str "publication"
- , Space
- , Str "is"
- , Space
- , Str "currently"
- , Space
- , Str "considered"
- , Space
- , Span
- ( "", [ "status" ], [] )
- [ Str "[UNDER", Space, Str "DEVELOPMENT]" ]
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "IDPF."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "publication"
- , Space
- , Str "is"
- , Space
- , Str "part"
- , Space
- , Str "of"
- , Space
- , Str "version"
- , Space
- , Span
- ( "", [ "version" ], [] )
- [ Str "X.X" ]
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "EPUB"
- , Space
- , Str "3.0"
- , Space
- , Str "Compliance"
- , Space
- , Str "Test"
- , Space
- , Str "Suite"
- , Space
- , Str "released"
- , SoftBreak
- , Str "on"
- , Space
- , RawInline
- ( Format "html" ) ""
- , Str "."
- ]
- , Para
- [ Str "Before"
- , Space
- , Str "using"
- , Space
- , Str "this"
- , Space
- , Str "publication"
- , Space
- , Str "to"
- , Space
- , Str "evaluate"
- , Space
- , Str "reading"
- , Space
- , Str "systems,"
- , Space
- , Str "testers"
- , Space
- , Str "are"
- , Space
- , Str "strongly"
- , Space
- , Str "encouraged"
- , Space
- , Str "to"
- , SoftBreak
- , Str "verify"
- , Space
- , Str "that"
- , Space
- , Str "they"
- , Space
- , Str "have"
- , Space
- , Str "the"
- , Space
- , Str "latest"
- , Space
- , Str "release"
- , Space
- , Str "by"
- , Space
- , Str "checking"
- , Space
- , Str "the"
- , Space
- , Str "current"
- , Space
- , Str "release"
- , Space
- , Str "version"
- , Space
- , Str "and"
- , Space
- , Str "date"
- , Space
- , Str "of"
- , SoftBreak
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "suite"
- , Space
- , Str "at"
- , Space
- , Link
- ( "", [], [] )
- [ Str "TBD" ]
- ( "http://idpf.org/", "" )
- ]
- , Para
- [ Str "This"
- , Space
- , Str "publication"
- , Space
- , Str "is"
- , Space
- , Str "one"
- , Space
- , Str "of"
- , Space
- , Str "several"
- , Space
- , Str "that"
- , Space
- , Str "currently"
- , Space
- , Str "comprise"
- , Space
- , Str "the"
- , Space
- , Str "EPUB"
- , Space
- , Str "3"
- , Space
- , Str "conformance"
- , Space
- , Str "test"
- , Space
- , Str "suite"
- , SoftBreak
- , Str "for"
- , Space
- , Str "reflowable"
- , Space
- , Str "content."
- , Space
- , Str "The"
- , Space
- , Str "complete"
- , Space
- , Str "test"
- , Space
- , Str "suite"
- , Space
- , Str "includes"
- , Space
- , Str "all"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "following"
- , Space
- , Str "publications:"
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Plain [ Str "." ] ] ]
- ]
- , Div
- ( "", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "About", Space, Str "this", Space, Str "Document" ]
- , Para
- [ Str "This"
- , Space
- , Str "document"
- , Space
- , Str "focuses"
- , Space
- , Str "on"
- , Space
- , Str "human-evaluated"
- , Space
- , Str "binary"
- , Space
- , Str "(pass/fail)"
- , Space
- , Str "tests"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , SoftBreak
- , Str "reflowable"
- , Space
- , Str "context."
- , Space
- , Str "Tests"
- , Space
- , Str "for"
- , Space
- , Str "fixed-layout"
- , Space
- , Str "content"
- , Space
- , Str "and"
- , Space
- , Str "other"
- , Space
- , Str "individual"
- , Space
- , Str "tests"
- , Space
- , Str "that"
- , SoftBreak
- , Str "require"
- , Space
- , Str "a"
- , Space
- , Str "dedicated"
- , Space
- , Str "epub"
- , Space
- , Str "file"
- , Space
- , Str "are"
- , Space
- , Str "available"
- , Space
- , Str "in"
- , Space
- , Str "additional"
- , Space
- , Str "sibling"
- , Space
- , Str "documents;"
- , Space
- , Str "refer"
- , Space
- , Str "to"
- , SoftBreak
- , Str "the"
- , Space
- , Link
- ( "", [], [] )
- [ Str "test", Space, Str "suite", SoftBreak, Str "wiki" ]
- ( "https://github.com/mgylling/epub-testsuite/wiki/Overview"
- , ""
- )
- , Space
- , Str "("
- , Code
- ( ""
- , []
- , []
- ) "https://github.com/mgylling/epub-testsuite/wiki/Overview"
- , Str ")"
- , Space
- , Str "for"
- , Space
- , Str "additional"
- , SoftBreak
- , Str "information."
- ]
- ]
- , Div
- ( "", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "Conventions" ]
- , Para
- [ Str "The"
- , Space
- , Str "following"
- , Space
- , Str "conventions"
- , Space
- , Str "are"
- , Space
- , Str "used"
- , Space
- , Str "throughout"
- , Space
- , Str "the"
- , Space
- , Str "document:"
- ]
- , DefinitionList
- [
- (
- [ Str "1."
- , Space
- , Str "Locating"
- , Space
- , Str "a"
- , Space
- , Str "test"
- ]
- ,
- [
- [ Div
- ( "", [ "ctest" ], [] )
- [ Para
- [ Str "Tests"
- , Space
- , Str "for"
- , Space
- , Emph
- [ Str "required" ]
- , Space
- , Str "Reading"
- , Space
- , Str "System"
- , Space
- , Str "functionality"
- , Space
- , Str "are"
- , SoftBreak
- , Str "preceded"
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "label:"
- , Space
- , Span
- ( ""
- , [ "nature" ]
- ,
- [ ( "style", "display: inline; font-size: 100%" ) ]
- )
- [ Str "[REQUIRED]" ]
- ]
- ]
- , Div
- ( "", [ "otest" ], [] )
- [ Para
- [ Str "Tests"
- , Space
- , Str "for"
- , Space
- , Emph
- [ Str "optional" ]
- , Space
- , Str "Reading"
- , Space
- , Str "System"
- , Space
- , Str "functionality"
- , Space
- , Str "are"
- , SoftBreak
- , Str "preceded"
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "label:"
- , Space
- , Span
- ( ""
- , [ "nature" ]
- ,
- [ ( "style", "display: inline; font-size: 100%" ) ]
- )
- [ Str "[OPTIONAL]" ]
- ]
- ]
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Reflowable"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3"
+ , Space
+ , Str "Conformance"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Document:"
+ , Space
+ , Str "0100"
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Status"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "Document"
]
- ]
- )
- ,
- (
- [ Str "2."
- , Space
- , Str "Performing"
- , Space
- , Str "the"
- , Space
- , Str "test"
- ]
- ,
- [
- [ Plain
- [ Str "Each"
- , Space
- , Str "test"
- , Space
- , Str "includes"
- , Space
- , Str "a"
- , Space
- , Str "description"
- , Space
- , Str "of"
- , Space
- , Str "its"
- , Space
- , Str "purpose"
- , Space
- , Str "followed"
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "actual"
- , Space
- , Strong
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "considered"
+ , Space
+ , Span
+ ( "" , [ "status" ] , [] )
+ [ Str "[UNDER" , Space , Str "DEVELOPMENT]" ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "IDPF."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "version"
+ , Space
+ , Span ( "" , [ "version" ] , [] ) [ Str "X.X" ]
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3.0"
+ , Space
+ , Str "Compliance"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ , Space
+ , Str "released"
+ , SoftBreak
+ , Str "on"
+ , Space
+ , RawInline (Format "html") ""
+ , Str "."
+ ]
+ , Para
+ [ Str "Before"
+ , Space
+ , Str "using"
+ , Space
+ , Str "this"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "to"
+ , Space
+ , Str "evaluate"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "systems,"
+ , Space
+ , Str "testers"
+ , Space
+ , Str "are"
+ , Space
+ , Str "strongly"
+ , Space
+ , Str "encouraged"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "verify"
+ , Space
+ , Str "that"
+ , Space
+ , Str "they"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "latest"
+ , Space
+ , Str "release"
+ , Space
+ , Str "by"
+ , Space
+ , Str "checking"
+ , Space
+ , Str "the"
+ , Space
+ , Str "current"
+ , Space
+ , Str "release"
+ , Space
+ , Str "version"
+ , Space
+ , Str "and"
+ , Space
+ , Str "date"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , Space
+ , Str "at"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "TBD" ]
+ ( "http://idpf.org/" , "" )
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "one"
+ , Space
+ , Str "of"
+ , Space
+ , Str "several"
+ , Space
+ , Str "that"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "comprise"
+ , Space
+ , Str "the"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3"
+ , Space
+ , Str "conformance"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , SoftBreak
+ , Str "for"
+ , Space
+ , Str "reflowable"
+ , Space
+ , Str "content."
+ , Space
+ , Str "The"
+ , Space
+ , Str "complete"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , Space
+ , Str "includes"
+ , Space
+ , Str "all"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "following"
+ , Space
+ , Str "publications:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "." ] ] ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "About"
+ , Space
+ , Str "this"
+ , Space
+ , Str "Document"
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "document"
+ , Space
+ , Str "focuses"
+ , Space
+ , Str "on"
+ , Space
+ , Str "human-evaluated"
+ , Space
+ , Str "binary"
+ , Space
+ , Str "(pass/fail)"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "reflowable"
+ , Space
+ , Str "context."
+ , Space
+ , Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "fixed-layout"
+ , Space
+ , Str "content"
+ , Space
+ , Str "and"
+ , Space
+ , Str "other"
+ , Space
+ , Str "individual"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "require"
+ , Space
+ , Str "a"
+ , Space
+ , Str "dedicated"
+ , Space
+ , Str "epub"
+ , Space
+ , Str "file"
+ , Space
+ , Str "are"
+ , Space
+ , Str "available"
+ , Space
+ , Str "in"
+ , Space
+ , Str "additional"
+ , Space
+ , Str "sibling"
+ , Space
+ , Str "documents;"
+ , Space
+ , Str "refer"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
[ Str "test"
, Space
- , Str "statement,"
+ , Str "suite"
, SoftBreak
- , Str "which"
- , Space
- , Str "can"
- , Space
- , Str "always"
- , Space
- , Str "be"
- , Space
- , Str "evaluated"
- , Space
- , Str "to"
- , Space
- , Str "true"
- , Space
- , Str "or"
- , Space
- , Str "false"
+ , Str "wiki"
]
- , Str "."
- , Space
- , Str "These"
- , Space
- , Str "statements"
- , Space
- , Str "typically"
- , Space
- , Str "have"
- , Space
- , Str "the"
- , Space
- , Str "form:"
- , SoftBreak
- , Str "\"If"
- , Space
- , Str "[some"
- , Space
- , Str "condition],"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes\"."
- ]
+ ( "https://github.com/mgylling/epub-testsuite/wiki/Overview"
+ , ""
+ )
+ , Space
+ , Str "("
+ , Code
+ ( "" , [] , [] )
+ "https://github.com/mgylling/epub-testsuite/wiki/Overview"
+ , Str ")"
+ , Space
+ , Str "for"
+ , Space
+ , Str "additional"
+ , SoftBreak
+ , Str "information."
+ ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header 2 ( "" , [] , [] ) [ Str "Conventions" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "following"
+ , Space
+ , Str "conventions"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "throughout"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document:"
+ ]
+ , DefinitionList
+ [ ( [ Str "1."
+ , Space
+ , Str "Locating"
+ , Space
+ , Str "a"
+ , Space
+ , Str "test"
+ ]
+ , [ [ Div
+ ( "" , [ "ctest" ] , [] )
+ [ Para
+ [ Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Emph [ Str "required" ]
+ , Space
+ , Str "Reading"
+ , Space
+ , Str "System"
+ , Space
+ , Str "functionality"
+ , Space
+ , Str "are"
+ , SoftBreak
+ , Str "preceded"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "label:"
+ , Space
+ , Span
+ ( ""
+ , [ "nature" ]
+ , [ ( "style"
+ , "display: inline; font-size: 100%"
+ )
+ ]
+ )
+ [ Str "[REQUIRED]" ]
+ ]
+ ]
+ , Div
+ ( "" , [ "otest" ] , [] )
+ [ Para
+ [ Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Emph [ Str "optional" ]
+ , Space
+ , Str "Reading"
+ , Space
+ , Str "System"
+ , Space
+ , Str "functionality"
+ , Space
+ , Str "are"
+ , SoftBreak
+ , Str "preceded"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "label:"
+ , Space
+ , Span
+ ( ""
+ , [ "nature" ]
+ , [ ( "style"
+ , "display: inline; font-size: 100%"
+ )
+ ]
+ )
+ [ Str "[OPTIONAL]" ]
+ ]
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "2."
+ , Space
+ , Str "Performing"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ ]
+ , [ [ Plain
+ [ Str "Each"
+ , Space
+ , Str "test"
+ , Space
+ , Str "includes"
+ , Space
+ , Str "a"
+ , Space
+ , Str "description"
+ , Space
+ , Str "of"
+ , Space
+ , Str "its"
+ , Space
+ , Str "purpose"
+ , Space
+ , Str "followed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "actual"
+ , Space
+ , Strong
+ [ Str "test"
+ , Space
+ , Str "statement,"
+ , SoftBreak
+ , Str "which"
+ , Space
+ , Str "can"
+ , Space
+ , Str "always"
+ , Space
+ , Str "be"
+ , Space
+ , Str "evaluated"
+ , Space
+ , Str "to"
+ , Space
+ , Str "true"
+ , Space
+ , Str "or"
+ , Space
+ , Str "false"
+ ]
+ , Str "."
+ , Space
+ , Str "These"
+ , Space
+ , Str "statements"
+ , Space
+ , Str "typically"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "form:"
+ , SoftBreak
+ , Str "\"If"
+ , Space
+ , Str "[some"
+ , Space
+ , Str "condition],"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes\"."
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "3."
+ , Space
+ , Str "Scoring"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "results"
+ , Space
+ , Str "form"
+ ]
+ , [ [ Plain
+ [ Str "@@@TODO"
+ , Space
+ , Str "provide"
+ , Space
+ , Str "info"
+ , Space
+ , Str "on"
+ , Space
+ , Str "where"
+ , Space
+ , Str "to"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "results"
+ , Space
+ , Str "form"
+ ]
+ ]
+ ]
+ )
]
- ]
- )
- ,
- (
- [ Str "3."
- , Space
- , Str "Scoring"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "results"
- , Space
- , Str "form"
- ]
- ,
- [
- [ Plain
- [ Str "@@@TODO"
- , Space
- , Str "provide"
- , Space
- , Str "info"
- , Space
- , Str "on"
- , Space
- , Str "where"
- , Space
- , Str "to"
- , Space
- , Str "get"
- , Space
- , Str "the"
- , Space
- , Str "results"
- , Space
- , Str "form"
- ]
- ]
- ]
- )
- ]
- ]
- ]
-, Para
- [ Span ( "content-mathml-001.xhtml", [], [] ) [] ]
-, Div
- ( "", [ "section" ], [] )
- [ Header 2
- ( "content-mathml-001.xhtml#mathml", [], [] )
- [ Str "MathML" ]
- , Div
- ( "content-mathml-001.xhtml#mathml-010"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "mathml-010" ]
- , Space
- , Str "Rendering"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "MathML"
- , Space
- , Str "equation"
- , Space
- , Str "rendering"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Plain
- [ Math DisplayMath "\\int_{- \\infty}^{\\infty}e^{- x^{2}}\\, dx = \\sqrt{\\pi}"
- , SoftBreak
- , Math DisplayMath "\\sum\\limits_{n = 1}^{\\infty}\\frac{1}{n^{2}} = \\frac{\\pi^{2}}{6}"
- , SoftBreak
- , Math DisplayMath "x = \\frac{- b \\pm \\sqrt{b^{2} - 4ac}}{2a}"
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "equations"
- , Space
- , Str "are"
- , Space
- , Str "not"
- , Space
- , Str "presented"
- , Space
- , Str "as"
- , Space
- , Str "linear"
- , Space
- , Str "text"
- , Space
- , Str "(e.g.,"
- , Space
- , Str "x=-b\177b2-4ac2a),"
- , SoftBreak
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "content-mathml-001.xhtml#mathml-020"
- ,
- [ "section", "otest" ]
- , []
- )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[OPTIONAL]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "mathml-020" ]
- , Space
- , Str "CSS"
- , Space
- , Str "Styling"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "math"
- , Space
- , Str "element"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "basic"
- , Space
- , Str "CSS"
- , Space
- , Str "styling"
- , Space
- , Str "of"
- , Space
- , Str "MathML"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "math"
- , Space
- , Str "element."
- ]
- , Plain
- [ Math InlineMath "{2x}{+ y - z}" ]
- , Para
- [ Str "The"
- , Space
- , Str "test"
- , Space
- , Str "passes"
- , Space
- , Str "if"
- , Space
- , Str "the"
- , Space
- , Str "equation"
- , Space
- , Str "has"
- , Space
- , Str "a"
- , Space
- , Str "yellow"
- , Space
- , Str "background"
- , Space
- , Str "and"
- , Space
- , Str "a"
- , Space
- , Str "dashed"
- , Space
- , Str "border."
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "reading"
- , Space
- , Str "system"
- , Space
- , Str "does"
- , Space
- , Str "not"
- , Space
- , Str "have"
- , Space
- , Str "a"
- , Space
- , Str "viewport,"
- , Space
- , Str "or"
- , Space
- , Str "does"
- , Space
- , Str "not"
- , Space
- , Str "support"
- , SoftBreak
- , Str "CSS"
- , Space
- , Str "styles,"
- , Space
- , Str "this"
- , Space
- , Str "test"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "marked"
- , Space
- , Code
- ( "", [], [] ) "Not Supported"
- , Str "."
- ]
- ]
- , Div
- ( "content-mathml-001.xhtml#mathml-021"
- ,
- [ "section", "otest" ]
- , []
- )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[OPTIONAL]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "mathml-021" ]
- , Space
- , Str "CSS"
- , Space
- , Str "Styling"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "mo"
- , Space
- , Str "element"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "basic"
- , Space
- , Str "CSS"
- , Space
- , Str "styling"
- , Space
- , Str "of"
- , Space
- , Str "MathML"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "mo"
- , Space
- , Str "element."
- ]
- , Plain
- [ Math InlineMath "{2x}{+ y - z}" ]
- , Para
- [ Str "The"
- , Space
- , Str "test"
- , Space
- , Str "passes"
- , Space
- , Str "if"
- , Space
- , Str "the"
- , Space
- , Str "operators"
- , Space
- , Str "are"
- , Space
- , Str "enlarged"
- , Space
- , Str "relative"
- , Space
- , Str "to"
- , Space
- , Str "the"
- , Space
- , Str "other"
- , Space
- , Str "symbols"
- , Space
- , Str "and"
- , Space
- , Str "numbers."
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "reading"
- , Space
- , Str "system"
- , Space
- , Str "does"
- , Space
- , Str "not"
- , Space
- , Str "have"
- , Space
- , Str "a"
- , Space
- , Str "viewport,"
- , Space
- , Str "or"
- , Space
- , Str "does"
- , Space
- , Str "not"
- , Space
- , Str "support"
- , SoftBreak
- , Str "CSS"
- , Space
- , Str "styles,"
- , Space
- , Str "this"
- , Space
- , Str "test"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "marked"
- , Space
- , Code
- ( "", [], [] ) "Not Supported"
- , Str "."
- ]
- ]
- , Div
- ( "content-mathml-001.xhtml#mathml-022"
- ,
- [ "section", "otest" ]
- , []
- )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[OPTIONAL]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "mathml-022" ]
- , Space
- , Str "CSS"
- , Space
- , Str "Styling"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "mi"
- , Space
- , Str "element"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "basic"
- , Space
- , Str "CSS"
- , Space
- , Str "styling"
- , Space
- , Str "of"
- , Space
- , Str "MathML"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "mi"
- , Space
- , Str "element."
- ]
- , Plain
- [ Math InlineMath "{2x}{+ y - z}" ]
- , Para
- [ Str "The"
- , Space
- , Str "test"
- , Space
- , Str "passes"
- , Space
- , Str "if"
- , Space
- , Str "the"
- , Space
- , Str "identifiers"
- , Space
- , Str "are"
- , Space
- , Str "bolded"
- , Space
- , Str "and"
- , Space
- , Str "blue."
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "reading"
- , Space
- , Str "system"
- , Space
- , Str "does"
- , Space
- , Str "not"
- , Space
- , Str "have"
- , Space
- , Str "a"
- , Space
- , Str "viewport,"
- , Space
- , Str "or"
- , Space
- , Str "does"
- , Space
- , Str "not"
- , Space
- , Str "support"
- , SoftBreak
- , Str "CSS"
- , Space
- , Str "styles,"
- , Space
- , Str "this"
- , Space
- , Str "test"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "marked"
- , Space
- , Code
- ( "", [], [] ) "Not Supported"
- , Str "."
- ]
- ]
- , Div
- ( "content-mathml-001.xhtml#mathml-023"
- ,
- [ "section", "otest" ]
- , []
- )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[OPTIONAL]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "mathml-023" ]
- , Space
- , Str "CSS"
- , Space
- , Str "Styling"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "mn"
- , Space
- , Str "element"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "basic"
- , Space
- , Str "CSS"
- , Space
- , Str "styling"
- , Space
- , Str "of"
- , Space
- , Str "MathML"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "mn"
- , Space
- , Str "element."
- ]
- , Plain
- [ Math InlineMath "{2x}{+ y - z}" ]
- , Para
- [ Str "The"
- , Space
- , Str "test"
- , Space
- , Str "passes"
- , Space
- , Str "if"
- , Space
- , Str "the"
- , Space
- , Str "number"
- , Space
- , Str "2"
- , Space
- , Str "is"
- , Space
- , Str "italicized"
- , Space
- , Str "and"
- , Space
- , Str "blue."
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "reading"
- , Space
- , Str "system"
- , Space
- , Str "does"
- , Space
- , Str "not"
- , Space
- , Str "have"
- , Space
- , Str "a"
- , Space
- , Str "viewport,"
- , Space
- , Str "or"
- , Space
- , Str "does"
- , Space
- , Str "not"
- , Space
- , Str "support"
- , SoftBreak
- , Str "CSS"
- , Space
- , Str "styles,"
- , Space
- , Str "this"
- , Space
- , Str "test"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "marked"
- , Space
- , Code
- ( "", [], [] ) "Not Supported"
- , Str "."
- ]
- ]
- , Div
- ( "content-mathml-001.xhtml#mathml-024"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "mathml-024" ]
- , Str "Horizontal"
- , Space
- , Str "stretch,"
- , Space
- , Code
- ( "", [], [] ) "mover"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "munder"
- , Str ","
- , Space
- , Str "and"
- , Space
- , Code
- ( "", [], [] ) "mspace"
- , Space
- , Str "elements"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "horizontal"
- , Space
- , Str "stretch,"
- , Space
- , Code
- ( "", [], [] ) "mover"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "munder"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "mspace"
- , Space
- , Str "elements"
- , Space
- , Str "are"
- , Space
- , Str "supported."
- ]
- , Plain
- [ Math DisplayMath "c = \\overset{\\text{complex\\ number}}{\\overbrace{\\underset{\\text{real}}{\\underbrace{\\mspace{20mu} a\\mspace{20mu}}} + \\underset{\\text{imaginary}}{\\underbrace{\\quad b{\\mathbb{i}}\\quad}}}}" ]
- , Para
- [ Str "The"
- , Space
- , Str "test"
- , Space
- , Str "passes"
- , Space
- , Str "if"
- , Space
- , Str "the"
- , Space
- , Str "rendering"
- , Space
- , Str "looks"
- , Space
- , Str "like"
- , Space
- , Str "."
- ]
- ]
- , Div
- ( "content-mathml-001.xhtml#mathml-025"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "mathml-025" ]
- , Str "Testing"
- , Space
- , Code
- ( "", [], [] ) "mtable"
- , Space
- , Str "with"
- , Space
- , Code
- ( "", [], [] ) "colspan"
- , Space
- , Str "and"
- , Space
- , Code
- ( "", [], [] ) "rowspan"
- , Space
- , Str "attributes,"
- , Space
- , Str "Hebrew"
- , Space
- , Str "and"
- , Space
- , Str "Script"
- , Space
- , Str "fonts"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Code
- ( "", [], [] ) "mtable"
- , Space
- , Str "with"
- , Space
- , Code
- ( "", [], [] ) "colspan"
- , Space
- , Str "and"
- , Space
- , Code
- ( "", [], [] ) "mspace"
- , Space
- , Str "attributes"
- , Space
- , Str "(column"
- , Space
- , Str "and"
- , Space
- , Str "row"
- , Space
- , Str "spanning)"
- , Space
- , Str "are"
- , Space
- , Str "supported;"
- , Space
- , Str "uses"
- , Space
- , Str "Hebrew"
- , Space
- , Str "and"
- , Space
- , Str "Script"
- , Space
- , Str "alphabets."
- ]
- , Plain
- [ Math DisplayMath "\\begin{matrix}\n & {\\operatorname{cov}(\\mathcal{L})} & \\longrightarrow & {\\operatorname{non}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cof}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cof}(\\mathcal{L})} & \\longrightarrow & 2^{\\aleph_{0}} \\\\\n & \\uparrow & & \\uparrow & & \\uparrow & & \\uparrow & & \\\\\n & {\\mathfrak{b}} & \\longrightarrow & {\\mathfrak{d}} & & & & & & \\\\\n & \\uparrow & & \\uparrow & & & & & & \\\\\n\\aleph_{1} & \\longrightarrow & {\\operatorname{add}(\\mathcal{L})} & \\longrightarrow & {\\operatorname{add}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cov}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{non}(\\mathcal{L})} & \\\\\n\\end{matrix}" ]
- , Para
- [ Str "The"
- , Space
- , Str "test"
- , Space
- , Str "passes"
- , Space
- , Str "if"
- , Space
- , Str "the"
- , Space
- , Str "rendering"
- , Space
- , Str "looks"
- , Space
- , Str "like"
- , Space
- , Link
- ( "", [], [] )
- [ Str "Cicho\324's", Space, Str "Diagram" ]
- ( "http://en.wikipedia.org/wiki/Cicho%C5%84's_diagram", "" )
- , Str ":"
- , Space
- , Str "."
- ]
- ]
- , Div
- ( "content-mathml-001.xhtml#mathml-026"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "mathml-026" ]
- , Str "BiDi,"
- , Space
- , Str "RTL"
- , Space
- , Str "and"
- , Space
- , Str "Arabic"
- , Space
- , Str "alphabets"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "right-to-left"
- , Space
- , Str "and"
- , Space
- , Str "Arabic"
- , Space
- , Str "alphabets"
- , Space
- , Str "are"
- , Space
- , Str "supported."
- ]
- , Plain
- [ Math DisplayMath "{\1583(\1587)} = \\left\\{ \\begin{matrix}\n{\\sum\\limits_{\1646 = 1}^{\1589}\1587^{\1646}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 > 0} \\\\\n{\\int_{1}^{\1589}{\1587^{\1646}\1569\1587}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 \\in \1605} \\\\\n{{\1591\1575}\\pi} & {\\text{\1594\1610\1585\1584\1604\1603}\\left( \\text{\1605\1593}\\pi \\simeq 3,141 \\right)} \\\\\n\\end{matrix} \\right." ]
- , Para
- [ Str "The"
- , Space
- , Str "test"
- , Space
- , Str "passes"
- , Space
- , Str "if"
- , Space
- , Str "the"
- , Space
- , Str "rendering"
- , Space
- , Str "looks"
- , Space
- , Str "like"
- , Space
- , Str "the"
- , Space
- , Str "following"
- , Space
- , Str "image:"
- ]
- ]
- , Div
- ( "content-mathml-001.xhtml#mathml-027"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "mathml-027" ]
- , Str "Elementary"
- , Space
- , Str "math:"
- , Space
- , Str "long"
- , Space
- , Str "division"
- , Space
- , Str "notation"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Code
- ( "", [], [] ) "mlongdiv"
- , Space
- , Str "elements"
- , Space
- , Str "(from"
- , Space
- , Str "elementary"
- , Space
- , Str "math)"
- , Space
- , Str "are"
- , Space
- , Str "supported."
- ]
- , Plain
- [ Span
- ( ""
- , [ "math" ]
- ,
- [ ( "xmlns", "http://www.w3.org/1998/Math/MathML" ) ]
- )
- [ SoftBreak
- , Str "3"
- , SoftBreak
- , Str "435.3"
- , SoftBreak
- , Str "1306"
- , SoftBreak
- , Str "12"
- , SoftBreak
- , Str "10"
- , SoftBreak
- , Str "9"
- , SoftBreak
- , Str "16"
- , SoftBreak
- , Str "15"
- , SoftBreak
- , Str "1.0"
- , SoftBreak
- , Str "9"
- , SoftBreak
- , Str "1"
- , SoftBreak
]
- ]
- , Para
- [ Str "The"
- , Space
- , Str "test"
- , Space
- , Str "passes"
- , Space
- , Str "if"
- , Space
- , Str "the"
- , Space
- , Str "rendering"
- , Space
- , Str "looks"
- , Space
- , Str "like"
- , Space
- , Str "the"
- , Space
- , Str "following"
- , Space
- , Str "image:"
- , Space
- , Str "."
- ]
]
- ]
-, Para
- [ Span ( "content-switch-001.xhtml", [], [] ) [] ]
+, Para [ Span ( "content-mathml-001.xhtml" , [] , [] ) [] ]
, Div
- ( "content-switch-001.xhtml#epub-switch", [ "section" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Code ( "", [], [] ) "epub:switch" ]
- , Div
- ( "content-switch-001.xhtml#switch-010"
- ,
- [ "section", "ctest" ]
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "content-mathml-001.xhtml#mathml" , [] , [] )
+ [ Str "MathML" ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-010"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-010" ]
+ , Space
+ , Str "Rendering"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "equation"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ Math
+ DisplayMath
+ "\\int_{- \\infty}^{\\infty}e^{- x^{2}}\\, dx = \\sqrt{\\pi}"
+ , SoftBreak
+ , Math
+ DisplayMath
+ "\\sum\\limits_{n = 1}^{\\infty}\\frac{1}{n^{2}} = \\frac{\\pi^{2}}{6}"
+ , SoftBreak
+ , Math
+ DisplayMath
+ "x = \\frac{- b \\pm \\sqrt{b^{2} - 4ac}}{2a}"
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "equations"
+ , Space
+ , Str "are"
+ , Space
+ , Str "not"
+ , Space
+ , Str "presented"
+ , Space
+ , Str "as"
+ , Space
+ , Str "linear"
+ , Space
+ , Str "text"
+ , Space
+ , Str "(e.g.,"
+ , Space
+ , Str "x=-b\177b2-4ac2a),"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-020"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-020" ]
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "math"
+ , Space
+ , Str "element"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "basic"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "math"
+ , Space
+ , Str "element."
+ ]
+ , Plain [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "equation"
+ , Space
+ , Str "has"
+ , Space
+ , Str "a"
+ , Space
+ , Str "yellow"
+ , Space
+ , Str "background"
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Str "dashed"
+ , Space
+ , Str "border."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "system"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "viewport,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "support"
+ , SoftBreak
+ , Str "CSS"
+ , Space
+ , Str "styles,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-021"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-021" ]
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mo"
+ , Space
+ , Str "element"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "basic"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mo"
+ , Space
+ , Str "element."
+ ]
+ , Plain [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "operators"
+ , Space
+ , Str "are"
+ , Space
+ , Str "enlarged"
+ , Space
+ , Str "relative"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , Space
+ , Str "other"
+ , Space
+ , Str "symbols"
+ , Space
+ , Str "and"
+ , Space
+ , Str "numbers."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "system"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "viewport,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "support"
+ , SoftBreak
+ , Str "CSS"
+ , Space
+ , Str "styles,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-022"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-022" ]
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mi"
+ , Space
+ , Str "element"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "basic"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mi"
+ , Space
+ , Str "element."
+ ]
+ , Plain [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "identifiers"
+ , Space
+ , Str "are"
+ , Space
+ , Str "bolded"
+ , Space
+ , Str "and"
+ , Space
+ , Str "blue."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "system"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "viewport,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "support"
+ , SoftBreak
+ , Str "CSS"
+ , Space
+ , Str "styles,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-023"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-023" ]
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mn"
+ , Space
+ , Str "element"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "basic"
+ , Space
+ , Str "CSS"
+ , Space
+ , Str "styling"
+ , Space
+ , Str "of"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "mn"
+ , Space
+ , Str "element."
+ ]
+ , Plain [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "number"
+ , Space
+ , Str "2"
+ , Space
+ , Str "is"
+ , Space
+ , Str "italicized"
+ , Space
+ , Str "and"
+ , Space
+ , Str "blue."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "system"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "viewport,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "does"
+ , Space
+ , Str "not"
+ , Space
+ , Str "support"
+ , SoftBreak
+ , Str "CSS"
+ , Space
+ , Str "styles,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-024"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-024" ]
+ , Str "Horizontal"
+ , Space
+ , Str "stretch,"
+ , Space
+ , Code ( "" , [] , [] ) "mover"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "munder"
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "mspace"
+ , Space
+ , Str "elements"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "horizontal"
+ , Space
+ , Str "stretch,"
+ , Space
+ , Code ( "" , [] , [] ) "mover"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "munder"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "mspace"
+ , Space
+ , Str "elements"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ Math
+ DisplayMath
+ "c = \\overset{\\text{complex\\ number}}{\\overbrace{\\underset{\\text{real}}{\\underbrace{\\mspace{20mu} a\\mspace{20mu}}} + \\underset{\\text{imaginary}}{\\underbrace{\\quad b{\\mathbb{i}}\\quad}}}}"
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-025"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-025" ]
+ , Str "Testing"
+ , Space
+ , Code ( "" , [] , [] ) "mtable"
+ , Space
+ , Str "with"
+ , Space
+ , Code ( "" , [] , [] ) "colspan"
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "rowspan"
+ , Space
+ , Str "attributes,"
+ , Space
+ , Str "Hebrew"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Script"
+ , Space
+ , Str "fonts"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Code ( "" , [] , [] ) "mtable"
+ , Space
+ , Str "with"
+ , Space
+ , Code ( "" , [] , [] ) "colspan"
+ , Space
+ , Str "and"
+ , Space
+ , Code ( "" , [] , [] ) "mspace"
+ , Space
+ , Str "attributes"
+ , Space
+ , Str "(column"
+ , Space
+ , Str "and"
+ , Space
+ , Str "row"
+ , Space
+ , Str "spanning)"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported;"
+ , Space
+ , Str "uses"
+ , Space
+ , Str "Hebrew"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Script"
+ , Space
+ , Str "alphabets."
+ ]
+ , Plain
+ [ Math
+ DisplayMath
+ "\\begin{matrix}\n & {\\operatorname{cov}(\\mathcal{L})} & \\longrightarrow & {\\operatorname{non}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cof}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cof}(\\mathcal{L})} & \\longrightarrow & 2^{\\aleph_{0}} \\\\\n & \\uparrow & & \\uparrow & & \\uparrow & & \\uparrow & & \\\\\n & {\\mathfrak{b}} & \\longrightarrow & {\\mathfrak{d}} & & & & & & \\\\\n & \\uparrow & & \\uparrow & & & & & & \\\\\n\\aleph_{1} & \\longrightarrow & {\\operatorname{add}(\\mathcal{L})} & \\longrightarrow & {\\operatorname{add}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{cov}(\\mathcal{K})} & \\longrightarrow & {\\operatorname{non}(\\mathcal{L})} & \\\\\n\\end{matrix}"
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "Cicho\324's" , Space , Str "Diagram" ]
+ ( "http://en.wikipedia.org/wiki/Cicho%C5%84's_diagram"
+ , ""
+ )
+ , Str ":"
+ , Space
+ , Str "."
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-026"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-026" ]
+ , Str "BiDi,"
+ , Space
+ , Str "RTL"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Arabic"
+ , Space
+ , Str "alphabets"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "right-to-left"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Arabic"
+ , Space
+ , Str "alphabets"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ Math
+ DisplayMath
+ "{\1583(\1587)} = \\left\\{ \\begin{matrix}\n{\\sum\\limits_{\1646 = 1}^{\1589}\1587^{\1646}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 > 0} \\\\\n{\\int_{1}^{\1589}{\1587^{\1646}\1569\1587}} & {\\text{\1573\1584\1575\1603\1575\1606}\1587 \\in \1605} \\\\\n{{\1591\1575}\\pi} & {\\text{\1594\1610\1585\1584\1604\1603}\\left( \\text{\1605\1593}\\pi \\simeq 3,141 \\right)} \\\\\n\\end{matrix} \\right."
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Str "the"
+ , Space
+ , Str "following"
+ , Space
+ , Str "image:"
+ ]
+ ]
+ , Div
+ ( "content-mathml-001.xhtml#mathml-027"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "mathml-027" ]
+ , Str "Elementary"
+ , Space
+ , Str "math:"
+ , Space
+ , Str "long"
+ , Space
+ , Str "division"
+ , Space
+ , Str "notation"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Code ( "" , [] , [] ) "mlongdiv"
+ , Space
+ , Str "elements"
+ , Space
+ , Str "(from"
+ , Space
+ , Str "elementary"
+ , Space
+ , Str "math)"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ Span
+ ( ""
+ , [ "math" ]
+ , [ ( "xmlns" , "http://www.w3.org/1998/Math/MathML" ) ]
+ )
+ [ SoftBreak
+ , Str "3"
+ , SoftBreak
+ , Str "435.3"
+ , SoftBreak
+ , Str "1306"
+ , SoftBreak
+ , Str "12"
+ , SoftBreak
+ , Str "10"
+ , SoftBreak
+ , Str "9"
+ , SoftBreak
+ , Str "16"
+ , SoftBreak
+ , Str "15"
+ , SoftBreak
+ , Str "1.0"
+ , SoftBreak
+ , Str "9"
+ , SoftBreak
+ , Str "1"
+ , SoftBreak
+ ]
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes"
+ , Space
+ , Str "if"
+ , Space
+ , Str "the"
+ , Space
+ , Str "rendering"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Str "the"
+ , Space
+ , Str "following"
+ , Space
+ , Str "image:"
+ , Space
+ , Str "."
+ ]
+ ]
+ ]
+, Para [ Span ( "content-switch-001.xhtml" , [] , [] ) [] ]
+, Div
+ ( "content-switch-001.xhtml#epub-switch"
+ , [ "section" ]
, []
)
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "switch-010" ]
- , Space
- , Str "Support"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "epub:switch"
- , Space
- , Str "element"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "PASS" ]
- , Para
- [ Str "If"
- , Space
- , Str "only"
- , Space
- , Str "the"
- , Space
- , Str "word"
- , Space
- , Str "\"PASS\""
- , Space
- , Str "is"
- , Space
- , Str "rendered"
- , Space
- , Str "before"
- , Space
- , Str "this"
- , Space
- , Str "paragraph,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- , Space
- , Str "If"
- , Space
- , Str "both"
- , Space
- , Str "\"PASS\""
- , Space
- , Str "and"
- , Space
- , Str "\"FAIL\""
- , Space
- , Str "are"
- , Space
- , Str "rendered,"
- , Space
- , Str "or"
- , Space
- , Str "neither"
- , SoftBreak
- , Str "\"PASS\""
- , Space
- , Str "nor"
- , Space
- , Str "\"FAIL\""
- , Space
- , Str "is"
- , Space
- , Str "rendered,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
+ [ Header
+ 3 ( "" , [] , [] ) [ Code ( "" , [] , [] ) "epub:switch" ]
+ , Div
+ ( "content-switch-001.xhtml#switch-010"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "switch-010" ]
+ , Space
+ , Str "Support"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "epub:switch"
+ , Space
+ , Str "element"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "PASS" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "only"
+ , Space
+ , Str "the"
+ , Space
+ , Str "word"
+ , Space
+ , Str "\"PASS\""
+ , Space
+ , Str "is"
+ , Space
+ , Str "rendered"
+ , Space
+ , Str "before"
+ , Space
+ , Str "this"
+ , Space
+ , Str "paragraph,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ , Space
+ , Str "If"
+ , Space
+ , Str "both"
+ , Space
+ , Str "\"PASS\""
+ , Space
+ , Str "and"
+ , Space
+ , Str "\"FAIL\""
+ , Space
+ , Str "are"
+ , Space
+ , Str "rendered,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "neither"
+ , SoftBreak
+ , Str "\"PASS\""
+ , Space
+ , Str "nor"
+ , Space
+ , Str "\"FAIL\""
+ , Space
+ , Str "is"
+ , Space
+ , Str "rendered,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "content-switch-001.xhtml#switch-020"
+ , [ "section" , "otest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[OPTIONAL]" ]
+ , SoftBreak
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "switch-020" ]
+ , SoftBreak
+ , Str "MathML"
+ , Space
+ , Str "Embedding"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "namespace"
+ , Space
+ , Str "is"
+ , Space
+ , Str "recognized"
+ , Space
+ , Str "when"
+ , Space
+ , Str "used"
+ , Space
+ , Str "in"
+ , Space
+ , Str "an"
+ , Space
+ , Code ( "" , [] , [] ) "epub:case"
+ , Space
+ , Str "element."
+ ]
+ , Para [ Math InlineMath "{2x}{+ y - z}" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "a"
+ , Space
+ , Str "MathML"
+ , Space
+ , Str "equation"
+ , Space
+ , Str "is"
+ , Space
+ , Str "rendered"
+ , Space
+ , Str "before"
+ , Space
+ , Str "this"
+ , Space
+ , Str "paragraph,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "test"
+ , Space
+ , Code ( "" , [] , [] ) "switch-010"
+ , Space
+ , Str "did"
+ , Space
+ , Str "not"
+ , Space
+ , Str "pass,"
+ , Space
+ , Str "this"
+ , Space
+ , Str "test"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "marked"
+ , Space
+ , Code ( "" , [] , [] ) "Not Supported"
+ , Str "."
+ ]
+ ]
]
- , Div
- ( "content-switch-001.xhtml#switch-020"
- ,
- [ "section", "otest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[OPTIONAL]" ]
- , SoftBreak
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "switch-020" ]
- , SoftBreak
- , Str "MathML"
- , Space
- , Str "Embedding"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Str "MathML"
- , Space
- , Str "namespace"
- , Space
- , Str "is"
- , Space
- , Str "recognized"
- , Space
- , Str "when"
- , Space
- , Str "used"
- , Space
- , Str "in"
- , Space
- , Str "an"
- , Space
- , Code
- ( "", [], [] ) "epub:case"
- , Space
- , Str "element."
- ]
- , Para
- [ Math InlineMath "{2x}{+ y - z}" ]
- , Para
- [ Str "If"
- , Space
- , Str "a"
- , Space
- , Str "MathML"
- , Space
- , Str "equation"
- , Space
- , Str "is"
- , Space
- , Str "rendered"
- , Space
- , Str "before"
- , Space
- , Str "this"
- , Space
- , Str "paragraph,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- , Para
- [ Str "If"
- , Space
- , Str "test"
- , Space
- , Code
- ( "", [], [] ) "switch-010"
- , Space
- , Str "did"
- , Space
- , Str "not"
- , Space
- , Str "pass,"
- , Space
- , Str "this"
- , Space
- , Str "test"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "marked"
- , Space
- , Code
- ( "", [], [] ) "Not Supported"
- , Str "."
- ]
- ]
- ]
]
diff --git a/test/epub/formatting.native b/test/epub/formatting.native
index 6ffd5b8dd..cab9e40fa 100644
--- a/test/epub/formatting.native
+++ b/test/epub/formatting.native
@@ -1,3929 +1,1890 @@
-[ Para
- [ Span ( "front.xhtml", [], [] ) [] ]
+[ Para [ Span ( "front.xhtml" , [] , [] ) [] ]
, Div
- ( "", [ "section" ], [] )
- [ Header 1
- ( "", [], [] )
- [ Str "EPUB"
- , Space
- , Str "3"
- , Space
- , Str "Styling"
- , Space
- , Str "Test"
- , Space
- , Str "Document:"
- , Space
- , Str "0101"
- ]
- , Div
- ( "", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "Status"
- , Space
- , Str "of"
- , Space
- , Str "this"
- , Space
- , Str "Document"
- ]
- , Para
- [ Str "This"
- , Space
- , Str "publication"
- , Space
- , Str "is"
- , Space
- , Str "currently"
- , Space
- , Str "considered"
- , Space
- , Span
- ( "", [ "status" ], [] )
- [ Str "[UNDER", Space, Str "DEVELOPMENT]" ]
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "IDPF."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "publication"
- , Space
- , Str "is"
- , Space
- , Str "part"
- , Space
- , Str "of"
- , Space
- , Str "version"
- , Space
- , Span
- ( "", [ "version" ], [] )
- [ Str "X.X" ]
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "EPUB"
- , Space
- , Str "3.0"
- , Space
- , Str "Compliance"
- , Space
- , Str "Test"
- , Space
- , Str "Suite"
- , Space
- , Str "released"
- , SoftBreak
- , Str "on"
- , Space
- , RawInline
- ( Format "html" ) ""
- , Str "."
- ]
- , Para
- [ Str "Before"
- , Space
- , Str "using"
- , Space
- , Str "this"
- , Space
- , Str "publication"
- , Space
- , Str "to"
- , Space
- , Str "evaluate"
- , Space
- , Str "reading"
- , Space
- , Str "systems,"
- , Space
- , Str "testers"
- , Space
- , Str "are"
- , Space
- , Str "strongly"
- , Space
- , Str "encouraged"
- , Space
- , Str "to"
- , SoftBreak
- , Str "verify"
- , Space
- , Str "that"
- , Space
- , Str "they"
- , Space
- , Str "have"
- , Space
- , Str "the"
- , Space
- , Str "latest"
- , Space
- , Str "release"
- , Space
- , Str "by"
- , Space
- , Str "checking"
- , Space
- , Str "the"
- , Space
- , Str "current"
- , Space
- , Str "release"
- , Space
- , Str "version"
- , Space
- , Str "and"
- , Space
- , Str "date"
- , Space
- , Str "of"
- , SoftBreak
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "suite"
- , Space
- , Str "at"
- , Space
- , Link
- ( "", [], [] )
- [ Str "TBD" ]
- ( "http://idpf.org/", "" )
- ]
- , Para
- [ Str "This"
- , Space
- , Str "publication"
- , Space
- , Str "is"
- , Space
- , Str "one"
- , Space
- , Str "of"
- , Space
- , Str "several"
- , Space
- , Str "that"
- , Space
- , Str "currently"
- , Space
- , Str "comprise"
- , Space
- , Str "the"
- , Space
- , Str "EPUB"
- , Space
- , Str "3"
- , Space
- , Str "conformance"
- , Space
- , Str "test"
- , Space
- , Str "suite"
- , SoftBreak
- , Str "for"
- , Space
- , Str "reflowable"
- , Space
- , Str "content."
- , Space
- , Str "The"
- , Space
- , Str "complete"
- , Space
- , Str "test"
- , Space
- , Str "suite"
- , Space
- , Str "includes"
- , Space
- , Str "all"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "following"
- , Space
- , Str "publications:"
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Plain [ Str "." ] ] ]
- ]
- , Div
- ( "", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "About", Space, Str "this", Space, Str "Document" ]
- , Para
- [ Str "This"
- , Space
- , Str "document"
- , Space
- , Str "focuses"
- , Space
- , Str "on"
- , Space
- , Str "human-evaluated"
- , Space
- , Str "binary"
- , Space
- , Str "(pass/fail)"
- , Space
- , Str "tests"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , SoftBreak
- , Str "reflowable"
- , Space
- , Str "context."
- , Space
- , Str "Tests"
- , Space
- , Str "for"
- , Space
- , Str "fixed-layout"
- , Space
- , Str "content"
- , Space
- , Str "and"
- , Space
- , Str "other"
- , Space
- , Str "individual"
- , Space
- , Str "tests"
- , Space
- , Str "that"
- , SoftBreak
- , Str "require"
- , Space
- , Str "a"
- , Space
- , Str "dedicated"
- , Space
- , Str "epub"
- , Space
- , Str "file"
- , Space
- , Str "are"
- , Space
- , Str "available"
- , Space
- , Str "in"
- , Space
- , Str "additional"
- , Space
- , Str "sibling"
- , Space
- , Str "documents;"
- , Space
- , Str "refer"
- , Space
- , Str "to"
- , SoftBreak
- , Str "the"
- , Space
- , Link
- ( "", [], [] )
- [ Str "test", Space, Str "suite", SoftBreak, Str "wiki" ]
- ( "https://github.com/mgylling/epub-testsuite/wiki/Overview"
- , ""
- )
- , Space
- , Str "("
- , Code
- ( ""
- , []
- , []
- ) "https://github.com/mgylling/epub-testsuite/wiki/Overview"
- , Str ")"
- , Space
- , Str "for"
- , Space
- , Str "additional"
- , SoftBreak
- , Str "information."
- ]
- ]
- , Div
- ( "", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "Conventions" ]
- , Para
- [ Str "The"
- , Space
- , Str "following"
- , Space
- , Str "conventions"
- , Space
- , Str "are"
- , Space
- , Str "used"
- , Space
- , Str "throughout"
- , Space
- , Str "the"
- , Space
- , Str "document:"
- ]
- , DefinitionList
- [
- (
- [ Str "1."
- , Space
- , Str "Locating"
- , Space
- , Str "a"
- , Space
- , Str "test"
- ]
- ,
- [
- [ Div
- ( "", [ "ctest" ], [] )
- [ Para
- [ Str "Tests"
- , Space
- , Str "for"
- , Space
- , Emph
- [ Str "required" ]
- , Space
- , Str "Reading"
- , Space
- , Str "System"
- , Space
- , Str "functionality"
- , Space
- , Str "are"
- , SoftBreak
- , Str "preceded"
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "label:"
- , Space
- , Span
- ( ""
- , [ "nature" ]
- ,
- [ ( "style", "display: inline; font-size: 100%" ) ]
- )
- [ Str "[REQUIRED]" ]
- ]
- ]
- , Div
- ( "", [ "otest" ], [] )
- [ Para
- [ Str "Tests"
- , Space
- , Str "for"
- , Space
- , Emph
- [ Str "optional" ]
- , Space
- , Str "Reading"
- , Space
- , Str "System"
- , Space
- , Str "functionality"
- , Space
- , Str "are"
- , SoftBreak
- , Str "preceded"
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "label:"
- , Space
- , Span
- ( ""
- , [ "nature" ]
- ,
- [ ( "style", "display: inline; font-size: 100%" ) ]
- )
- [ Str "[OPTIONAL]" ]
- ]
- ]
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "EPUB"
+ , Space
+ , Str "3"
+ , Space
+ , Str "Styling"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Document:"
+ , Space
+ , Str "0101"
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Status"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "Document"
]
- ]
- )
- ,
- (
- [ Str "2."
- , Space
- , Str "Performing"
- , Space
- , Str "the"
- , Space
- , Str "test"
- ]
- ,
- [
- [ Plain
- [ Str "Each"
- , Space
- , Str "test"
- , Space
- , Str "includes"
- , Space
- , Str "a"
- , Space
- , Str "description"
- , Space
- , Str "of"
- , Space
- , Str "its"
- , Space
- , Str "purpose"
- , Space
- , Str "followed"
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "actual"
- , Space
- , Strong
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "considered"
+ , Space
+ , Span
+ ( "" , [ "status" ] , [] )
+ [ Str "[UNDER" , Space , Str "DEVELOPMENT]" ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "IDPF."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "version"
+ , Space
+ , Span ( "" , [ "version" ] , [] ) [ Str "X.X" ]
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3.0"
+ , Space
+ , Str "Compliance"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ , Space
+ , Str "released"
+ , SoftBreak
+ , Str "on"
+ , Space
+ , RawInline (Format "html") ""
+ , Str "."
+ ]
+ , Para
+ [ Str "Before"
+ , Space
+ , Str "using"
+ , Space
+ , Str "this"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "to"
+ , Space
+ , Str "evaluate"
+ , Space
+ , Str "reading"
+ , Space
+ , Str "systems,"
+ , Space
+ , Str "testers"
+ , Space
+ , Str "are"
+ , Space
+ , Str "strongly"
+ , Space
+ , Str "encouraged"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "verify"
+ , Space
+ , Str "that"
+ , Space
+ , Str "they"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "latest"
+ , Space
+ , Str "release"
+ , Space
+ , Str "by"
+ , Space
+ , Str "checking"
+ , Space
+ , Str "the"
+ , Space
+ , Str "current"
+ , Space
+ , Str "release"
+ , Space
+ , Str "version"
+ , Space
+ , Str "and"
+ , Space
+ , Str "date"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , Space
+ , Str "at"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "TBD" ]
+ ( "http://idpf.org/" , "" )
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "publication"
+ , Space
+ , Str "is"
+ , Space
+ , Str "one"
+ , Space
+ , Str "of"
+ , Space
+ , Str "several"
+ , Space
+ , Str "that"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "comprise"
+ , Space
+ , Str "the"
+ , Space
+ , Str "EPUB"
+ , Space
+ , Str "3"
+ , Space
+ , Str "conformance"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , SoftBreak
+ , Str "for"
+ , Space
+ , Str "reflowable"
+ , Space
+ , Str "content."
+ , Space
+ , Str "The"
+ , Space
+ , Str "complete"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite"
+ , Space
+ , Str "includes"
+ , Space
+ , Str "all"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "following"
+ , Space
+ , Str "publications:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "." ] ] ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "About"
+ , Space
+ , Str "this"
+ , Space
+ , Str "Document"
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "document"
+ , Space
+ , Str "focuses"
+ , Space
+ , Str "on"
+ , Space
+ , Str "human-evaluated"
+ , Space
+ , Str "binary"
+ , Space
+ , Str "(pass/fail)"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "reflowable"
+ , Space
+ , Str "context."
+ , Space
+ , Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "fixed-layout"
+ , Space
+ , Str "content"
+ , Space
+ , Str "and"
+ , Space
+ , Str "other"
+ , Space
+ , Str "individual"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "require"
+ , Space
+ , Str "a"
+ , Space
+ , Str "dedicated"
+ , Space
+ , Str "epub"
+ , Space
+ , Str "file"
+ , Space
+ , Str "are"
+ , Space
+ , Str "available"
+ , Space
+ , Str "in"
+ , Space
+ , Str "additional"
+ , Space
+ , Str "sibling"
+ , Space
+ , Str "documents;"
+ , Space
+ , Str "refer"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
[ Str "test"
, Space
- , Str "statement,"
+ , Str "suite"
, SoftBreak
- , Str "which"
- , Space
- , Str "can"
- , Space
- , Str "always"
- , Space
- , Str "be"
- , Space
- , Str "evaluated"
- , Space
- , Str "to"
- , Space
- , Str "true"
- , Space
- , Str "or"
- , Space
- , Str "false"
+ , Str "wiki"
]
- , Str "."
- , Space
- , Str "These"
- , Space
- , Str "statements"
- , Space
- , Str "typically"
- , Space
- , Str "have"
- , Space
- , Str "the"
- , Space
- , Str "form:"
- , SoftBreak
- , Str "\"If"
- , Space
- , Str "[some"
- , Space
- , Str "condition],"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes\"."
- ]
+ ( "https://github.com/mgylling/epub-testsuite/wiki/Overview"
+ , ""
+ )
+ , Space
+ , Str "("
+ , Code
+ ( "" , [] , [] )
+ "https://github.com/mgylling/epub-testsuite/wiki/Overview"
+ , Str ")"
+ , Space
+ , Str "for"
+ , Space
+ , Str "additional"
+ , SoftBreak
+ , Str "information."
]
- ]
- )
- ,
- (
- [ Str "3."
- , Space
- , Str "Scoring"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "results"
- , Space
- , Str "form"
- ]
- ,
- [
- [ Plain
- [ Str "@@@TODO"
- , Space
- , Str "provide"
- , Space
- , Str "info"
- , Space
- , Str "on"
- , Space
- , Str "where"
- , Space
- , Str "to"
- , Space
- , Str "get"
- , Space
- , Str "the"
- , Space
- , Str "results"
- , Space
- , Str "form"
- ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header 2 ( "" , [] , [] ) [ Str "Conventions" ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "following"
+ , Space
+ , Str "conventions"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "throughout"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document:"
]
- ]
- )
- ]
+ , DefinitionList
+ [ ( [ Str "1."
+ , Space
+ , Str "Locating"
+ , Space
+ , Str "a"
+ , Space
+ , Str "test"
+ ]
+ , [ [ Div
+ ( "" , [ "ctest" ] , [] )
+ [ Para
+ [ Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Emph [ Str "required" ]
+ , Space
+ , Str "Reading"
+ , Space
+ , Str "System"
+ , Space
+ , Str "functionality"
+ , Space
+ , Str "are"
+ , SoftBreak
+ , Str "preceded"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "label:"
+ , Space
+ , Span
+ ( ""
+ , [ "nature" ]
+ , [ ( "style"
+ , "display: inline; font-size: 100%"
+ )
+ ]
+ )
+ [ Str "[REQUIRED]" ]
+ ]
+ ]
+ , Div
+ ( "" , [ "otest" ] , [] )
+ [ Para
+ [ Str "Tests"
+ , Space
+ , Str "for"
+ , Space
+ , Emph [ Str "optional" ]
+ , Space
+ , Str "Reading"
+ , Space
+ , Str "System"
+ , Space
+ , Str "functionality"
+ , Space
+ , Str "are"
+ , SoftBreak
+ , Str "preceded"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "label:"
+ , Space
+ , Span
+ ( ""
+ , [ "nature" ]
+ , [ ( "style"
+ , "display: inline; font-size: 100%"
+ )
+ ]
+ )
+ [ Str "[OPTIONAL]" ]
+ ]
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "2."
+ , Space
+ , Str "Performing"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ ]
+ , [ [ Plain
+ [ Str "Each"
+ , Space
+ , Str "test"
+ , Space
+ , Str "includes"
+ , Space
+ , Str "a"
+ , Space
+ , Str "description"
+ , Space
+ , Str "of"
+ , Space
+ , Str "its"
+ , Space
+ , Str "purpose"
+ , Space
+ , Str "followed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "actual"
+ , Space
+ , Strong
+ [ Str "test"
+ , Space
+ , Str "statement,"
+ , SoftBreak
+ , Str "which"
+ , Space
+ , Str "can"
+ , Space
+ , Str "always"
+ , Space
+ , Str "be"
+ , Space
+ , Str "evaluated"
+ , Space
+ , Str "to"
+ , Space
+ , Str "true"
+ , Space
+ , Str "or"
+ , Space
+ , Str "false"
+ ]
+ , Str "."
+ , Space
+ , Str "These"
+ , Space
+ , Str "statements"
+ , Space
+ , Str "typically"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "form:"
+ , SoftBreak
+ , Str "\"If"
+ , Space
+ , Str "[some"
+ , Space
+ , Str "condition],"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes\"."
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "3."
+ , Space
+ , Str "Scoring"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "results"
+ , Space
+ , Str "form"
+ ]
+ , [ [ Plain
+ [ Str "@@@TODO"
+ , Space
+ , Str "provide"
+ , Space
+ , Str "info"
+ , Space
+ , Str "on"
+ , Space
+ , Str "where"
+ , Space
+ , Str "to"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "results"
+ , Space
+ , Str "form"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
]
- ]
-, Para
- [ Span ( "styling-xhtml-001.xhtml", [], [] ) [] ]
+, Para [ Span ( "styling-xhtml-001.xhtml" , [] , [] ) [] ]
, Div
- ( "styling-xhtml-001.xhtml#epub-css", [ "section" ], [] )
- [ Header 1
- ( "", [], [] )
- [ Str "EPUB", Space, Str "Style", Space, Str "Sheets" ]
- , Para
- [ Str "This"
- , Space
- , Str "section"
- , Space
- , Str "contains"
- , Space
- , Str "tests"
- , Space
- , Str "for"
- , Space
- , Str "styling"
- , Space
- , Str "and"
- , Space
- , Str "layout."
- ]
- ]
-, Para
- [ Span ( "styling-xhtml-003.xhtml", [], [] ) [] ]
-, Div
- ( "styling-xhtml-003.xhtml#style-110", [ "section", "ctest" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-110" ]
- , Space
- , Str "Multi-Column"
- , Space
- , Str "Layouts"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "CSS Multi-Column Layout"
- , Space
- , Str "properties"
- , Space
- , Str "are"
- , Space
- , Str "supported."
- ]
- , Div
- ( "", [ "multicol" ], [] )
- [ Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
+ ( "styling-xhtml-001.xhtml#epub-css" , [ "section" ] , [] )
+ [ Header
+ 1
+ ( "" , [] , [] )
+ [ Str "EPUB" , Space , Str "Style" , Space , Str "Sheets" ]
, Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "text"
- , Space
- , Str "is"
- , Space
- , Str "rendered"
- , Space
- , Str "in"
- , Space
- , Str "three"
- , Space
- , Str "columns,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
-, Para
- [ Span ( "styling-xhtml-002.xhtml", [], [] ) [] ]
-, Div
- ( "styling-xhtml-002.xhtml#style-lists", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "Lists" ]
- , Div
- ( "styling-xhtml-002.xhtml#style-list-style-type"
- , [ "section" ]
- , []
- )
- [ Header 3
- ( "", [], [] )
- [ Str "The"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-009"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
+ [ Str "This"
, Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-009" ]
+ , Str "section"
, Space
- , Code
- ( "", [], [] ) "decimal"
- ]
- , Para
- [ Str "Tests"
+ , Str "contains"
, Space
- , Str "whether"
+ , Str "tests"
, Space
- , Str "the"
+ , Str "for"
, Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "decimal"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "decimal"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-010"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-010" ]
- , Space
- , Code
- ( "", [], [] ) "circle"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "circle"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ul"
- , Space
- , Str "element."
- ]
- , BulletList
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "circle"
- , Space
- , Str "markers,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-011"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-011" ]
- , Space
- , Code
- ( "", [], [] ) "square"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "square"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ul"
- , Space
- , Str "element."
- ]
- , BulletList
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "square"
- , Space
- , Str "markers,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-012"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-012" ]
- , Space
- , Code
- ( "", [], [] ) "disc"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "disc"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ul"
- , Space
- , Str "element."
- ]
- , BulletList
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "disc"
- , Space
- , Str "markers,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-013"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-013" ]
- , Space
- , Code
- ( "", [], [] ) "lower-latin"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "lower-latin"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "lower-latin"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-014"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-014" ]
- , Space
- , Code
- ( "", [], [] ) "lower-roman"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "lower-roman"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "lower-roman"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-015"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-015" ]
- , Space
- , Code
- ( "", [], [] ) "upper-alpha"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "upper-alpha"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "upper-alpha"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-016"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-016" ]
- , Space
- , Code
- ( "", [], [] ) "hiragana"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "hiragana"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "hiragana"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-017"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-017" ]
- , Space
- , Code
- ( "", [], [] ) "hiragana-iroha"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "hiragana-iroha"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "hiragana-iroha"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-018"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-018" ]
- , Space
- , Code
- ( "", [], [] ) "katakana"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "katakana"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "katakana"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-019"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-019" ]
- , Space
- , Code
- ( "", [], [] ) "katakana-iroha"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "katakana-iroha"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "katakana-iroha"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-020"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-020" ]
- , Space
- , Code
- ( "", [], [] ) "upper-roman"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "upper-roman"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "upper-roman"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-021"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-021" ]
- , Space
- , Code
- ( "", [], [] ) "upper-latin"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "upper-latin"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "upper-latin"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-022"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-022" ]
- , Space
- , Code
- ( "", [], [] ) "lower-alpha"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "lower-alpha"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "lower-alpha"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-023"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-023" ]
- , Space
- , Code
- ( "", [], [] ) "lower-greek"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "lower-greek"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "lower-greek"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-024"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-024" ]
- , Space
- , Code
- ( "", [], [] ) "armenian"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "armenian"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "armenian"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-025"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-025" ]
- , Space
- , Code
- ( "", [], [] ) "cjk-ideographic"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "cjk-ideographic"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "cjk-ideographic"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-026"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-026" ]
- , Space
- , Code
- ( "", [], [] ) "decimal-leading-zero"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "decimal-leading-zero"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "decimal-leading-zero"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-027"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-027" ]
- , Space
- , Code
- ( "", [], [] ) "georgian"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "georgian"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "georgian"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-028"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-028" ]
- , Space
- , Code
- ( "", [], [] ) "hebrew"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "hebrew"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "hebrew"
- , Space
- , Str "markers"
- , Space
- , Str "in"
- , Space
- , Str "ascending"
- , Space
- , Str "order,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-029"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-029" ]
- , Space
- , Code
- ( "", [], [] ) "none"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "none"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "no"
- , Space
- , Str "markers,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-list-style", [ "section" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Str "The"
- , Space
- , Code
- ( "", [], [] ) "list-style"
- , Space
- , Str "property"
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-030"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-030" ]
- , Space
- , Str "images"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style"
- , Space
- , Str "shorthand"
- , Space
- , Str "property"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "using"
- , Space
- , Str "a"
- , Space
- , Str "gif"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ul"
- , Space
- , Str "element."
- ]
- , BulletList
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "the"
- , Space
- , Str "purple"
+ , Str "styling"
, Space
, Str "and"
, Space
- , Str "aqua"
+ , Str "layout."
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-003.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-003.xhtml#style-110"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
, Space
- , Str "square"
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-110" ]
, Space
- , Str "bullet"
+ , Str "Multi-Column"
+ , Space
+ , Str "Layouts"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "CSS Multi-Column Layout"
+ , Space
+ , Str "properties"
+ , Space
+ , Str "are"
+ , Space
+ , Str "supported."
+ ]
+ , Div
+ ( "" , [ "multicol" ] , [] )
+ [ Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "text"
+ , Space
+ , Str "is"
+ , Space
+ , Str "rendered"
+ , Space
+ , Str "in"
+ , Space
+ , Str "three"
+ , Space
+ , Str "columns,"
, Space
, Str "the"
, Space
@@ -3931,2459 +1892,4093 @@
, Space
, Str "passes."
]
- ]
]
- , Div
- ( "styling-xhtml-002.xhtml#style-list-style-position"
+, Para [ Span ( "styling-xhtml-002.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-002.xhtml#style-lists"
, [ "section" ]
, []
)
- [ Header 3
- ( "", [], [] )
- [ Str "The"
- , Space
- , Code
- ( "", [], [] ) "list-style-position"
- , Space
- , Str "property"
- ]
+ [ Header 2 ( "" , [] , [] ) [ Str "Lists" ]
, Div
- ( "styling-xhtml-002.xhtml#style-040"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-040" ]
- , Space
- , Str "The"
- , Space
- , Code
- ( "", [], [] ) "list-style-position"
- , Space
- , Str "property:"
- , Space
- , Code
- ( "", [], [] ) "inside"
+ ( "styling-xhtml-002.xhtml#style-list-style-type"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-009"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-009" ]
+ , Space
+ , Code ( "" , [] , [] ) "decimal"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "decimal"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "decimal"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-010"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-010" ]
+ , Space
+ , Code ( "" , [] , [] ) "circle"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "circle"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "circle"
+ , Space
+ , Str "markers,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-011"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-011" ]
+ , Space
+ , Code ( "" , [] , [] ) "square"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "square"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "square"
+ , Space
+ , Str "markers,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-012"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-012" ]
+ , Space
+ , Code ( "" , [] , [] ) "disc"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "disc"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "disc"
+ , Space
+ , Str "markers,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-013"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-013" ]
+ , Space
+ , Code ( "" , [] , [] ) "lower-latin"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "lower-latin"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "lower-latin"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-014"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-014" ]
+ , Space
+ , Code ( "" , [] , [] ) "lower-roman"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "lower-roman"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "lower-roman"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-015"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-015" ]
+ , Space
+ , Code ( "" , [] , [] ) "upper-alpha"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "upper-alpha"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "upper-alpha"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-016"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-016" ]
+ , Space
+ , Code ( "" , [] , [] ) "hiragana"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "hiragana"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "hiragana"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-017"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-017" ]
+ , Space
+ , Code ( "" , [] , [] ) "hiragana-iroha"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "hiragana-iroha"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "hiragana-iroha"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-018"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-018" ]
+ , Space
+ , Code ( "" , [] , [] ) "katakana"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "katakana"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "katakana"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-019"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-019" ]
+ , Space
+ , Code ( "" , [] , [] ) "katakana-iroha"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "katakana-iroha"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "katakana-iroha"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-020"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-020" ]
+ , Space
+ , Code ( "" , [] , [] ) "upper-roman"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "upper-roman"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "upper-roman"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-021"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-021" ]
+ , Space
+ , Code ( "" , [] , [] ) "upper-latin"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "upper-latin"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "upper-latin"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-022"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-022" ]
+ , Space
+ , Code ( "" , [] , [] ) "lower-alpha"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "lower-alpha"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "lower-alpha"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-023"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-023" ]
+ , Space
+ , Code ( "" , [] , [] ) "lower-greek"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "lower-greek"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "lower-greek"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-024"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-024" ]
+ , Space
+ , Code ( "" , [] , [] ) "armenian"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "armenian"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "armenian"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-025"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-025" ]
+ , Space
+ , Code ( "" , [] , [] ) "cjk-ideographic"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "cjk-ideographic"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "cjk-ideographic"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-026"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-026" ]
+ , Space
+ , Code ( "" , [] , [] ) "decimal-leading-zero"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "decimal-leading-zero"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "decimal-leading-zero"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-027"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-027" ]
+ , Space
+ , Code ( "" , [] , [] ) "georgian"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "georgian"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "georgian"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-028"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-028" ]
+ , Space
+ , Code ( "" , [] , [] ) "hebrew"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "hebrew"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "hebrew"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "in"
+ , Space
+ , Str "ascending"
+ , Space
+ , Str "order,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-029"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-029" ]
+ , Space
+ , Code ( "" , [] , [] ) "none"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "none"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "no"
+ , Space
+ , Str "markers,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
]
- , Para
- [ Str "Tests"
+ , Div
+ ( "styling-xhtml-002.xhtml#style-list-style"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style"
+ , Space
+ , Str "property"
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-030"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-030" ]
+ , Space
+ , Str "images"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style"
+ , Space
+ , Str "shorthand"
+ , Space
+ , Str "property"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "using"
+ , Space
+ , Str "a"
+ , Space
+ , Str "gif"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "the"
+ , Space
+ , Str "purple"
+ , Space
+ , Str "and"
+ , Space
+ , Str "aqua"
+ , Space
+ , Str "square"
+ , Space
+ , Str "bullet"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-list-style-position"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property"
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-040"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-040" ]
+ , Space
+ , Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property:"
+ , Space
+ , Code ( "" , [] , [] ) "inside"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "inside"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ , [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ , [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "markers"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "the"
+ , Space
+ , Str "indentation,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-041"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-041" ]
+ , Space
+ , Str "The"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property:"
+ , Space
+ , Code ( "" , [] , [] ) "outside"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "outside"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ul"
+ , Space
+ , Str "element."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ , [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ , [ Plain
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "has"
+ , Space
+ , Str "the"
+ , Space
+ , Str "default"
+ , Space
+ , Str "setting"
+ , Space
+ , Str "(marker"
+ , Space
+ , Str "outside"
+ , Space
+ , Str "the"
+ , Space
+ , Str "indentation),"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-list-start"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "The"
+ , Space
+ , Str "HTML"
+ , Space
+ , Code ( "" , [] , [] ) "start"
+ , Space
+ , Str "attribute"
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-050"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-050" ]
+ , Space
+ , Str "Without"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "set"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "start"
+ , Space
+ , Str "attribute"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element"
+ , Space
+ , Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property."
+ ]
+ , OrderedList
+ ( 25 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "starts"
+ , Space
+ , Str "at"
+ , Space
+ , Str "25,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-002.xhtml#style-051"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 4
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-051" ]
+ , Space
+ , Str "With"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "set"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "start"
+ , Space
+ , Str "attribute"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "ol"
+ , Space
+ , Str "element"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Code ( "" , [] , [] ) "list-style-type"
+ , Space
+ , Str "property."
+ ]
+ , OrderedList
+ ( 50 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Lorem" ] ]
+ , [ Plain [ Str "Ipsum" ] ]
+ , [ Plain [ Str "Dolor" ] ]
+ , [ Plain [ Str "Sit" ] ]
+ , [ Plain [ Str "Amet" ] ]
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "list"
+ , Space
+ , Str "starts"
+ , Space
+ , Str "at"
+ , Space
+ , Str "'L'"
+ , Space
+ , Str "(50),"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-004.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-004.xhtml#style-media-rules"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Code ( "" , [] , [] ) "@media" , Space , Str "Rules" ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-210"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-210" ]
+ , Space
+ , Code ( "" , [] , [] ) "all"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "all"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-211"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-211" ]
+ , Space
+ , Code ( "" , [] , [] ) "screen"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "screen"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-212"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-212" ]
+ , Space
+ , Code ( "" , [] , [] ) "handheld"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "handheld"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-213"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-213" ]
+ , Space
+ , Code ( "" , [] , [] ) "tv"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "tv"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-220"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-220" ]
+ , Space
+ , Code ( "" , [] , [] ) "orientation:landscape"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "orientation:landscape"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\""
+ , Space
+ , Str "when"
+ , Space
+ , Str "the"
+ , Space
+ , Str "device"
+ , Space
+ , Str "is"
+ , Space
+ , Str "held"
+ , Space
+ , Str "in"
+ , Space
+ , Str "landscape"
+ , Space
+ , Str "mode,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "the"
+ , Space
+ , Str "device"
+ , Space
+ , Str "supports"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "orientations,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-221"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-221" ]
+ , Space
+ , Code ( "" , [] , [] ) "orientation:portrait"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "orientation:portrait"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\""
+ , Space
+ , Str "when"
+ , Space
+ , Str "the"
+ , Space
+ , Str "device"
+ , Space
+ , Str "is"
+ , Space
+ , Str "held"
+ , Space
+ , Str "in"
+ , Space
+ , Str "portrait"
+ , Space
+ , Str "mode,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "the"
+ , Space
+ , Str "device"
+ , Space
+ , Str "supports"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "orientations,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-230"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-230" ]
+ , Space
+ , Code ( "" , [] , [] ) "min-width"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "min-width:200px"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-231"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-231" ]
+ , Space
+ , Code ( "" , [] , [] ) "max-width"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "max-width:2000px"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-240"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-240" ]
+ , Space
+ , Code ( "" , [] , [] ) "min-device-width"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "min-device-width:200px"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-004.xhtml#style-241"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-241" ]
+ , Space
+ , Code ( "" , [] , [] ) "max-device-width"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "@media"
+ , Space
+ , Str "rule"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Code ( "" , [] , [] ) "max-device-width:2000px"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para [ Str "FAIL" ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "reads"
+ , Space
+ , Str "\"FAIL\","
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "fails."
+ ]
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-005.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-005.xhtml#style-text-xform"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "The"
, Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-position"
+ , Code ( "" , [] , [] ) "text-transform"
, Space
, Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "inside"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ul"
- , Space
- , Str "element."
]
- , BulletList
- [
- [ Plain
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- ]
- ]
- ,
- [ Plain
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- ]
- ]
- ,
- [ Plain
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- ]
- ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "markers"
- , Space
- , Str "inside"
- , Space
- , Str "the"
- , Space
- , Str "indentation,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
, Div
- ( "styling-xhtml-002.xhtml#style-041"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-041" ]
- , Space
- , Str "The"
- , Space
- , Code
- ( "", [], [] ) "list-style-position"
- , Space
- , Str "property:"
- , Space
- , Code
- ( "", [], [] ) "outside"
+ ( "styling-xhtml-005.xhtml#style-310"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-310" ]
+ , Space
+ , Code ( "" , [] , [] ) "uppercase"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "text-transform"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "uppercase"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "is"
+ , Space
+ , Str "in"
+ , Space
+ , Str "upper"
+ , Space
+ , Str "case,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
]
- , Para
- [ Str "Tests"
+ , Div
+ ( "styling-xhtml-005.xhtml#style-311"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-311" ]
+ , Space
+ , Code ( "" , [] , [] ) "capitalize"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "text-transform"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "capitalize"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "each"
+ , Space
+ , Str "first"
+ , Space
+ , Str "letter"
+ , Space
+ , Str "of"
+ , Space
+ , Str "each"
+ , Space
+ , Str "word"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "is"
+ , Space
+ , Str "in"
+ , Space
+ , Str "upper"
+ , Space
+ , Str "case,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ , Div
+ ( "styling-xhtml-005.xhtml#style-312"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-312" ]
+ , Space
+ , Code ( "" , [] , [] ) "lowercase"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "text-transform"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "lowercase"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Para
+ [ Str "Lorem"
+ , Space
+ , Str "ipsum"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipisicing"
+ , Space
+ , Str "elit,"
+ , Space
+ , Str "sed"
+ , Space
+ , Str "do"
+ , Space
+ , Str "eiusmod"
+ , Space
+ , Str "tempor"
+ , Space
+ , Str "incididunt"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "labore"
+ , Space
+ , Str "et"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "magna"
+ , Space
+ , Str "aliqua."
+ , Space
+ , Str "Ut"
+ , Space
+ , Str "enim"
+ , Space
+ , Str "ad"
+ , Space
+ , Str "minim"
+ , Space
+ , Str "veniam,"
+ , Space
+ , Str "quis"
+ , Space
+ , Str "nostrud"
+ , Space
+ , Str "exercitation"
+ , Space
+ , Str "ullamco"
+ , Space
+ , Str "laboris"
+ , Space
+ , Str "nisi"
+ , Space
+ , Str "ut"
+ , Space
+ , Str "aliquip"
+ , Space
+ , Str "ex"
+ , Space
+ , Str "ea"
+ , Space
+ , Str "commodo"
+ , Space
+ , Str "consequat."
+ , Space
+ , Str "Duis"
+ , Space
+ , Str "aute"
+ , Space
+ , Str "irure"
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "in"
+ , Space
+ , Str "reprehenderit"
+ , Space
+ , Str "in"
+ , Space
+ , Str "voluptate"
+ , Space
+ , Str "velit"
+ , Space
+ , Str "esse"
+ , Space
+ , Str "cillum"
+ , Space
+ , Str "dolore"
+ , Space
+ , Str "eu"
+ , Space
+ , Str "fugiat"
+ , Space
+ , Str "nulla"
+ , Space
+ , Str "pariatur."
+ , Space
+ , Str "Excepteur"
+ , Space
+ , Str "sint"
+ , Space
+ , Str "occaecat"
+ , Space
+ , Str "cupidatat"
+ , Space
+ , Str "non"
+ , Space
+ , Str "proident,"
+ , Space
+ , Str "sunt"
+ , Space
+ , Str "in"
+ , Space
+ , Str "culpa"
+ , Space
+ , Str "qui"
+ , Space
+ , Str "officia"
+ , Space
+ , Str "deserunt"
+ , Space
+ , Str "mollit"
+ , Space
+ , Str "anim"
+ , Space
+ , Str "id"
+ , Space
+ , Str "est"
+ , Space
+ , Str "laborum."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "is"
+ , Space
+ , Str "in"
+ , Space
+ , Str "lower"
+ , Space
+ , Str "case,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
+ ]
+ ]
+, Para [ Span ( "styling-xhtml-006.xhtml" , [] , [] ) [] ]
+, Div
+ ( "styling-xhtml-006.xhtml#style-ruby"
+ , [ "section" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "The"
, Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "list-style-position"
+ , Code ( "" , [] , [] ) "epub-ruby-position"
, Space
, Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "outside"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ul"
- , Space
- , Str "element."
]
- , BulletList
- [
- [ Plain
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- ]
- ]
- ,
- [ Plain
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- ]
- ]
- ,
- [ Plain
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- ]
- ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "has"
- , Space
- , Str "the"
- , Space
- , Str "default"
- , Space
- , Str "setting"
- , Space
- , Str "(marker"
- , Space
- , Str "outside"
- , Space
- , Str "the"
- , Space
- , Str "indentation),"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- ]
- , Div
- ( "styling-xhtml-002.xhtml#style-list-start", [ "section" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Str "The"
- , Space
- , Str "HTML"
- , Space
- , Code
- ( "", [], [] ) "start"
- , Space
- , Str "attribute"
- ]
, Div
- ( "styling-xhtml-002.xhtml#style-050"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-050" ]
- , Space
- , Str "Without"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "set"
+ ( "styling-xhtml-006.xhtml#style-410"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-410" ]
+ , Space
+ , Code ( "" , [] , [] ) "over"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "-epub-ruby-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "over"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ RawInline (Format "html") ""
+ , Strong [ Str "Lorem" , Space , Str "Ipsum" ]
+ , Space
+ , RawInline (Format "html") ""
+ , RawInline (Format "html") ""
+ , RawInline (Format "html") ""
+ , RawInline (Format "html") ""
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Ruby"
+ , Space
+ , Str "text"
+ , Space
+ , Str "is"
+ , Space
+ , Str "positioned"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "over" ]
+ ( "http://www.w3.org/TR/css3-writing-modes/#over" , "" )
+ , Space
+ , Str "side"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ruby"
+ , Space
+ , Str "base,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "start"
- , Space
- , Str "attribute"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element"
- , Space
- , Str "with"
- , Space
- , Str "no"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property."
- ]
- , OrderedList
- ( 25, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "starts"
- , Space
- , Str "at"
- , Space
- , Str "25,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
, Div
- ( "styling-xhtml-002.xhtml#style-051"
- ,
- [ "section", "ctest" ]
- , []
- )
- [ Header 4
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-051" ]
- , Space
- , Str "With"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "set"
+ ( "styling-xhtml-006.xhtml#style-411"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-411" ]
+ , Space
+ , Code ( "" , [] , [] ) "under"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "-epub-ruby-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "under"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ RawInline (Format "html") ""
+ , Strong [ Str "Lorem" , Space , Str "Ipsum" ]
+ , Space
+ , RawInline (Format "html") ""
+ , RawInline (Format "html") ""
+ , RawInline (Format "html") ""
+ , RawInline (Format "html") ""
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Ruby"
+ , Space
+ , Str "text"
+ , Space
+ , Str "is"
+ , Space
+ , Str "positioned"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "under" ]
+ ( "http://www.w3.org/TR/css3-writing-modes/#under"
+ , ""
+ )
+ , Space
+ , Str "side"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ruby"
+ , Space
+ , Str "base,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "start"
- , Space
- , Str "attribute"
- , Space
- , Str "is"
- , Space
- , Str "supported"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "ol"
- , Space
- , Str "element"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Code
- ( "", [], [] ) "list-style-type"
- , Space
- , Str "property."
+ , Div
+ ( "styling-xhtml-006.xhtml#style-412"
+ , [ "section" , "ctest" ]
+ , []
+ )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "" , [ "nature" ] , [] ) [ Str "[REQUIRED]" ]
+ , Space
+ , Span ( "" , [ "test-id" ] , [] ) [ Str "style-412" ]
+ , Space
+ , Code ( "" , [] , [] ) "inter-character"
+ ]
+ , Para
+ [ Str "Tests"
+ , Space
+ , Str "whether"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [] , [] ) "-epub-ruby-position"
+ , Space
+ , Str "property"
+ , Space
+ , Str "set"
+ , Space
+ , Str "to"
+ , Space
+ , Str "inter-caracter"
+ , Space
+ , Str "is"
+ , Space
+ , Str "supported."
+ ]
+ , Plain
+ [ RawInline
+ (Format "html") ""
+ , Strong [ Str "Lorem" , Space , Str "Ipsum" ]
+ , Space
+ , RawInline (Format "html") ""
+ , RawInline (Format "html") ""
+ , RawInline (Format "html") ""
+ , RawInline (Format "html") ""
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Ruby"
+ , Space
+ , Str "text"
+ , Space
+ , Str "is"
+ , Space
+ , Str "positioned"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "right"
+ , Space
+ , Str "side"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "base"
+ , Space
+ , Str "text,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "test"
+ , Space
+ , Str "passes."
+ ]
]
- , OrderedList
- ( 50, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Lorem" ] ]
- ,
- [ Plain [ Str "Ipsum" ] ]
- ,
- [ Plain [ Str "Dolor" ] ]
- ,
- [ Plain [ Str "Sit" ] ]
- ,
- [ Plain [ Str "Amet" ] ]
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "list"
- , Space
- , Str "starts"
- , Space
- , Str "at"
- , Space
- , Str "'L'"
- , Space
- , Str "(50),"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
]
- ]
-, Para
- [ Span ( "styling-xhtml-004.xhtml", [], [] ) [] ]
-, Div
- ( "styling-xhtml-004.xhtml#style-media-rules", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Code ( "", [], [] ) "@media", Space, Str "Rules" ]
- , Div
- ( "styling-xhtml-004.xhtml#style-210", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-210" ]
- , Space
- , Code
- ( "", [], [] ) "all"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "all"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\","
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- , Div
- ( "styling-xhtml-004.xhtml#style-211", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-211" ]
- , Space
- , Code
- ( "", [], [] ) "screen"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "screen"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\","
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- , Div
- ( "styling-xhtml-004.xhtml#style-212", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-212" ]
- , Space
- , Code
- ( "", [], [] ) "handheld"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "handheld"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\","
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- , Div
- ( "styling-xhtml-004.xhtml#style-213", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-213" ]
- , Space
- , Code
- ( "", [], [] ) "tv"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "tv"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\","
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- , Div
- ( "styling-xhtml-004.xhtml#style-220", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-220" ]
- , Space
- , Code
- ( "", [], [] ) "orientation:landscape"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "orientation:landscape"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\""
- , Space
- , Str "when"
- , Space
- , Str "the"
- , Space
- , Str "device"
- , Space
- , Str "is"
- , Space
- , Str "held"
- , Space
- , Str "in"
- , Space
- , Str "landscape"
- , Space
- , Str "mode,"
- , Space
- , Str "and"
- , Space
- , Str "the"
- , Space
- , Str "device"
- , Space
- , Str "supports"
- , Space
- , Str "multiple"
- , Space
- , Str "orientations,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- , Div
- ( "styling-xhtml-004.xhtml#style-221", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-221" ]
- , Space
- , Code
- ( "", [], [] ) "orientation:portrait"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "orientation:portrait"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\""
- , Space
- , Str "when"
- , Space
- , Str "the"
- , Space
- , Str "device"
- , Space
- , Str "is"
- , Space
- , Str "held"
- , Space
- , Str "in"
- , Space
- , Str "portrait"
- , Space
- , Str "mode,"
- , Space
- , Str "and"
- , Space
- , Str "the"
- , Space
- , Str "device"
- , Space
- , Str "supports"
- , Space
- , Str "multiple"
- , Space
- , Str "orientations,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- , Div
- ( "styling-xhtml-004.xhtml#style-230", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-230" ]
- , Space
- , Code
- ( "", [], [] ) "min-width"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "min-width:200px"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\","
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- , Div
- ( "styling-xhtml-004.xhtml#style-231", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-231" ]
- , Space
- , Code
- ( "", [], [] ) "max-width"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "max-width:2000px"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\","
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- , Div
- ( "styling-xhtml-004.xhtml#style-240", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-240" ]
- , Space
- , Code
- ( "", [], [] ) "min-device-width"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "min-device-width:200px"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\","
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- , Div
- ( "styling-xhtml-004.xhtml#style-241", [ "section", "ctest" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-241" ]
- , Space
- , Code
- ( "", [], [] ) "max-device-width"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "@media"
- , Space
- , Str "rule"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Code
- ( "", [], [] ) "max-device-width:2000px"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "FAIL" ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "reads"
- , Space
- , Str "\"FAIL\","
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "fails."
- ]
- ]
- ]
-, Para
- [ Span ( "styling-xhtml-005.xhtml", [], [] ) [] ]
-, Div
- ( "styling-xhtml-005.xhtml#style-text-xform", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "The"
- , Space
- , Code
- ( "", [], [] ) "text-transform"
- , Space
- , Str "property"
- ]
- , Div
- ( "styling-xhtml-005.xhtml#style-310", [ "section", "ctest" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-310" ]
- , Space
- , Code
- ( "", [], [] ) "uppercase"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "text-transform"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Str "uppercase"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "is"
- , Space
- , Str "in"
- , Space
- , Str "upper"
- , Space
- , Str "case,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-005.xhtml#style-311", [ "section", "ctest" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-311" ]
- , Space
- , Code
- ( "", [], [] ) "capitalize"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "text-transform"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Str "capitalize"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "If"
- , Space
- , Str "each"
- , Space
- , Str "first"
- , Space
- , Str "letter"
- , Space
- , Str "of"
- , Space
- , Str "each"
- , Space
- , Str "word"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "is"
- , Space
- , Str "in"
- , Space
- , Str "upper"
- , Space
- , Str "case,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-005.xhtml#style-312", [ "section", "ctest" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-312" ]
- , Space
- , Code
- ( "", [], [] ) "lowercase"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "text-transform"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Str "lowercase"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Para
- [ Str "Lorem"
- , Space
- , Str "ipsum"
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipisicing"
- , Space
- , Str "elit,"
- , Space
- , Str "sed"
- , Space
- , Str "do"
- , Space
- , Str "eiusmod"
- , Space
- , Str "tempor"
- , Space
- , Str "incididunt"
- , Space
- , Str "ut"
- , Space
- , Str "labore"
- , Space
- , Str "et"
- , Space
- , Str "dolore"
- , Space
- , Str "magna"
- , Space
- , Str "aliqua."
- , Space
- , Str "Ut"
- , Space
- , Str "enim"
- , Space
- , Str "ad"
- , Space
- , Str "minim"
- , Space
- , Str "veniam,"
- , Space
- , Str "quis"
- , Space
- , Str "nostrud"
- , Space
- , Str "exercitation"
- , Space
- , Str "ullamco"
- , Space
- , Str "laboris"
- , Space
- , Str "nisi"
- , Space
- , Str "ut"
- , Space
- , Str "aliquip"
- , Space
- , Str "ex"
- , Space
- , Str "ea"
- , Space
- , Str "commodo"
- , Space
- , Str "consequat."
- , Space
- , Str "Duis"
- , Space
- , Str "aute"
- , Space
- , Str "irure"
- , Space
- , Str "dolor"
- , Space
- , Str "in"
- , Space
- , Str "reprehenderit"
- , Space
- , Str "in"
- , Space
- , Str "voluptate"
- , Space
- , Str "velit"
- , Space
- , Str "esse"
- , Space
- , Str "cillum"
- , Space
- , Str "dolore"
- , Space
- , Str "eu"
- , Space
- , Str "fugiat"
- , Space
- , Str "nulla"
- , Space
- , Str "pariatur."
- , Space
- , Str "Excepteur"
- , Space
- , Str "sint"
- , Space
- , Str "occaecat"
- , Space
- , Str "cupidatat"
- , Space
- , Str "non"
- , Space
- , Str "proident,"
- , Space
- , Str "sunt"
- , Space
- , Str "in"
- , Space
- , Str "culpa"
- , Space
- , Str "qui"
- , Space
- , Str "officia"
- , Space
- , Str "deserunt"
- , Space
- , Str "mollit"
- , Space
- , Str "anim"
- , Space
- , Str "id"
- , Space
- , Str "est"
- , Space
- , Str "laborum."
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "preceding"
- , Space
- , Str "paragraph"
- , Space
- , Str "is"
- , Space
- , Str "in"
- , Space
- , Str "lower"
- , Space
- , Str "case,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- ]
-, Para
- [ Span ( "styling-xhtml-006.xhtml", [], [] ) [] ]
-, Div
- ( "styling-xhtml-006.xhtml#style-ruby", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "The"
- , Space
- , Code
- ( "", [], [] ) "epub-ruby-position"
- , Space
- , Str "property"
- ]
- , Div
- ( "styling-xhtml-006.xhtml#style-410", [ "section", "ctest" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-410" ]
- , Space
- , Code
- ( "", [], [] ) "over"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "-epub-ruby-position"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Str "over"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Plain
- [ RawInline
- ( Format "html" ) ""
- , Strong
- [ Str "Lorem", Space, Str "Ipsum" ]
- , Space
- , RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "Ruby"
- , Space
- , Str "text"
- , Space
- , Str "is"
- , Space
- , Str "positioned"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Link
- ( "", [], [] )
- [ Str "over" ]
- ( "http://www.w3.org/TR/css3-writing-modes/#over", "" )
- , Space
- , Str "side"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "ruby"
- , Space
- , Str "base,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-006.xhtml#style-411", [ "section", "ctest" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-411" ]
- , Space
- , Code
- ( "", [], [] ) "under"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "-epub-ruby-position"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Str "under"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Plain
- [ RawInline
- ( Format "html" ) ""
- , Strong
- [ Str "Lorem", Space, Str "Ipsum" ]
- , Space
- , RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "Ruby"
- , Space
- , Str "text"
- , Space
- , Str "is"
- , Space
- , Str "positioned"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Link
- ( "", [], [] )
- [ Str "under" ]
- ( "http://www.w3.org/TR/css3-writing-modes/#under", "" )
- , Space
- , Str "side"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "ruby"
- , Space
- , Str "base,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- , Div
- ( "styling-xhtml-006.xhtml#style-412", [ "section", "ctest" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Span
- ( "", [ "nature" ], [] )
- [ Str "[REQUIRED]" ]
- , Space
- , Span
- ( "", [ "test-id" ], [] )
- [ Str "style-412" ]
- , Space
- , Code
- ( "", [], [] ) "inter-character"
- ]
- , Para
- [ Str "Tests"
- , Space
- , Str "whether"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [], [] ) "-epub-ruby-position"
- , Space
- , Str "property"
- , Space
- , Str "set"
- , Space
- , Str "to"
- , Space
- , Str "inter-caracter"
- , Space
- , Str "is"
- , Space
- , Str "supported."
- ]
- , Plain
- [ RawInline
- ( Format "html" ) ""
- , Strong
- [ Str "Lorem", Space, Str "Ipsum" ]
- , Space
- , RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- ]
- , Para
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "Ruby"
- , Space
- , Str "text"
- , Space
- , Str "is"
- , Space
- , Str "positioned"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "right"
- , Space
- , Str "side"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "base"
- , Space
- , Str "text,"
- , Space
- , Str "the"
- , Space
- , Str "test"
- , Space
- , Str "passes."
- ]
- ]
- ]
]
diff --git a/test/epub/wasteland.native b/test/epub/wasteland.native
index 17b2a875e..eb0c1d2e7 100644
--- a/test/epub/wasteland.native
+++ b/test/epub/wasteland.native
@@ -1,3509 +1,3493 @@
[ Para
- [ Image ( "", [], [] ) [] ( "wasteland-cover.jpg", "" ) ]
-, Para
- [ Span ( "wasteland-content.xhtml", [], [] ) [] ]
+ [ Image ( "" , [] , [] ) [] ( "wasteland-cover.jpg" , "" ) ]
+, Para [ Span ( "wasteland-content.xhtml" , [] , [] ) [] ]
, Div
- ( "wasteland-content.xhtml#frontmatter"
- ,
- [ "section", "frontmatter" ]
- , []
- ) []
+ ( "wasteland-content.xhtml#frontmatter"
+ , [ "section" , "frontmatter" ]
+ , []
+ )
+ []
, Div
- ( "wasteland-content.xhtml#bodymatter"
- ,
- [ "section", "bodymatter" ]
- , []
- )
- [ Div
- ( "wasteland-content.xhtml#ch1", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "I."
- , Space
- , Str "THE"
- , Space
- , Str "BURIAL"
- , Space
- , Str "OF"
- , Space
- , Str "THE"
- , Space
- , Str "DEAD"
- ]
+ ( "wasteland-content.xhtml#bodymatter"
+ , [ "section" , "bodymatter" ]
+ , []
+ )
+ [ Div
+ ( "wasteland-content.xhtml#ch1" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "I."
+ , Space
+ , Str "THE"
+ , Space
+ , Str "BURIAL"
+ , Space
+ , Str "OF"
+ , Space
+ , Str "THE"
+ , Space
+ , Str "DEAD"
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "April"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "cruellest"
+ , Space
+ , Str "month,"
+ , Space
+ , Str "breeding"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Lilacs"
+ , Space
+ , Str "out"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "dead"
+ , Space
+ , Str "land,"
+ , Space
+ , Str "mixing"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Memory"
+ , Space
+ , Str "and"
+ , Space
+ , Str "desire,"
+ , Space
+ , Str "stirring"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Dull"
+ , Space
+ , Str "roots"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spring"
+ , Space
+ , Str "rain."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Winter"
+ , Space
+ , Str "kept"
+ , Space
+ , Str "us"
+ , Space
+ , Str "warm,"
+ , Space
+ , Str "covering"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Earth"
+ , Space
+ , Str "in"
+ , Space
+ , Str "forgetful"
+ , Space
+ , Str "snow,"
+ , Space
+ , Str "feeding"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "A"
+ , Space
+ , Str "little"
+ , Space
+ , Str "life"
+ , Space
+ , Str "with"
+ , Space
+ , Str "dried"
+ , Space
+ , Str "tubers."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Summer"
+ , Space
+ , Str "surprised"
+ , Space
+ , Str "us,"
+ , Space
+ , Str "coming"
+ , Space
+ , Str "over"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Starnbergersee"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "With"
+ , Space
+ , Str "a"
+ , Space
+ , Str "shower"
+ , Space
+ , Str "of"
+ , Space
+ , Str "rain;"
+ , Space
+ , Str "we"
+ , Space
+ , Str "stopped"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "colonnade,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "went"
+ , Space
+ , Str "on"
+ , Space
+ , Str "in"
+ , Space
+ , Str "sunlight,"
+ , Space
+ , Str "into"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Hofgarten,"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "10" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "drank"
+ , Space
+ , Str "coffee,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "talked"
+ , Space
+ , Str "for"
+ , Space
+ , Str "an"
+ , Space
+ , Str "hour."
+ ]
+ ]
+ , Div
+ ( "" , [] , [ ( "lang" , "de" ) ] )
+ [ Plain
+ [ Str "Bin"
+ , Space
+ , Str "gar"
+ , Space
+ , Str "keine"
+ , Space
+ , Str "Russin,"
+ , Space
+ , Str "stamm'"
+ , Space
+ , Str "aus"
+ , Space
+ , Str "Litauen,"
+ , Space
+ , Str "echt"
+ , SoftBreak
+ , Str "deutsch."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "when"
+ , Space
+ , Str "we"
+ , Space
+ , Str "were"
+ , Space
+ , Str "children,"
+ , Space
+ , Str "staying"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "archduke's,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "My"
+ , Space
+ , Str "cousin's,"
+ , Space
+ , Str "he"
+ , Space
+ , Str "took"
+ , Space
+ , Str "me"
+ , Space
+ , Str "out"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , Space
+ , Str "sled,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "I"
+ , Space
+ , Str "was"
+ , Space
+ , Str "frightened."
+ , Space
+ , Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "Marie,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Marie,"
+ , Space
+ , Str "hold"
+ , Space
+ , Str "on"
+ , Space
+ , Str "tight."
+ , Space
+ , Str "And"
+ , Space
+ , Str "down"
+ , Space
+ , Str "we"
+ , Space
+ , Str "went."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "In"
+ , Space
+ , Str "the"
+ , Space
+ , Str "mountains,"
+ , Space
+ , Str "there"
+ , Space
+ , Str "you"
+ , Space
+ , Str "feel"
+ , Space
+ , Str "free."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "read,"
+ , Space
+ , Str "much"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "night,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "go"
+ , Space
+ , Str "south"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "winter."
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "What"
+ , Space
+ , Str "are"
+ , Space
+ , Str "the"
+ , Space
+ , Str "roots"
+ , Space
+ , Str "that"
+ , Space
+ , Str "clutch,"
+ , Space
+ , Str "what"
+ , Space
+ , Str "branches"
+ , Space
+ , Str "grow"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln20" , [] , [] )
+ [ Plain
+ [ Str "Out"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "stony"
+ , Space
+ , Str "rubbish?"
+ , Space
+ , Str "Son"
+ , Space
+ , Str "of"
+ , Space
+ , Str "man,"
+ , Str ""
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "20" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "You"
+ , Space
+ , Str "cannot"
+ , Space
+ , Str "say,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "guess,"
+ , Space
+ , Str "for"
+ , Space
+ , Str "you"
+ , Space
+ , Str "know"
+ , Space
+ , Str "only"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "A"
+ , Space
+ , Str "heap"
+ , Space
+ , Str "of"
+ , Space
+ , Str "broken"
+ , Space
+ , Str "images,"
+ , Space
+ , Str "where"
+ , Space
+ , Str "the"
+ , Space
+ , Str "sun"
+ , Space
+ , Str "beats,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln23" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "the"
+ , Space
+ , Str "dead"
+ , Space
+ , Str "tree"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "no"
+ , Space
+ , Str "shelter,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "cricket"
+ , Space
+ , Str "no"
+ , Space
+ , Str "relief,"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "the"
+ , Space
+ , Str "dry"
+ , Space
+ , Str "stone"
+ , Space
+ , Str "no"
+ , Space
+ , Str "sound"
+ , Space
+ , Str "of"
+ , Space
+ , Str "water."
+ , Space
+ , Str "Only"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "There"
+ , Space
+ , Str "is"
+ , Space
+ , Str "shadow"
+ , Space
+ , Str "under"
+ , Space
+ , Str "this"
+ , Space
+ , Str "red"
+ , Space
+ , Str "rock,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(Come"
+ , Space
+ , Str "in"
+ , Space
+ , Str "under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "shadow"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "red"
+ , Space
+ , Str "rock),"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "I"
+ , Space
+ , Str "will"
+ , Space
+ , Str "show"
+ , Space
+ , Str "you"
+ , Space
+ , Str "something"
+ , Space
+ , Str "different"
+ , Space
+ , Str "from"
+ , Space
+ , Str "either"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Your"
+ , Space
+ , Str "shadow"
+ , Space
+ , Str "at"
+ , Space
+ , Str "morning"
+ , Space
+ , Str "striding"
+ , Space
+ , Str "behind"
+ , Space
+ , Str "you"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Or"
+ , Space
+ , Str "your"
+ , Space
+ , Str "shadow"
+ , Space
+ , Str "at"
+ , Space
+ , Str "evening"
+ , Space
+ , Str "rising"
+ , Space
+ , Str "to"
+ , Space
+ , Str "meet"
+ , Space
+ , Str "you;"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "will"
+ , Space
+ , Str "show"
+ , Space
+ , Str "you"
+ , Space
+ , Str "fear"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "handful"
+ , Space
+ , Str "of"
+ , Space
+ , Str "dust."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "30" ]
+ ]
+ ]
+ , BlockQuote
+ [ Div
+ ( "" , [] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln31" , [] , [] )
+ [ Plain
+ [ Str "Frisch"
+ , Space
+ , Str "weht"
+ , Space
+ , Str "der"
+ , Space
+ , Str "Wind"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Der"
+ , Space
+ , Str "Heimat"
+ , Space
+ , Str "zu"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Mein"
+ , Space
+ , Str "Irisch"
+ , Space
+ , Str "Kind,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Wo"
+ , Space
+ , Str "weilest"
+ , Space
+ , Str "du?"
+ ]
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"You"
+ , Space
+ , Str "gave"
+ , Space
+ , Str "me"
+ , Space
+ , Str "hyacinths"
+ , Space
+ , Str "first"
+ , Space
+ , Str "a"
+ , Space
+ , Str "year"
+ , Space
+ , Str "ago;"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"They"
+ , Space
+ , Str "called"
+ , Space
+ , Str "me"
+ , Space
+ , Str "the"
+ , Space
+ , Str "hyacinth"
+ , Space
+ , Str "girl.\""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\8213Yet"
+ , Space
+ , Str "when"
+ , Space
+ , Str "we"
+ , Space
+ , Str "came"
+ , Space
+ , Str "back,"
+ , Space
+ , Str "late,"
+ , Space
+ , Str "from"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Hyacinth"
+ , SoftBreak
+ , Str "garden,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Your"
+ , Space
+ , Str "arms"
+ , Space
+ , Str "full,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "your"
+ , Space
+ , Str "hair"
+ , Space
+ , Str "wet,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "could"
+ , Space
+ , Str "not"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Speak,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "my"
+ , Space
+ , Str "eyes"
+ , Space
+ , Str "failed,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "was"
+ , Space
+ , Str "neither"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Living"
+ , Space
+ , Str "nor"
+ , Space
+ , Str "dead,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "I"
+ , Space
+ , Str "knew"
+ , Space
+ , Str "nothing,"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "40" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Looking"
+ , Space
+ , Str "into"
+ , Space
+ , Str "the"
+ , Space
+ , Str "heart"
+ , Space
+ , Str "of"
+ , Space
+ , Str "light,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "silence."
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln42"
+ , []
+ , [ ( "lang" , "de" ) ]
+ )
+ [ Plain
+ [ Emph
+ [ Str "Od'"
+ , Space
+ , Str "und"
+ , Space
+ , Str "leer"
+ , Space
+ , Str "das"
+ , Space
+ , Str "Meer"
+ ]
+ , Str "."
+ , Str ""
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Madame"
+ , Space
+ , Str "Sosostris,"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "clairvoyante,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Had"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bad"
+ , Space
+ , Str "cold,"
+ , Space
+ , Str "nevertheless"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Is"
+ , Space
+ , Str "known"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "the"
+ , Space
+ , Str "wisest"
+ , Space
+ , Str "woman"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Europe,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln46" , [] , [] )
+ [ Plain
+ [ Str "With"
+ , Space
+ , Str "a"
+ , Space
+ , Str "wicked"
+ , Space
+ , Str "pack"
+ , Space
+ , Str "of"
+ , Space
+ , Str "cards."
+ , Space
+ , Str "Here,"
+ , Space
+ , Str "said"
+ , Space
+ , Str "she,"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Is"
+ , Space
+ , Str "your"
+ , Space
+ , Str "card,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "drowned"
+ , Space
+ , Str "Phoenician"
+ , Space
+ , Str "Sailor,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(Those"
+ , Space
+ , Str "are"
+ , Space
+ , Str "pearls"
+ , Space
+ , Str "that"
+ , Space
+ , Str "were"
+ , Space
+ , Str "his"
+ , Space
+ , Str "eyes."
+ , Space
+ , Str "Look!)"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "Belladonna,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Lady"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Rocks,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "lady"
+ , Space
+ , Str "of"
+ , Space
+ , Str "situations."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "50" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "man"
+ , Space
+ , Str "with"
+ , Space
+ , Str "three"
+ , Space
+ , Str "staves,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "here"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Wheel,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "one-eyed"
+ , Space
+ , Str "merchant,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "card,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Which"
+ , Space
+ , Str "is"
+ , Space
+ , Str "blank,"
+ , Space
+ , Str "is"
+ , Space
+ , Str "something"
+ , Space
+ , Str "he"
+ , Space
+ , Str "carries"
+ , Space
+ , Str "on"
+ , Space
+ , Str "his"
+ , Space
+ , Str "back,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Which"
+ , Space
+ , Str "I"
+ , Space
+ , Str "am"
+ , Space
+ , Str "forbidden"
+ , Space
+ , Str "to"
+ , Space
+ , Str "see."
+ , Space
+ , Str "I"
+ , Space
+ , Str "do"
+ , Space
+ , Str "not"
+ , Space
+ , Str "find"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "Hanged"
+ , Space
+ , Str "Man."
+ , Space
+ , Str "Fear"
+ , Space
+ , Str "death"
+ , Space
+ , Str "by"
+ , Space
+ , Str "water."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "see"
+ , Space
+ , Str "crowds"
+ , Space
+ , Str "of"
+ , Space
+ , Str "people,"
+ , Space
+ , Str "walking"
+ , Space
+ , Str "round"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "ring."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Thank"
+ , Space
+ , Str "you."
+ , Space
+ , Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "see"
+ , Space
+ , Str "dear"
+ , Space
+ , Str "Mrs."
+ , Space
+ , Str "Equitone,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Tell"
+ , Space
+ , Str "her"
+ , Space
+ , Str "I"
+ , Space
+ , Str "bring"
+ , Space
+ , Str "the"
+ , Space
+ , Str "horoscope"
+ , Space
+ , Str "myself:"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "One"
+ , Space
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "so"
+ , Space
+ , Str "careful"
+ , Space
+ , Str "these"
+ , Space
+ , Str "days."
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln60" , [] , [] )
+ [ Plain
+ [ Str "Unreal"
+ , Space
+ , Str "City,"
+ , Str ""
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "60" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "brown"
+ , Space
+ , Str "fog"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "winter"
+ , Space
+ , Str "dawn,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "A"
+ , Space
+ , Str "crowd"
+ , Space
+ , Str "flowed"
+ , Space
+ , Str "over"
+ , Space
+ , Str "London"
+ , Space
+ , Str "Bridge,"
+ , Space
+ , Str "so"
+ , Space
+ , Str "many,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln63" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "had"
+ , Space
+ , Str "not"
+ , Space
+ , Str "thought"
+ , Space
+ , Str "death"
+ , Space
+ , Str "had"
+ , Space
+ , Str "undone"
+ , Space
+ , Str "so"
+ , Space
+ , Str "many."
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln64" , [] , [] )
+ [ Plain
+ [ Str "Sighs,"
+ , Space
+ , Str "short"
+ , Space
+ , Str "and"
+ , Space
+ , Str "infrequent,"
+ , Space
+ , Str "were"
+ , Space
+ , Str "exhaled,"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "each"
+ , Space
+ , Str "man"
+ , Space
+ , Str "fixed"
+ , Space
+ , Str "his"
+ , Space
+ , Str "eyes"
+ , Space
+ , Str "before"
+ , Space
+ , Str "his"
+ , Space
+ , Str "feet."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Flowed"
+ , Space
+ , Str "up"
+ , Space
+ , Str "the"
+ , Space
+ , Str "hill"
+ , Space
+ , Str "and"
+ , Space
+ , Str "down"
+ , Space
+ , Str "King"
+ , Space
+ , Str "William"
+ , Space
+ , Str "Street,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "To"
+ , Space
+ , Str "where"
+ , Space
+ , Str "Saint"
+ , Space
+ , Str "Mary"
+ , Space
+ , Str "Woolnoth"
+ , Space
+ , Str "kept"
+ , Space
+ , Str "the"
+ , Space
+ , Str "hours"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln68" , [] , [] )
+ [ Plain
+ [ Str "With"
+ , Space
+ , Str "a"
+ , Space
+ , Str "dead"
+ , Space
+ , Str "sound"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "final"
+ , Space
+ , Str "stroke"
+ , Space
+ , Str "of"
+ , Space
+ , Str "nine."
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "There"
+ , Space
+ , Str "I"
+ , Space
+ , Str "saw"
+ , Space
+ , Str "one"
+ , Space
+ , Str "I"
+ , Space
+ , Str "knew,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "stopped"
+ , Space
+ , Str "him,"
+ , Space
+ , Str "crying"
+ , SoftBreak
+ , Str "\"Stetson!"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"You"
+ , Space
+ , Str "who"
+ , Space
+ , Str "were"
+ , Space
+ , Str "with"
+ , Space
+ , Str "me"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ships"
+ , Space
+ , Str "at"
+ , Space
+ , Str "Mylae!"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "70" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"That"
+ , Space
+ , Str "corpse"
+ , Space
+ , Str "you"
+ , Space
+ , Str "planted"
+ , Space
+ , Str "last"
+ , Space
+ , Str "year"
+ , Space
+ , Str "in"
+ , Space
+ , Str "your"
+ , Space
+ , Str "garden,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Has"
+ , Space
+ , Str "it"
+ , Space
+ , Str "begun"
+ , Space
+ , Str "to"
+ , Space
+ , Str "sprout?"
+ , Space
+ , Str "Will"
+ , Space
+ , Str "it"
+ , Space
+ , Str "bloom"
+ , Space
+ , Str "this"
+ , Space
+ , Str "year?"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Or"
+ , Space
+ , Str "has"
+ , Space
+ , Str "the"
+ , Space
+ , Str "sudden"
+ , Space
+ , Str "frost"
+ , Space
+ , Str "disturbed"
+ , Space
+ , Str "its"
+ , Space
+ , Str "bed?"
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln74" , [] , [] )
+ [ Plain
+ [ Str "\"Oh"
+ , Space
+ , Str "keep"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Dog"
+ , Space
+ , Str "far"
+ , Space
+ , Str "hence,"
+ , Space
+ , Str "that's"
+ , Space
+ , Str "friend"
+ , Space
+ , Str "to"
+ , Space
+ , Str "men,"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Or"
+ , Space
+ , Str "with"
+ , Space
+ , Str "his"
+ , Space
+ , Str "nails"
+ , Space
+ , Str "he'll"
+ , Space
+ , Str "dig"
+ , Space
+ , Str "it"
+ , Space
+ , Str "up"
+ , Space
+ , Str "again!"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln76" , [] , [] )
+ [ Plain
+ [ Str "\"You!"
+ , Space
+ , Span
+ ( "" , [] , [ ( "lang" , "fr" ) ] )
+ [ Str "hypocrite"
+ , Space
+ , Str "lecteur!"
+ , Space
+ , Str "-"
+ , Space
+ , Str "mon"
+ , Space
+ , Str "semblable,"
+ , Space
+ , Str "-"
+ , SoftBreak
+ , Str "mon"
+ , Space
+ , Str "frere"
+ ]
+ , Space
+ , Str "!\""
+ , Str ""
+ ]
+ ]
+ ]
+ ]
, Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "", [], [] )
- [ Plain
- [ Str "April"
- , Space
- , Str "is"
- , Space
- , Str "the"
- , Space
- , Str "cruellest"
- , Space
- , Str "month,"
- , Space
- , Str "breeding"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Lilacs"
- , Space
- , Str "out"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "dead"
- , Space
- , Str "land,"
- , Space
- , Str "mixing"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Memory"
- , Space
- , Str "and"
- , Space
- , Str "desire,"
- , Space
- , Str "stirring"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Dull"
- , Space
- , Str "roots"
- , Space
- , Str "with"
- , Space
- , Str "spring"
- , Space
- , Str "rain."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Winter"
- , Space
- , Str "kept"
- , Space
- , Str "us"
- , Space
- , Str "warm,"
- , Space
- , Str "covering"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Earth"
- , Space
- , Str "in"
- , Space
- , Str "forgetful"
- , Space
- , Str "snow,"
- , Space
- , Str "feeding"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "A"
- , Space
- , Str "little"
- , Space
- , Str "life"
- , Space
- , Str "with"
- , Space
- , Str "dried"
- , Space
- , Str "tubers."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Summer"
- , Space
- , Str "surprised"
- , Space
- , Str "us,"
- , Space
- , Str "coming"
- , Space
- , Str "over"
- , Space
- , Str "the"
- , Space
- , Str "Starnbergersee"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "With"
- , Space
- , Str "a"
- , Space
- , Str "shower"
- , Space
- , Str "of"
- , Space
- , Str "rain;"
- , Space
- , Str "we"
- , Space
- , Str "stopped"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "colonnade,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "went"
- , Space
- , Str "on"
- , Space
- , Str "in"
- , Space
- , Str "sunlight,"
- , Space
- , Str "into"
- , Space
- , Str "the"
- , Space
- , Str "Hofgarten,"
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "10" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "drank"
- , Space
- , Str "coffee,"
- , Space
- , Str "and"
- , Space
- , Str "talked"
- , Space
- , Str "for"
- , Space
- , Str "an"
- , Space
- , Str "hour."
- ]
- ]
- , Div
- ( "", [], [ ( "lang", "de" ) ] )
- [ Plain
- [ Str "Bin"
- , Space
- , Str "gar"
- , Space
- , Str "keine"
- , Space
- , Str "Russin,"
- , Space
- , Str "stamm'"
- , Space
- , Str "aus"
- , Space
- , Str "Litauen,"
- , Space
- , Str "echt"
- , SoftBreak
- , Str "deutsch."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "when"
- , Space
- , Str "we"
- , Space
- , Str "were"
- , Space
- , Str "children,"
- , Space
- , Str "staying"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "archduke's,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "My"
- , Space
- , Str "cousin's,"
- , Space
- , Str "he"
- , Space
- , Str "took"
- , Space
- , Str "me"
- , Space
- , Str "out"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , Space
- , Str "sled,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "I"
- , Space
- , Str "was"
- , Space
- , Str "frightened."
- , Space
- , Str "He"
- , Space
- , Str "said,"
- , Space
- , Str "Marie,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Marie,"
- , Space
- , Str "hold"
- , Space
- , Str "on"
- , Space
- , Str "tight."
- , Space
- , Str "And"
- , Space
- , Str "down"
- , Space
- , Str "we"
- , Space
- , Str "went."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "In"
- , Space
- , Str "the"
- , Space
- , Str "mountains,"
- , Space
- , Str "there"
- , Space
- , Str "you"
- , Space
- , Str "feel"
- , Space
- , Str "free."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "I"
- , Space
- , Str "read,"
- , Space
- , Str "much"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "night,"
- , Space
- , Str "and"
- , Space
- , Str "go"
- , Space
- , Str "south"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "winter."
- ]
- ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "", [], [] )
- [ Plain
- [ Str "What"
- , Space
- , Str "are"
- , Space
- , Str "the"
- , Space
- , Str "roots"
- , Space
- , Str "that"
- , Space
- , Str "clutch,"
- , Space
- , Str "what"
- , Space
- , Str "branches"
- , Space
- , Str "grow"
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln20", [], [] )
- [ Plain
- [ Str "Out"
- , Space
- , Str "of"
- , Space
- , Str "this"
- , Space
- , Str "stony"
- , Space
- , Str "rubbish?"
- , Space
- , Str "Son"
- , Space
- , Str "of"
- , Space
- , Str "man,"
- , Str ""
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "20" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "You"
- , Space
- , Str "cannot"
- , Space
- , Str "say,"
- , Space
- , Str "or"
- , Space
- , Str "guess,"
- , Space
- , Str "for"
- , Space
- , Str "you"
- , Space
- , Str "know"
- , Space
- , Str "only"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "A"
- , Space
- , Str "heap"
- , Space
- , Str "of"
- , Space
- , Str "broken"
- , Space
- , Str "images,"
- , Space
- , Str "where"
- , Space
- , Str "the"
- , Space
- , Str "sun"
- , Space
- , Str "beats,"
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln23", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "the"
- , Space
- , Str "dead"
- , Space
- , Str "tree"
- , Space
- , Str "gives"
- , Space
- , Str "no"
- , Space
- , Str "shelter,"
- , Space
- , Str "the"
- , Space
- , Str "cricket"
- , Space
- , Str "no"
- , Space
- , Str "relief,"
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "the"
- , Space
- , Str "dry"
- , Space
- , Str "stone"
- , Space
- , Str "no"
- , Space
- , Str "sound"
- , Space
- , Str "of"
- , Space
- , Str "water."
- , Space
- , Str "Only"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "There"
- , Space
- , Str "is"
- , Space
- , Str "shadow"
- , Space
- , Str "under"
- , Space
- , Str "this"
- , Space
- , Str "red"
- , Space
- , Str "rock,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "(Come"
- , Space
- , Str "in"
- , Space
- , Str "under"
- , Space
- , Str "the"
- , Space
- , Str "shadow"
- , Space
- , Str "of"
- , Space
- , Str "this"
- , Space
- , Str "red"
- , Space
- , Str "rock),"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "I"
- , Space
- , Str "will"
- , Space
- , Str "show"
- , Space
- , Str "you"
- , Space
- , Str "something"
- , Space
- , Str "different"
- , Space
- , Str "from"
- , Space
- , Str "either"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Your"
- , Space
- , Str "shadow"
- , Space
- , Str "at"
- , Space
- , Str "morning"
- , Space
- , Str "striding"
- , Space
- , Str "behind"
- , Space
- , Str "you"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Or"
- , Space
- , Str "your"
- , Space
- , Str "shadow"
- , Space
- , Str "at"
- , Space
- , Str "evening"
- , Space
- , Str "rising"
- , Space
- , Str "to"
- , Space
- , Str "meet"
- , Space
- , Str "you;"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "I"
- , Space
- , Str "will"
- , Space
- , Str "show"
- , Space
- , Str "you"
- , Space
- , Str "fear"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "handful"
- , Space
- , Str "of"
- , Space
- , Str "dust."
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "30" ]
- ]
- ]
- , BlockQuote
- [ Div
- ( "", [], [] )
- [ Div
- ( "wasteland-content.xhtml#ln31", [], [] )
- [ Plain
- [ Str "Frisch"
- , Space
- , Str "weht"
- , Space
- , Str "der"
- , Space
- , Str "Wind"
- , Str ""
- ]
+ ( "wasteland-content.xhtml#ch2" , [ "section" ] , [] )
+ [ Header
+ 2
+ ( "" , [] , [] )
+ [ Str "II."
+ , Space
+ , Str "A"
+ , Space
+ , Str "GAME"
+ , Space
+ , Str "OF"
+ , Space
+ , Str "CHESS"
]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Der", Space, Str "Heimat", Space, Str "zu" ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln77" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "Chair"
+ , Space
+ , Str "she"
+ , Space
+ , Str "sat"
+ , Space
+ , Str "in,"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "burnished"
+ , Space
+ , Str "throne,"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Glowed"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "marble,"
+ , Space
+ , Str "where"
+ , Space
+ , Str "the"
+ , Space
+ , Str "glass"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Held"
+ , Space
+ , Str "up"
+ , Space
+ , Str "by"
+ , Space
+ , Str "standards"
+ , Space
+ , Str "wrought"
+ , Space
+ , Str "with"
+ , Space
+ , Str "fruited"
+ , Space
+ , Str "vines"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "From"
+ , Space
+ , Str "which"
+ , Space
+ , Str "a"
+ , Space
+ , Str "golden"
+ , Space
+ , Str "Cupidon"
+ , Space
+ , Str "peeped"
+ , Space
+ , Str "out"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "80" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(Another"
+ , Space
+ , Str "hid"
+ , Space
+ , Str "his"
+ , Space
+ , Str "eyes"
+ , Space
+ , Str "behind"
+ , Space
+ , Str "his"
+ , Space
+ , Str "wing)"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Doubled"
+ , Space
+ , Str "the"
+ , Space
+ , Str "flames"
+ , Space
+ , Str "of"
+ , Space
+ , Str "sevenbranched"
+ , Space
+ , Str "candelabra"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Reflecting"
+ , Space
+ , Str "light"
+ , Space
+ , Str "upon"
+ , Space
+ , Str "the"
+ , Space
+ , Str "table"
+ , Space
+ , Str "as"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "glitter"
+ , Space
+ , Str "of"
+ , Space
+ , Str "her"
+ , Space
+ , Str "jewels"
+ , Space
+ , Str "rose"
+ , Space
+ , Str "to"
+ , Space
+ , Str "meet"
+ , Space
+ , Str "it,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "From"
+ , Space
+ , Str "satin"
+ , Space
+ , Str "cases"
+ , Space
+ , Str "poured"
+ , Space
+ , Str "in"
+ , Space
+ , Str "rich"
+ , Space
+ , Str "profusion;"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "In"
+ , Space
+ , Str "vials"
+ , Space
+ , Str "of"
+ , Space
+ , Str "ivory"
+ , Space
+ , Str "and"
+ , Space
+ , Str "coloured"
+ , Space
+ , Str "glass"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Unstoppered,"
+ , Space
+ , Str "lurked"
+ , Space
+ , Str "her"
+ , Space
+ , Str "strange"
+ , Space
+ , Str "synthetic"
+ , Space
+ , Str "perfumes,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Unguent,"
+ , Space
+ , Str "powdered,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "liquid"
+ , Space
+ , Str "-"
+ , Space
+ , Str "troubled,"
+ , Space
+ , Str "confused"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "drowned"
+ , Space
+ , Str "the"
+ , Space
+ , Str "sense"
+ , Space
+ , Str "in"
+ , Space
+ , Str "odours;"
+ , Space
+ , Str "stirred"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "air"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "That"
+ , Space
+ , Str "freshened"
+ , Space
+ , Str "from"
+ , Space
+ , Str "the"
+ , Space
+ , Str "window,"
+ , Space
+ , Str "these"
+ , Space
+ , Str "ascended"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "90" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "In"
+ , Space
+ , Str "fattening"
+ , Space
+ , Str "the"
+ , Space
+ , Str "prolonged"
+ , Space
+ , Str "candle-flames,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln92" , [] , [] )
+ [ Plain
+ [ Str "Flung"
+ , Space
+ , Str "their"
+ , Space
+ , Str "smoke"
+ , Space
+ , Str "into"
+ , Space
+ , Str "the"
+ , Space
+ , Str "laquearia,"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Stirring"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pattern"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "coffered"
+ , Space
+ , Str "ceiling."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Huge"
+ , Space
+ , Str "sea-wood"
+ , Space
+ , Str "fed"
+ , Space
+ , Str "with"
+ , Space
+ , Str "copper"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Burned"
+ , Space
+ , Str "green"
+ , Space
+ , Str "and"
+ , Space
+ , Str "orange,"
+ , Space
+ , Str "framed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "coloured"
+ , Space
+ , Str "stone,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "In"
+ , Space
+ , Str "which"
+ , Space
+ , Str "sad"
+ , Space
+ , Str "light"
+ , Space
+ , Str "a"
+ , Space
+ , Str "carved"
+ , Space
+ , Str "dolphin"
+ , Space
+ , Str "swam."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Above"
+ , Space
+ , Str "the"
+ , Space
+ , Str "antique"
+ , Space
+ , Str "mantel"
+ , Space
+ , Str "was"
+ , Space
+ , Str "displayed"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln98" , [] , [] )
+ [ Plain
+ [ Str "As"
+ , Space
+ , Str "though"
+ , Space
+ , Str "a"
+ , Space
+ , Str "window"
+ , Space
+ , Str "gave"
+ , Space
+ , Str "upon"
+ , Space
+ , Str "the"
+ , Space
+ , Str "sylvan"
+ , Space
+ , Str "scene"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln99" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "change"
+ , Space
+ , Str "of"
+ , Space
+ , Str "Philomel,"
+ , Space
+ , Str "by"
+ , Space
+ , Str "the"
+ , Space
+ , Str "barbarous"
+ , Space
+ , Str "king"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln100" , [] , [] )
+ [ Plain
+ [ Str "So"
+ , Space
+ , Str "rudely"
+ , Space
+ , Str "forced;"
+ , Space
+ , Str "yet"
+ , Space
+ , Str "there"
+ , Space
+ , Str "the"
+ , Space
+ , Str "nightingale"
+ , Str ""
+ , SoftBreak
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "100" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Filled"
+ , Space
+ , Str "all"
+ , Space
+ , Str "the"
+ , Space
+ , Str "desert"
+ , Space
+ , Str "with"
+ , Space
+ , Str "inviolable"
+ , Space
+ , Str "voice"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "still"
+ , Space
+ , Str "she"
+ , Space
+ , Str "cried,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "still"
+ , Space
+ , Str "the"
+ , Space
+ , Str "world"
+ , Space
+ , Str "pursues,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Jug"
+ , Space
+ , Str "Jug\""
+ , Space
+ , Str "to"
+ , Space
+ , Str "dirty"
+ , Space
+ , Str "ears."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "other"
+ , Space
+ , Str "withered"
+ , Space
+ , Str "stumps"
+ , Space
+ , Str "of"
+ , Space
+ , Str "time"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Were"
+ , Space
+ , Str "told"
+ , Space
+ , Str "upon"
+ , Space
+ , Str "the"
+ , Space
+ , Str "walls;"
+ , Space
+ , Str "staring"
+ , Space
+ , Str "forms"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Leaned"
+ , Space
+ , Str "out,"
+ , Space
+ , Str "leaning,"
+ , Space
+ , Str "hushing"
+ , Space
+ , Str "the"
+ , Space
+ , Str "room"
+ , Space
+ , Str "enclosed."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Footsteps"
+ , Space
+ , Str "shuffled"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "stair."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "firelight,"
+ , Space
+ , Str "under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "brush,"
+ , Space
+ , Str "her"
+ , Space
+ , Str "hair"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Spread"
+ , Space
+ , Str "out"
+ , Space
+ , Str "in"
+ , Space
+ , Str "fiery"
+ , Space
+ , Str "points"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Glowed"
+ , Space
+ , Str "into"
+ , Space
+ , Str "words,"
+ , Space
+ , Str "then"
+ , Space
+ , Str "would"
+ , Space
+ , Str "be"
+ , Space
+ , Str "savagely"
+ , Space
+ , Str "still."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "110" ]
+ ]
+ ]
]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Mein", Space, Str "Irisch", Space, Str "Kind," ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"My"
+ , Space
+ , Str "nerves"
+ , Space
+ , Str "are"
+ , Space
+ , Str "bad"
+ , Space
+ , Str "to-night."
+ , Space
+ , Str "Yes,"
+ , Space
+ , Str "bad."
+ , Space
+ , Str "Stay"
+ , Space
+ , Str "with"
+ , Space
+ , Str "me."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"Speak"
+ , Space
+ , Str "to"
+ , Space
+ , Str "me."
+ , Space
+ , Str "Why"
+ , Space
+ , Str "do"
+ , Space
+ , Str "you"
+ , Space
+ , Str "never"
+ , Space
+ , Str "speak."
+ , Space
+ , Str "Speak."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "are"
+ , Space
+ , Str "you"
+ , Space
+ , Str "thinking"
+ , Space
+ , Str "of?"
+ , Space
+ , Str "What"
+ , Space
+ , Str "thinking?"
+ , Space
+ , Str "What?"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"I"
+ , Space
+ , Str "never"
+ , Space
+ , Str "know"
+ , Space
+ , Str "what"
+ , Space
+ , Str "you"
+ , Space
+ , Str "are"
+ , Space
+ , Str "thinking."
+ , Space
+ , Str "Think.\""
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "wasteland-content.xhtml#ln115" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "think"
+ , Space
+ , Str "we"
+ , Space
+ , Str "are"
+ , Space
+ , Str "in"
+ , Space
+ , Str "rats'"
+ , Space
+ , Str "alley"
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Where"
+ , Space
+ , Str "the"
+ , Space
+ , Str "dead"
+ , Space
+ , Str "men"
+ , Space
+ , Str "lost"
+ , Space
+ , Str "their"
+ , Space
+ , Str "bones."
+ ]
+ ]
+ ]
]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Wo", Space, Str "weilest", Space, Str "du?" ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "is"
+ , Space
+ , Str "that"
+ , Space
+ , Str "noise?\""
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln118" , [ "indent" ] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "wind"
+ , Space
+ , Str "under"
+ , Space
+ , Str "the"
+ , Space
+ , Str "door."
+ , Str ""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "is"
+ , Space
+ , Str "that"
+ , Space
+ , Str "noise"
+ , Space
+ , Str "now?"
+ , Space
+ , Str "What"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "wind"
+ , Space
+ , Str "doing?\""
+ ]
+ ]
+ , Div
+ ( "" , [ "indent" ] , [] )
+ [ Plain
+ [ Str "Nothing"
+ , Space
+ , Str "again"
+ , Space
+ , Str "nothing."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "120" ]
+ ]
+ ]
]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"You"
- , Space
- , Str "gave"
- , Space
- , Str "me"
- , Space
- , Str "hyacinths"
- , Space
- , Str "first"
- , Space
- , Str "a"
- , Space
- , Str "year"
- , Space
- , Str "ago;"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"They"
- , Space
- , Str "called"
- , Space
- , Str "me"
- , Space
- , Str "the"
- , Space
- , Str "hyacinth"
- , Space
- , Str "girl.\""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\8213Yet"
- , Space
- , Str "when"
- , Space
- , Str "we"
- , Space
- , Str "came"
- , Space
- , Str "back,"
- , Space
- , Str "late,"
- , Space
- , Str "from"
- , Space
- , Str "the"
- , Space
- , Str "Hyacinth"
- , SoftBreak
- , Str "garden,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Your"
- , Space
- , Str "arms"
- , Space
- , Str "full,"
- , Space
- , Str "and"
- , Space
- , Str "your"
- , Space
- , Str "hair"
- , Space
- , Str "wet,"
- , Space
- , Str "I"
- , Space
- , Str "could"
- , Space
- , Str "not"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Speak,"
- , Space
- , Str "and"
- , Space
- , Str "my"
- , Space
- , Str "eyes"
- , Space
- , Str "failed,"
- , Space
- , Str "I"
- , Space
- , Str "was"
- , Space
- , Str "neither"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Living"
- , Space
- , Str "nor"
- , Space
- , Str "dead,"
- , Space
- , Str "and"
- , Space
- , Str "I"
- , Space
- , Str "knew"
- , Space
- , Str "nothing,"
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "40" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Looking"
- , Space
- , Str "into"
- , Space
- , Str "the"
- , Space
- , Str "heart"
- , Space
- , Str "of"
- , Space
- , Str "light,"
- , Space
- , Str "the"
- , Space
- , Str "silence."
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln42", [], [ ( "lang", "de" ) ] )
- [ Plain
- [ Emph
- [ Str "Od'"
- , Space
- , Str "und"
- , Space
- , Str "leer"
- , Space
- , Str "das"
- , Space
- , Str "Meer"
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div ( "" , [] , [] ) [ Plain [ Str "\"Do" ] ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"You"
+ , Space
+ , Str "know"
+ , Space
+ , Str "nothing?"
+ , Space
+ , Str "Do"
+ , Space
+ , Str "you"
+ , Space
+ , Str "see"
+ , Space
+ , Str "nothing?"
+ , Space
+ , Str "Do"
+ , Space
+ , Str "you"
+ , Space
+ , Str "remember"
+ ]
+ ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "\"Nothing?\"" ] ]
]
- , Str "."
- , Str ""
- ]
- ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "", [], [] )
- [ Plain
- [ Str "Madame"
- , Space
- , Str "Sosostris,"
- , Space
- , Str "famous"
- , Space
- , Str "clairvoyante,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Had"
- , Space
- , Str "a"
- , Space
- , Str "bad"
- , Space
- , Str "cold,"
- , Space
- , Str "nevertheless"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Is"
- , Space
- , Str "known"
- , Space
- , Str "to"
- , Space
- , Str "be"
- , Space
- , Str "the"
- , Space
- , Str "wisest"
- , Space
- , Str "woman"
- , Space
- , Str "in"
- , Space
- , Str "Europe,"
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln46", [], [] )
- [ Plain
- [ Str "With"
- , Space
- , Str "a"
- , Space
- , Str "wicked"
- , Space
- , Str "pack"
- , Space
- , Str "of"
- , Space
- , Str "cards."
- , Space
- , Str "Here,"
- , Space
- , Str "said"
- , Space
- , Str "she,"
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Is"
- , Space
- , Str "your"
- , Space
- , Str "card,"
- , Space
- , Str "the"
- , Space
- , Str "drowned"
- , Space
- , Str "Phoenician"
- , Space
- , Str "Sailor,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "(Those"
- , Space
- , Str "are"
- , Space
- , Str "pearls"
- , Space
- , Str "that"
- , Space
- , Str "were"
- , Space
- , Str "his"
- , Space
- , Str "eyes."
- , Space
- , Str "Look!)"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "Belladonna,"
- , Space
- , Str "the"
- , Space
- , Str "Lady"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "Rocks,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "The"
- , Space
- , Str "lady"
- , Space
- , Str "of"
- , Space
- , Str "situations."
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "50" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "the"
- , Space
- , Str "man"
- , Space
- , Str "with"
- , Space
- , Str "three"
- , Space
- , Str "staves,"
- , Space
- , Str "and"
- , Space
- , Str "here"
- , Space
- , Str "the"
- , Space
- , Str "Wheel,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "here"
- , Space
- , Str "is"
- , Space
- , Str "the"
- , Space
- , Str "one-eyed"
- , Space
- , Str "merchant,"
- , Space
- , Str "and"
- , Space
- , Str "this"
- , Space
- , Str "card,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Which"
- , Space
- , Str "is"
- , Space
- , Str "blank,"
- , Space
- , Str "is"
- , Space
- , Str "something"
- , Space
- , Str "he"
- , Space
- , Str "carries"
- , Space
- , Str "on"
- , Space
- , Str "his"
- , Space
- , Str "back,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Which"
- , Space
- , Str "I"
- , Space
- , Str "am"
- , Space
- , Str "forbidden"
- , Space
- , Str "to"
- , Space
- , Str "see."
- , Space
- , Str "I"
- , Space
- , Str "do"
- , Space
- , Str "not"
- , Space
- , Str "find"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "The"
- , Space
- , Str "Hanged"
- , Space
- , Str "Man."
- , Space
- , Str "Fear"
- , Space
- , Str "death"
- , Space
- , Str "by"
- , Space
- , Str "water."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "I"
- , Space
- , Str "see"
- , Space
- , Str "crowds"
- , Space
- , Str "of"
- , Space
- , Str "people,"
- , Space
- , Str "walking"
- , Space
- , Str "round"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "ring."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Thank"
- , Space
- , Str "you."
- , Space
- , Str "If"
- , Space
- , Str "you"
- , Space
- , Str "see"
- , Space
- , Str "dear"
- , Space
- , Str "Mrs."
- , Space
- , Str "Equitone,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Tell"
- , Space
- , Str "her"
- , Space
- , Str "I"
- , Space
- , Str "bring"
- , Space
- , Str "the"
- , Space
- , Str "horoscope"
- , Space
- , Str "myself:"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "One"
- , Space
- , Str "must"
- , Space
- , Str "be"
- , Space
- , Str "so"
- , Space
- , Str "careful"
- , Space
- , Str "these"
- , Space
- , Str "days."
- ]
- ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "wasteland-content.xhtml#ln60", [], [] )
- [ Plain
- [ Str "Unreal"
- , Space
- , Str "City,"
- , Str ""
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "60" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Under"
- , Space
- , Str "the"
- , Space
- , Str "brown"
- , Space
- , Str "fog"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "winter"
- , Space
- , Str "dawn,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "A"
- , Space
- , Str "crowd"
- , Space
- , Str "flowed"
- , Space
- , Str "over"
- , Space
- , Str "London"
- , Space
- , Str "Bridge,"
- , Space
- , Str "so"
- , Space
- , Str "many,"
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln63", [], [] )
- [ Plain
- [ Str "I"
- , Space
- , Str "had"
- , Space
- , Str "not"
- , Space
- , Str "thought"
- , Space
- , Str "death"
- , Space
- , Str "had"
- , Space
- , Str "undone"
- , Space
- , Str "so"
- , Space
- , Str "many."
- , Str ""
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln64", [], [] )
- [ Plain
- [ Str "Sighs,"
- , Space
- , Str "short"
- , Space
- , Str "and"
- , Space
- , Str "infrequent,"
- , Space
- , Str "were"
- , Space
- , Str "exhaled,"
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "each"
- , Space
- , Str "man"
- , Space
- , Str "fixed"
- , Space
- , Str "his"
- , Space
- , Str "eyes"
- , Space
- , Str "before"
- , Space
- , Str "his"
- , Space
- , Str "feet."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Flowed"
- , Space
- , Str "up"
- , Space
- , Str "the"
- , Space
- , Str "hill"
- , Space
- , Str "and"
- , Space
- , Str "down"
- , Space
- , Str "King"
- , Space
- , Str "William"
- , Space
- , Str "Street,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "To"
- , Space
- , Str "where"
- , Space
- , Str "Saint"
- , Space
- , Str "Mary"
- , Space
- , Str "Woolnoth"
- , Space
- , Str "kept"
- , Space
- , Str "the"
- , Space
- , Str "hours"
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln68", [], [] )
- [ Plain
- [ Str "With"
- , Space
- , Str "a"
- , Space
- , Str "dead"
- , Space
- , Str "sound"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "final"
- , Space
- , Str "stroke"
- , Space
- , Str "of"
- , Space
- , Str "nine."
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "There"
- , Space
- , Str "I"
- , Space
- , Str "saw"
- , Space
- , Str "one"
- , Space
- , Str "I"
- , Space
- , Str "knew,"
- , Space
- , Str "and"
- , Space
- , Str "stopped"
- , Space
- , Str "him,"
- , Space
- , Str "crying"
- , SoftBreak
- , Str "\"Stetson!"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"You"
- , Space
- , Str "who"
- , Space
- , Str "were"
- , Space
- , Str "with"
- , Space
- , Str "me"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "ships"
- , Space
- , Str "at"
- , Space
- , Str "Mylae!"
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "70" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"That"
- , Space
- , Str "corpse"
- , Space
- , Str "you"
- , Space
- , Str "planted"
- , Space
- , Str "last"
- , Space
- , Str "year"
- , Space
- , Str "in"
- , Space
- , Str "your"
- , Space
- , Str "garden,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"Has"
- , Space
- , Str "it"
- , Space
- , Str "begun"
- , Space
- , Str "to"
- , Space
- , Str "sprout?"
- , Space
- , Str "Will"
- , Space
- , Str "it"
- , Space
- , Str "bloom"
- , Space
- , Str "this"
- , Space
- , Str "year?"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"Or"
- , Space
- , Str "has"
- , Space
- , Str "the"
- , Space
- , Str "sudden"
- , Space
- , Str "frost"
- , Space
- , Str "disturbed"
- , Space
- , Str "its"
- , Space
- , Str "bed?"
- ]
- ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "wasteland-content.xhtml#ln74", [], [] )
- [ Plain
- [ Str "\"Oh"
- , Space
- , Str "keep"
- , Space
- , Str "the"
- , Space
- , Str "Dog"
- , Space
- , Str "far"
- , Space
- , Str "hence,"
- , Space
- , Str "that's"
- , Space
- , Str "friend"
- , Space
- , Str "to"
- , Space
- , Str "men,"
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"Or"
- , Space
- , Str "with"
- , Space
- , Str "his"
- , Space
- , Str "nails"
- , Space
- , Str "he'll"
- , Space
- , Str "dig"
- , Space
- , Str "it"
- , Space
- , Str "up"
- , Space
- , Str "again!"
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln76", [], [] )
- [ Plain
- [ Str "\"You!"
- , Space
- , Span
- ( "", [], [ ( "lang", "fr" ) ] )
- [ Str "hypocrite"
- , Space
- , Str "lecteur!"
- , Space
- , Str "-"
- , Space
- , Str "mon"
- , Space
- , Str "semblable,"
- , Space
- , Str "-"
- , SoftBreak
- , Str "mon"
- , Space
- , Str "frere"
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain [ Str "I" , Space , Str "remember" ] ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Those"
+ , Space
+ , Str "are"
+ , Space
+ , Str "pearls"
+ , Space
+ , Str "that"
+ , Space
+ , Str "were"
+ , Space
+ , Str "his"
+ , Space
+ , Str "eyes."
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln126" , [] , [] )
+ [ Plain
+ [ Str "\"Are"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alive,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "not?"
+ , Space
+ , Str "Is"
+ , Space
+ , Str "there"
+ , Space
+ , Str "nothing"
+ , Space
+ , Str "in"
+ , Space
+ , Str "your"
+ , Space
+ , Str "head?\""
+ , Str ""
+ ]
+ ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "But" ] ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "O"
+ , Space
+ , Str "O"
+ , Space
+ , Str "O"
+ , Space
+ , Str "O"
+ , Space
+ , Str "that"
+ , Space
+ , Str "Shakespeherian"
+ , Space
+ , Str "Rag\8213"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "It's"
+ , Space
+ , Str "so"
+ , Space
+ , Str "elegant"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "So"
+ , Space
+ , Str "intelligent"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "130" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "I"
+ , Space
+ , Str "do"
+ , Space
+ , Str "now?"
+ , Space
+ , Str "What"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "I"
+ , Space
+ , Str "do?\""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "rush"
+ , Space
+ , Str "out"
+ , Space
+ , Str "as"
+ , Space
+ , Str "I"
+ , Space
+ , Str "am,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "walk"
+ , Space
+ , Str "the"
+ , Space
+ , Str "street"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"With"
+ , Space
+ , Str "my"
+ , Space
+ , Str "hair"
+ , Space
+ , Str "down,"
+ , Space
+ , Str "so."
+ , Space
+ , Str "What"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "we"
+ , Space
+ , Str "do"
+ , Space
+ , Str "to-morrow?"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "\"What"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "we"
+ , Space
+ , Str "ever"
+ , Space
+ , Str "do?\""
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "hot"
+ , Space
+ , Str "water"
+ , Space
+ , Str "at"
+ , Space
+ , Str "ten."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "if"
+ , Space
+ , Str "it"
+ , Space
+ , Str "rains,"
+ , Space
+ , Str "a"
+ , Space
+ , Str "closed"
+ , Space
+ , Str "car"
+ , Space
+ , Str "at"
+ , Space
+ , Str "four."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "we"
+ , Space
+ , Str "shall"
+ , Space
+ , Str "play"
+ , Space
+ , Str "a"
+ , Space
+ , Str "game"
+ , Space
+ , Str "of"
+ , Space
+ , Str "chess,"
+ ]
+ ]
+ , Div
+ ( "wasteland-content.xhtml#ln138" , [] , [] )
+ [ Plain
+ [ Str "Pressing"
+ , Space
+ , Str "lidless"
+ , Space
+ , Str "eyes"
+ , Space
+ , Str "and"
+ , Space
+ , Str "waiting"
+ , Space
+ , Str "for"
+ , Space
+ , Str "a"
+ , Space
+ , Str "knock"
+ , Space
+ , Str "upon"
+ , Space
+ , Str "the"
+ , Space
+ , Str "door."
+ , Str ""
+ ]
+ ]
+ ]
+ , Div
+ ( "" , [ "linegroup" ] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "When"
+ , Space
+ , Str "Lil's"
+ , Space
+ , Str "husband"
+ , Space
+ , Str "got"
+ , Space
+ , Str "demobbed,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said"
+ , Space
+ , Str "-"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "didn't"
+ , Space
+ , Str "mince"
+ , Space
+ , Str "my"
+ , Space
+ , Str "words,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said"
+ , Space
+ , Str "to"
+ , Space
+ , Str "her"
+ , Space
+ , Str "myself,"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "140" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Now"
+ , Space
+ , Str "Albert's"
+ , Space
+ , Str "coming"
+ , Space
+ , Str "back,"
+ , Space
+ , Str "make"
+ , Space
+ , Str "yourself"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bit"
+ , Space
+ , Str "smart."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "He'll"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "know"
+ , Space
+ , Str "what"
+ , Space
+ , Str "you"
+ , Space
+ , Str "done"
+ , Space
+ , Str "with"
+ , Space
+ , Str "that"
+ , Space
+ , Str "money"
+ , Space
+ , Str "he"
+ , Space
+ , Str "gave"
+ , SoftBreak
+ , Str "you"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "yourself"
+ , Space
+ , Str "some"
+ , Space
+ , Str "teeth."
+ , Space
+ , Str "He"
+ , Space
+ , Str "did,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "was"
+ , Space
+ , Str "there."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "You"
+ , Space
+ , Str "have"
+ , Space
+ , Str "them"
+ , Space
+ , Str "all"
+ , Space
+ , Str "out,"
+ , Space
+ , Str "Lil,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "get"
+ , Space
+ , Str "a"
+ , Space
+ , Str "nice"
+ , Space
+ , Str "set,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "swear,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "can't"
+ , Space
+ , Str "bear"
+ , Space
+ , Str "to"
+ , Space
+ , Str "look"
+ , Space
+ , Str "at"
+ , Space
+ , Str "you."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "no"
+ , Space
+ , Str "more"
+ , Space
+ , Str "can't"
+ , Space
+ , Str "I,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "think"
+ , Space
+ , Str "of"
+ , Space
+ , Str "poor"
+ , Space
+ , Str "Albert,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "He's"
+ , Space
+ , Str "been"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "army"
+ , Space
+ , Str "four"
+ , Space
+ , Str "years,"
+ , Space
+ , Str "he"
+ , Space
+ , Str "wants"
+ , Space
+ , Str "a"
+ , Space
+ , Str "good"
+ , Space
+ , Str "time,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "if"
+ , Space
+ , Str "you"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "give"
+ , Space
+ , Str "it"
+ , Space
+ , Str "him,"
+ , Space
+ , Str "there's"
+ , Space
+ , Str "others"
+ , Space
+ , Str "will,"
+ , Space
+ , Str "I"
+ , SoftBreak
+ , Str "said."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Oh"
+ , Space
+ , Str "is"
+ , Space
+ , Str "there,"
+ , Space
+ , Str "she"
+ , Space
+ , Str "said."
+ , Space
+ , Str "Something"
+ , Space
+ , Str "o'"
+ , Space
+ , Str "that,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "150" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Then"
+ , Space
+ , Str "I'll"
+ , Space
+ , Str "know"
+ , Space
+ , Str "who"
+ , Space
+ , Str "to"
+ , Space
+ , Str "thank,"
+ , Space
+ , Str "she"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "give"
+ , Space
+ , Str "me"
+ , Space
+ , Str "a"
+ , Space
+ , Str "straight"
+ , SoftBreak
+ , Str "look."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "like"
+ , Space
+ , Str "it"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "get"
+ , Space
+ , Str "on"
+ , Space
+ , Str "with"
+ , Space
+ , Str "it,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Others"
+ , Space
+ , Str "can"
+ , Space
+ , Str "pick"
+ , Space
+ , Str "and"
+ , Space
+ , Str "choose"
+ , Space
+ , Str "if"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can't."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "But"
+ , Space
+ , Str "if"
+ , Space
+ , Str "Albert"
+ , Space
+ , Str "makes"
+ , Space
+ , Str "off,"
+ , Space
+ , Str "it"
+ , Space
+ , Str "won't"
+ , Space
+ , Str "be"
+ , Space
+ , Str "for"
+ , Space
+ , Str "lack"
+ , Space
+ , Str "of"
+ , SoftBreak
+ , Str "telling."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "You"
+ , Space
+ , Str "ought"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "ashamed,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "to"
+ , Space
+ , Str "look"
+ , Space
+ , Str "so"
+ , Space
+ , Str "antique."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(And"
+ , Space
+ , Str "her"
+ , Space
+ , Str "only"
+ , Space
+ , Str "thirty-one.)"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "I"
+ , Space
+ , Str "can't"
+ , Space
+ , Str "help"
+ , Space
+ , Str "it,"
+ , Space
+ , Str "she"
+ , Space
+ , Str "said,"
+ , Space
+ , Str "pulling"
+ , Space
+ , Str "a"
+ , Space
+ , Str "long"
+ , Space
+ , Str "face,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "It's"
+ , Space
+ , Str "them"
+ , Space
+ , Str "pills"
+ , Space
+ , Str "I"
+ , Space
+ , Str "took,"
+ , Space
+ , Str "to"
+ , Space
+ , Str "bring"
+ , Space
+ , Str "it"
+ , Space
+ , Str "off,"
+ , Space
+ , Str "she"
+ , Space
+ , Str "said."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "(She's"
+ , Space
+ , Str "had"
+ , Space
+ , Str "five"
+ , Space
+ , Str "already,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "nearly"
+ , Space
+ , Str "died"
+ , Space
+ , Str "of"
+ , Space
+ , Str "young"
+ , Space
+ , Str "George.)"
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "160" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "The"
+ , Space
+ , Str "chemist"
+ , Space
+ , Str "said"
+ , Space
+ , Str "it"
+ , Space
+ , Str "would"
+ , Space
+ , Str "be"
+ , Space
+ , Str "all"
+ , Space
+ , Str "right,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "I've"
+ , Space
+ , Str "never"
+ , Space
+ , Str "been"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "same."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "You"
+ , Space
+ , Emph [ Str "are" ]
+ , Space
+ , Str "a"
+ , Space
+ , Str "proper"
+ , Space
+ , Str "fool,"
+ , Space
+ , Str "I"
+ , Space
+ , Str "said."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Well,"
+ , Space
+ , Str "if"
+ , Space
+ , Str "Albert"
+ , Space
+ , Str "won't"
+ , Space
+ , Str "leave"
+ , Space
+ , Str "you"
+ , Space
+ , Str "alone,"
+ , Space
+ , Str "there"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is,"
+ , Space
+ , Str "I"
+ , SoftBreak
+ , Str "said,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "What"
+ , Space
+ , Str "you"
+ , Space
+ , Str "get"
+ , Space
+ , Str "married"
+ , Space
+ , Str "for"
+ , Space
+ , Str "if"
+ , Space
+ , Str "you"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "want"
+ , Space
+ , Str "children?"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Well,"
+ , Space
+ , Str "that"
+ , Space
+ , Str "Sunday"
+ , Space
+ , Str "Albert"
+ , Space
+ , Str "was"
+ , Space
+ , Str "home,"
+ , Space
+ , Str "they"
+ , Space
+ , Str "had"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hot"
+ , SoftBreak
+ , Str "gammon,"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "And"
+ , Space
+ , Str "they"
+ , Space
+ , Str "asked"
+ , Space
+ , Str "me"
+ , Space
+ , Str "in"
+ , Space
+ , Str "to"
+ , Space
+ , Str "dinner,"
+ , Space
+ , Str "to"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beauty"
+ , Space
+ , Str "of"
+ , Space
+ , Str "it"
+ , SoftBreak
+ , Str "hot\8213"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "HURRY"
+ , Space
+ , Str "UP"
+ , Space
+ , Str "PLEASE"
+ , Space
+ , Str "ITS"
+ , Space
+ , Str "TIME"
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Goonight"
+ , Space
+ , Str "Bill."
+ , Space
+ , Str "Goonight"
+ , Space
+ , Str "Lou."
+ , Space
+ , Str "Goonight"
+ , Space
+ , Str "May."
+ , Space
+ , Str "Goonight."
+ , Span ( "" , [ "lnum" ] , [] ) [ Str "170" ]
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Ta"
+ , Space
+ , Str "ta."
+ , Space
+ , Str "Goonight."
+ , Space
+ , Str "Goonight."
+ ]
+ ]
+ , Div
+ ( "" , [] , [] )
+ [ Plain
+ [ Str "Good"
+ , Space
+ , Str "night,"
+ , Space
+ , Str "ladies,"
+ , Space
+ , Str "good"
+ , Space
+ , Str "night,"
+ , Space
+ , Str "sweet"
+ , Space
+ , Str "ladies,"
+ , Space
+ , Str "good"
+ , Space
+ , Str "night,"
+ , Space
+ , Str "good"
+ , SoftBreak
+ , Str "night."
+ ]
+ ]
]
- , Space
- , Str "!\""
- , Str ""
- ]
]
- ]
]
- , Div
- ( "wasteland-content.xhtml#ch2", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "II."
- , Space
- , Str "A"
- , Space
- , Str "GAME"
- , Space
- , Str "OF"
- , Space
- , Str "CHESS"
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "wasteland-content.xhtml#ln77", [], [] )
- [ Plain
- [ Str "The"
- , Space
- , Str "Chair"
- , Space
- , Str "she"
- , Space
- , Str "sat"
- , Space
- , Str "in,"
- , Space
- , Str "like"
- , Space
- , Str "a"
- , Space
- , Str "burnished"
- , Space
- , Str "throne,"
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Glowed"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "marble,"
- , Space
- , Str "where"
- , Space
- , Str "the"
- , Space
- , Str "glass"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Held"
- , Space
- , Str "up"
- , Space
- , Str "by"
- , Space
- , Str "standards"
- , Space
- , Str "wrought"
- , Space
- , Str "with"
- , Space
- , Str "fruited"
- , Space
- , Str "vines"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "From"
- , Space
- , Str "which"
- , Space
- , Str "a"
- , Space
- , Str "golden"
- , Space
- , Str "Cupidon"
- , Space
- , Str "peeped"
- , Space
- , Str "out"
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "80" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "(Another"
- , Space
- , Str "hid"
- , Space
- , Str "his"
- , Space
- , Str "eyes"
- , Space
- , Str "behind"
- , Space
- , Str "his"
- , Space
- , Str "wing)"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Doubled"
- , Space
- , Str "the"
- , Space
- , Str "flames"
- , Space
- , Str "of"
- , Space
- , Str "sevenbranched"
- , Space
- , Str "candelabra"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Reflecting"
- , Space
- , Str "light"
- , Space
- , Str "upon"
- , Space
- , Str "the"
- , Space
- , Str "table"
- , Space
- , Str "as"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "The"
- , Space
- , Str "glitter"
- , Space
- , Str "of"
- , Space
- , Str "her"
- , Space
- , Str "jewels"
- , Space
- , Str "rose"
- , Space
- , Str "to"
- , Space
- , Str "meet"
- , Space
- , Str "it,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "From"
- , Space
- , Str "satin"
- , Space
- , Str "cases"
- , Space
- , Str "poured"
- , Space
- , Str "in"
- , Space
- , Str "rich"
- , Space
- , Str "profusion;"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "In"
- , Space
- , Str "vials"
- , Space
- , Str "of"
- , Space
- , Str "ivory"
- , Space
- , Str "and"
- , Space
- , Str "coloured"
- , Space
- , Str "glass"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Unstoppered,"
- , Space
- , Str "lurked"
- , Space
- , Str "her"
- , Space
- , Str "strange"
- , Space
- , Str "synthetic"
- , Space
- , Str "perfumes,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Unguent,"
- , Space
- , Str "powdered,"
- , Space
- , Str "or"
- , Space
- , Str "liquid"
- , Space
- , Str "-"
- , Space
- , Str "troubled,"
- , Space
- , Str "confused"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "drowned"
- , Space
- , Str "the"
- , Space
- , Str "sense"
- , Space
- , Str "in"
- , Space
- , Str "odours;"
- , Space
- , Str "stirred"
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "air"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "That"
- , Space
- , Str "freshened"
- , Space
- , Str "from"
- , Space
- , Str "the"
- , Space
- , Str "window,"
- , Space
- , Str "these"
- , Space
- , Str "ascended"
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "90" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "In"
- , Space
- , Str "fattening"
- , Space
- , Str "the"
- , Space
- , Str "prolonged"
- , Space
- , Str "candle-flames,"
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln92", [], [] )
- [ Plain
- [ Str "Flung"
- , Space
- , Str "their"
- , Space
- , Str "smoke"
- , Space
- , Str "into"
- , Space
- , Str "the"
- , Space
- , Str "laquearia,"
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Stirring"
- , Space
- , Str "the"
- , Space
- , Str "pattern"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "coffered"
- , Space
- , Str "ceiling."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Huge"
- , Space
- , Str "sea-wood"
- , Space
- , Str "fed"
- , Space
- , Str "with"
- , Space
- , Str "copper"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Burned"
- , Space
- , Str "green"
- , Space
- , Str "and"
- , Space
- , Str "orange,"
- , Space
- , Str "framed"
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "coloured"
- , Space
- , Str "stone,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "In"
- , Space
- , Str "which"
- , Space
- , Str "sad"
- , Space
- , Str "light"
- , Space
- , Str "a"
- , Space
- , Str "carved"
- , Space
- , Str "dolphin"
- , Space
- , Str "swam."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Above"
- , Space
- , Str "the"
- , Space
- , Str "antique"
- , Space
- , Str "mantel"
- , Space
- , Str "was"
- , Space
- , Str "displayed"
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln98", [], [] )
- [ Plain
- [ Str "As"
- , Space
- , Str "though"
- , Space
- , Str "a"
- , Space
- , Str "window"
- , Space
- , Str "gave"
- , Space
- , Str "upon"
- , Space
- , Str "the"
- , Space
- , Str "sylvan"
- , Space
- , Str "scene"
- , Str ""
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln99", [], [] )
- [ Plain
- [ Str "The"
- , Space
- , Str "change"
- , Space
- , Str "of"
- , Space
- , Str "Philomel,"
- , Space
- , Str "by"
- , Space
- , Str "the"
- , Space
- , Str "barbarous"
- , Space
- , Str "king"
- , Str ""
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln100", [], [] )
- [ Plain
- [ Str "So"
- , Space
- , Str "rudely"
- , Space
- , Str "forced;"
- , Space
- , Str "yet"
- , Space
- , Str "there"
- , Space
- , Str "the"
- , Space
- , Str "nightingale"
- , Str ""
- , SoftBreak
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "100" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Filled"
- , Space
- , Str "all"
- , Space
- , Str "the"
- , Space
- , Str "desert"
- , Space
- , Str "with"
- , Space
- , Str "inviolable"
- , Space
- , Str "voice"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "still"
- , Space
- , Str "she"
- , Space
- , Str "cried,"
- , Space
- , Str "and"
- , Space
- , Str "still"
- , Space
- , Str "the"
- , Space
- , Str "world"
- , Space
- , Str "pursues,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"Jug"
- , Space
- , Str "Jug\""
- , Space
- , Str "to"
- , Space
- , Str "dirty"
- , Space
- , Str "ears."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "other"
- , Space
- , Str "withered"
- , Space
- , Str "stumps"
- , Space
- , Str "of"
- , Space
- , Str "time"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Were"
- , Space
- , Str "told"
- , Space
- , Str "upon"
- , Space
- , Str "the"
- , Space
- , Str "walls;"
- , Space
- , Str "staring"
- , Space
- , Str "forms"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Leaned"
- , Space
- , Str "out,"
- , Space
- , Str "leaning,"
- , Space
- , Str "hushing"
- , Space
- , Str "the"
- , Space
- , Str "room"
- , Space
- , Str "enclosed."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Footsteps"
- , Space
- , Str "shuffled"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "stair."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Under"
- , Space
- , Str "the"
- , Space
- , Str "firelight,"
- , Space
- , Str "under"
- , Space
- , Str "the"
- , Space
- , Str "brush,"
- , Space
- , Str "her"
- , Space
- , Str "hair"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Spread"
- , Space
- , Str "out"
- , Space
- , Str "in"
- , Space
- , Str "fiery"
- , Space
- , Str "points"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Glowed"
- , Space
- , Str "into"
- , Space
- , Str "words,"
- , Space
- , Str "then"
- , Space
- , Str "would"
- , Space
- , Str "be"
- , Space
- , Str "savagely"
- , Space
- , Str "still."
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "110" ]
- ]
- ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "", [], [] )
- [ Plain
- [ Str "\"My"
- , Space
- , Str "nerves"
- , Space
- , Str "are"
- , Space
- , Str "bad"
- , Space
- , Str "to-night."
- , Space
- , Str "Yes,"
- , Space
- , Str "bad."
- , Space
- , Str "Stay"
- , Space
- , Str "with"
- , Space
- , Str "me."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"Speak"
- , Space
- , Str "to"
- , Space
- , Str "me."
- , Space
- , Str "Why"
- , Space
- , Str "do"
- , Space
- , Str "you"
- , Space
- , Str "never"
- , Space
- , Str "speak."
- , Space
- , Str "Speak."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"What"
- , Space
- , Str "are"
- , Space
- , Str "you"
- , Space
- , Str "thinking"
- , Space
- , Str "of?"
- , Space
- , Str "What"
- , Space
- , Str "thinking?"
- , Space
- , Str "What?"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"I"
- , Space
- , Str "never"
- , Space
- , Str "know"
- , Space
- , Str "what"
- , Space
- , Str "you"
- , Space
- , Str "are"
- , Space
- , Str "thinking."
- , Space
- , Str "Think.\""
- ]
- ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "wasteland-content.xhtml#ln115", [], [] )
- [ Plain
- [ Str "I"
- , Space
- , Str "think"
- , Space
- , Str "we"
- , Space
- , Str "are"
- , Space
- , Str "in"
- , Space
- , Str "rats'"
- , Space
- , Str "alley"
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Where"
- , Space
- , Str "the"
- , Space
- , Str "dead"
- , Space
- , Str "men"
- , Space
- , Str "lost"
- , Space
- , Str "their"
- , Space
- , Str "bones."
- ]
- ]
- ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "", [], [] )
- [ Plain
- [ Str "\"What"
- , Space
- , Str "is"
- , Space
- , Str "that"
- , Space
- , Str "noise?\""
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln118", [ "indent" ], [] )
- [ Plain
- [ Str "The"
- , Space
- , Str "wind"
- , Space
- , Str "under"
- , Space
- , Str "the"
- , Space
- , Str "door."
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"What"
- , Space
- , Str "is"
- , Space
- , Str "that"
- , Space
- , Str "noise"
- , Space
- , Str "now?"
- , Space
- , Str "What"
- , Space
- , Str "is"
- , Space
- , Str "the"
- , Space
- , Str "wind"
- , Space
- , Str "doing?\""
- ]
- ]
- , Div
- ( "", [ "indent" ], [] )
- [ Plain
- [ Str "Nothing"
- , Space
- , Str "again"
- , Space
- , Str "nothing."
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "120" ]
- ]
- ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "", [], [] )
- [ Plain [ Str "\"Do" ] ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"You"
- , Space
- , Str "know"
- , Space
- , Str "nothing?"
- , Space
- , Str "Do"
- , Space
- , Str "you"
- , Space
- , Str "see"
- , Space
- , Str "nothing?"
- , Space
- , Str "Do"
- , Space
- , Str "you"
- , Space
- , Str "remember"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain [ Str "\"Nothing?\"" ] ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "", [], [] )
- [ Plain [ Str "I", Space, Str "remember" ] ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Those"
- , Space
- , Str "are"
- , Space
- , Str "pearls"
- , Space
- , Str "that"
- , Space
- , Str "were"
- , Space
- , Str "his"
- , Space
- , Str "eyes."
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln126", [], [] )
- [ Plain
- [ Str "\"Are"
- , Space
- , Str "you"
- , Space
- , Str "alive,"
- , Space
- , Str "or"
- , Space
- , Str "not?"
- , Space
- , Str "Is"
- , Space
- , Str "there"
- , Space
- , Str "nothing"
- , Space
- , Str "in"
- , Space
- , Str "your"
- , Space
- , Str "head?\""
- , Str ""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain [ Str "But" ] ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "O"
- , Space
- , Str "O"
- , Space
- , Str "O"
- , Space
- , Str "O"
- , Space
- , Str "that"
- , Space
- , Str "Shakespeherian"
- , Space
- , Str "Rag\8213"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain [ Str "It's", Space, Str "so", Space, Str "elegant" ] ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "So"
- , Space
- , Str "intelligent"
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "130" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"What"
- , Space
- , Str "shall"
- , Space
- , Str "I"
- , Space
- , Str "do"
- , Space
- , Str "now?"
- , Space
- , Str "What"
- , Space
- , Str "shall"
- , Space
- , Str "I"
- , Space
- , Str "do?\""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "I"
- , Space
- , Str "shall"
- , Space
- , Str "rush"
- , Space
- , Str "out"
- , Space
- , Str "as"
- , Space
- , Str "I"
- , Space
- , Str "am,"
- , Space
- , Str "and"
- , Space
- , Str "walk"
- , Space
- , Str "the"
- , Space
- , Str "street"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"With"
- , Space
- , Str "my"
- , Space
- , Str "hair"
- , Space
- , Str "down,"
- , Space
- , Str "so."
- , Space
- , Str "What"
- , Space
- , Str "shall"
- , Space
- , Str "we"
- , Space
- , Str "do"
- , Space
- , Str "to-morrow?"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "\"What"
- , Space
- , Str "shall"
- , Space
- , Str "we"
- , Space
- , Str "ever"
- , Space
- , Str "do?\""
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "The"
- , Space
- , Str "hot"
- , Space
- , Str "water"
- , Space
- , Str "at"
- , Space
- , Str "ten."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "if"
- , Space
- , Str "it"
- , Space
- , Str "rains,"
- , Space
- , Str "a"
- , Space
- , Str "closed"
- , Space
- , Str "car"
- , Space
- , Str "at"
- , Space
- , Str "four."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "we"
- , Space
- , Str "shall"
- , Space
- , Str "play"
- , Space
- , Str "a"
- , Space
- , Str "game"
- , Space
- , Str "of"
- , Space
- , Str "chess,"
- ]
- ]
- , Div
- ( "wasteland-content.xhtml#ln138", [], [] )
- [ Plain
- [ Str "Pressing"
- , Space
- , Str "lidless"
- , Space
- , Str "eyes"
- , Space
- , Str "and"
- , Space
- , Str "waiting"
- , Space
- , Str "for"
- , Space
- , Str "a"
- , Space
- , Str "knock"
- , Space
- , Str "upon"
- , Space
- , Str "the"
- , Space
- , Str "door."
- , Str ""
- ]
- ]
- ]
- , Div
- ( "", [ "linegroup" ], [] )
- [ Div
- ( "", [], [] )
- [ Plain
- [ Str "When"
- , Space
- , Str "Lil's"
- , Space
- , Str "husband"
- , Space
- , Str "got"
- , Space
- , Str "demobbed,"
- , Space
- , Str "I"
- , Space
- , Str "said"
- , Space
- , Str "-"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "I"
- , Space
- , Str "didn't"
- , Space
- , Str "mince"
- , Space
- , Str "my"
- , Space
- , Str "words,"
- , Space
- , Str "I"
- , Space
- , Str "said"
- , Space
- , Str "to"
- , Space
- , Str "her"
- , Space
- , Str "myself,"
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "140" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "HURRY"
- , Space
- , Str "UP"
- , Space
- , Str "PLEASE"
- , Space
- , Str "ITS"
- , Space
- , Str "TIME"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Now"
- , Space
- , Str "Albert's"
- , Space
- , Str "coming"
- , Space
- , Str "back,"
- , Space
- , Str "make"
- , Space
- , Str "yourself"
- , Space
- , Str "a"
- , Space
- , Str "bit"
- , Space
- , Str "smart."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "He'll"
- , Space
- , Str "want"
- , Space
- , Str "to"
- , Space
- , Str "know"
- , Space
- , Str "what"
- , Space
- , Str "you"
- , Space
- , Str "done"
- , Space
- , Str "with"
- , Space
- , Str "that"
- , Space
- , Str "money"
- , Space
- , Str "he"
- , Space
- , Str "gave"
- , SoftBreak
- , Str "you"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "To"
- , Space
- , Str "get"
- , Space
- , Str "yourself"
- , Space
- , Str "some"
- , Space
- , Str "teeth."
- , Space
- , Str "He"
- , Space
- , Str "did,"
- , Space
- , Str "I"
- , Space
- , Str "was"
- , Space
- , Str "there."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "You"
- , Space
- , Str "have"
- , Space
- , Str "them"
- , Space
- , Str "all"
- , Space
- , Str "out,"
- , Space
- , Str "Lil,"
- , Space
- , Str "and"
- , Space
- , Str "get"
- , Space
- , Str "a"
- , Space
- , Str "nice"
- , Space
- , Str "set,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "He"
- , Space
- , Str "said,"
- , Space
- , Str "I"
- , Space
- , Str "swear,"
- , Space
- , Str "I"
- , Space
- , Str "can't"
- , Space
- , Str "bear"
- , Space
- , Str "to"
- , Space
- , Str "look"
- , Space
- , Str "at"
- , Space
- , Str "you."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "no"
- , Space
- , Str "more"
- , Space
- , Str "can't"
- , Space
- , Str "I,"
- , Space
- , Str "I"
- , Space
- , Str "said,"
- , Space
- , Str "and"
- , Space
- , Str "think"
- , Space
- , Str "of"
- , Space
- , Str "poor"
- , Space
- , Str "Albert,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "He's"
- , Space
- , Str "been"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "army"
- , Space
- , Str "four"
- , Space
- , Str "years,"
- , Space
- , Str "he"
- , Space
- , Str "wants"
- , Space
- , Str "a"
- , Space
- , Str "good"
- , Space
- , Str "time,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "if"
- , Space
- , Str "you"
- , Space
- , Str "don't"
- , Space
- , Str "give"
- , Space
- , Str "it"
- , Space
- , Str "him,"
- , Space
- , Str "there's"
- , Space
- , Str "others"
- , Space
- , Str "will,"
- , Space
- , Str "I"
- , SoftBreak
- , Str "said."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Oh"
- , Space
- , Str "is"
- , Space
- , Str "there,"
- , Space
- , Str "she"
- , Space
- , Str "said."
- , Space
- , Str "Something"
- , Space
- , Str "o'"
- , Space
- , Str "that,"
- , Space
- , Str "I"
- , Space
- , Str "said."
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "150" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Then"
- , Space
- , Str "I'll"
- , Space
- , Str "know"
- , Space
- , Str "who"
- , Space
- , Str "to"
- , Space
- , Str "thank,"
- , Space
- , Str "she"
- , Space
- , Str "said,"
- , Space
- , Str "and"
- , Space
- , Str "give"
- , Space
- , Str "me"
- , Space
- , Str "a"
- , Space
- , Str "straight"
- , SoftBreak
- , Str "look."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "HURRY"
- , Space
- , Str "UP"
- , Space
- , Str "PLEASE"
- , Space
- , Str "ITS"
- , Space
- , Str "TIME"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "If"
- , Space
- , Str "you"
- , Space
- , Str "don't"
- , Space
- , Str "like"
- , Space
- , Str "it"
- , Space
- , Str "you"
- , Space
- , Str "can"
- , Space
- , Str "get"
- , Space
- , Str "on"
- , Space
- , Str "with"
- , Space
- , Str "it,"
- , Space
- , Str "I"
- , Space
- , Str "said."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Others"
- , Space
- , Str "can"
- , Space
- , Str "pick"
- , Space
- , Str "and"
- , Space
- , Str "choose"
- , Space
- , Str "if"
- , Space
- , Str "you"
- , Space
- , Str "can't."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "But"
- , Space
- , Str "if"
- , Space
- , Str "Albert"
- , Space
- , Str "makes"
- , Space
- , Str "off,"
- , Space
- , Str "it"
- , Space
- , Str "won't"
- , Space
- , Str "be"
- , Space
- , Str "for"
- , Space
- , Str "lack"
- , Space
- , Str "of"
- , SoftBreak
- , Str "telling."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "You"
- , Space
- , Str "ought"
- , Space
- , Str "to"
- , Space
- , Str "be"
- , Space
- , Str "ashamed,"
- , Space
- , Str "I"
- , Space
- , Str "said,"
- , Space
- , Str "to"
- , Space
- , Str "look"
- , Space
- , Str "so"
- , Space
- , Str "antique."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "(And"
- , Space
- , Str "her"
- , Space
- , Str "only"
- , Space
- , Str "thirty-one.)"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "I"
- , Space
- , Str "can't"
- , Space
- , Str "help"
- , Space
- , Str "it,"
- , Space
- , Str "she"
- , Space
- , Str "said,"
- , Space
- , Str "pulling"
- , Space
- , Str "a"
- , Space
- , Str "long"
- , Space
- , Str "face,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "It's"
- , Space
- , Str "them"
- , Space
- , Str "pills"
- , Space
- , Str "I"
- , Space
- , Str "took,"
- , Space
- , Str "to"
- , Space
- , Str "bring"
- , Space
- , Str "it"
- , Space
- , Str "off,"
- , Space
- , Str "she"
- , Space
- , Str "said."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "(She's"
- , Space
- , Str "had"
- , Space
- , Str "five"
- , Space
- , Str "already,"
- , Space
- , Str "and"
- , Space
- , Str "nearly"
- , Space
- , Str "died"
- , Space
- , Str "of"
- , Space
- , Str "young"
- , Space
- , Str "George.)"
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "160" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "The"
- , Space
- , Str "chemist"
- , Space
- , Str "said"
- , Space
- , Str "it"
- , Space
- , Str "would"
- , Space
- , Str "be"
- , Space
- , Str "all"
- , Space
- , Str "right,"
- , Space
- , Str "but"
- , Space
- , Str "I've"
- , Space
- , Str "never"
- , Space
- , Str "been"
- , Space
- , Str "the"
- , SoftBreak
- , Str "same."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "You"
- , Space
- , Emph
- [ Str "are" ]
- , Space
- , Str "a"
- , Space
- , Str "proper"
- , Space
- , Str "fool,"
- , Space
- , Str "I"
- , Space
- , Str "said."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Well,"
- , Space
- , Str "if"
- , Space
- , Str "Albert"
- , Space
- , Str "won't"
- , Space
- , Str "leave"
- , Space
- , Str "you"
- , Space
- , Str "alone,"
- , Space
- , Str "there"
- , Space
- , Str "it"
- , Space
- , Str "is,"
- , Space
- , Str "I"
- , SoftBreak
- , Str "said,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "What"
- , Space
- , Str "you"
- , Space
- , Str "get"
- , Space
- , Str "married"
- , Space
- , Str "for"
- , Space
- , Str "if"
- , Space
- , Str "you"
- , Space
- , Str "don't"
- , Space
- , Str "want"
- , Space
- , Str "children?"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "HURRY"
- , Space
- , Str "UP"
- , Space
- , Str "PLEASE"
- , Space
- , Str "ITS"
- , Space
- , Str "TIME"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Well,"
- , Space
- , Str "that"
- , Space
- , Str "Sunday"
- , Space
- , Str "Albert"
- , Space
- , Str "was"
- , Space
- , Str "home,"
- , Space
- , Str "they"
- , Space
- , Str "had"
- , Space
- , Str "a"
- , Space
- , Str "hot"
- , SoftBreak
- , Str "gammon,"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "And"
- , Space
- , Str "they"
- , Space
- , Str "asked"
- , Space
- , Str "me"
- , Space
- , Str "in"
- , Space
- , Str "to"
- , Space
- , Str "dinner,"
- , Space
- , Str "to"
- , Space
- , Str "get"
- , Space
- , Str "the"
- , Space
- , Str "beauty"
- , Space
- , Str "of"
- , Space
- , Str "it"
- , SoftBreak
- , Str "hot\8213"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "HURRY"
- , Space
- , Str "UP"
- , Space
- , Str "PLEASE"
- , Space
- , Str "ITS"
- , Space
- , Str "TIME"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "HURRY"
- , Space
- , Str "UP"
- , Space
- , Str "PLEASE"
- , Space
- , Str "ITS"
- , Space
- , Str "TIME"
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Goonight"
- , Space
- , Str "Bill."
- , Space
- , Str "Goonight"
- , Space
- , Str "Lou."
- , Space
- , Str "Goonight"
- , Space
- , Str "May."
- , Space
- , Str "Goonight."
- , Span
- ( "", [ "lnum" ], [] )
- [ Str "170" ]
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Ta"
- , Space
- , Str "ta."
- , Space
- , Str "Goonight."
- , Space
- , Str "Goonight."
- ]
- ]
- , Div
- ( "", [], [] )
- [ Plain
- [ Str "Good"
- , Space
- , Str "night,"
- , Space
- , Str "ladies,"
- , Space
- , Str "good"
- , Space
- , Str "night,"
- , Space
- , Str "sweet"
- , Space
- , Str "ladies,"
- , Space
- , Str "good"
- , Space
- , Str "night,"
- , Space
- , Str "good"
- , SoftBreak
- , Str "night."
- ]
- ]
- ]
- ]
- ]
]
diff --git a/test/fb2/reader/emphasis.native b/test/fb2/reader/emphasis.native
index 18fa49a8b..a3f4cdeb6 100644
--- a/test/fb2/reader/emphasis.native
+++ b/test/fb2/reader/emphasis.native
@@ -1,38 +1,35 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Div
- ( "", [ "section" ], [] )
- [ Para
- [ Str "Plain,"
- , Space
- , Strong
- [ Str "strong" ]
- , Str ","
- , Space
- , Emph
- [ Str "emphasis" ]
- , Str ","
- , Space
- , Strong
- [ Emph [ Str "strong", Space, Str "emphasis" ] ]
- , Str ","
- , Space
- , Emph
- [ Strong [ Str "emphasized", Space, Str "strong" ] ]
- , Str "."
+ ( "" , [ "section" ] , [] )
+ [ Para
+ [ Str "Plain,"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Emph [ Str "emphasis" ]
+ , Str ","
+ , Space
+ , Strong [ Emph [ Str "strong" , Space , Str "emphasis" ] ]
+ , Str ","
+ , Space
+ , Emph
+ [ Strong [ Str "emphasized" , Space , Str "strong" ] ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Strikethrough:"
+ , Space
+ , Strikeout [ Str "deleted" ]
+ ]
+ , Para
+ [ Subscript [ Str "Subscript" ]
+ , Space
+ , Str "and"
+ , Space
+ , Superscript [ Str "superscript" ]
+ ]
+ , Para [ Str "Some" , Space , Code ( "" , [] , [] ) "code" ]
]
- , Para
- [ Str "Strikethrough:", Space, Strikeout [ Str "deleted" ] ]
- , Para
- [ Subscript
- [ Str "Subscript" ]
- , Space
- , Str "and"
- , Space
- , Superscript
- [ Str "superscript" ]
- ]
- , Para
- [ Str "Some", Space, Code ( "", [], [] ) "code" ]
- ]
]
diff --git a/test/fb2/reader/epigraph.native b/test/fb2/reader/epigraph.native
index 2eaa6da41..eb11c1d79 100644
--- a/test/fb2/reader/epigraph.native
+++ b/test/fb2/reader/epigraph.native
@@ -1,18 +1,18 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Div
- ( "", [ "epigraph" ], [] )
- [ Para [ Str "Body", Space, Str "epigraph" ] ]
+ ( "" , [ "epigraph" ] , [] )
+ [ Para [ Str "Body" , Space , Str "epigraph" ] ]
, Div
- ( "", [ "section" ], [] )
- [ Div
- ( "", [ "epigraph" ], [] )
- [ Para [ Str "Section", Space, Str "epigraph" ] ]
- , Div
- ( "", [ "section" ], [] )
+ ( "" , [ "section" ] , [] )
[ Div
- ( "", [ "epigraph" ], [] )
- [ Para [ Str "Subsection", Space, Str "epigraph" ] ]
+ ( "" , [ "epigraph" ] , [] )
+ [ Para [ Str "Section" , Space , Str "epigraph" ] ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Div
+ ( "" , [ "epigraph" ] , [] )
+ [ Para [ Str "Subsection" , Space , Str "epigraph" ] ]
+ ]
]
- ]
]
diff --git a/test/fb2/reader/meta.native b/test/fb2/reader/meta.native
index 37d229755..851250296 100644
--- a/test/fb2/reader/meta.native
+++ b/test/fb2/reader/meta.native
@@ -1,43 +1,48 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "abstract"
- , MetaBlocks
- [ Para
- [ Str "Book", Space, Str "annotation" ]
- , Para
- [ Str "Second"
- , Space
- , Str "paragraph"
- , Space
- , Str "of"
- , Space
- , Str "book"
- , Space
- , Str "annotation"
- ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "abstract"
+ , MetaBlocks
+ [ Para [ Str "Book" , Space , Str "annotation" ]
+ , Para
+ [ Str "Second"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "of"
+ , Space
+ , Str "book"
+ , Space
+ , Str "annotation"
+ ]
+ ]
+ )
+ , ( "author"
+ , MetaList
+ [ MetaInlines
+ [ Str "First"
+ , Space
+ , Str "Middle"
+ , Space
+ , Str "Last"
+ ]
+ , MetaInlines [ Str "Another" , Space , Str "Author" ]
+ ]
+ )
+ , ( "date" , MetaInlines [ Str "2018" ] )
+ , ( "keywords"
+ , MetaList
+ [ MetaString "foo"
+ , MetaString "bar"
+ , MetaString "baz"
+ ]
+ )
+ , ( "title"
+ , MetaInlines [ Str "Book" , Space , Str "title" ]
+ )
]
- )
- ,
- ( "author"
- , MetaList
- [ MetaInlines
- [ Str "First", Space, Str "Middle", Space, Str "Last" ]
- , MetaInlines
- [ Str "Another", Space, Str "Author" ]
- ]
- )
- ,
- ( "date", MetaInlines [ Str "2018" ] )
- ,
- ( "keywords"
- , MetaList
- [ MetaString "foo", MetaString "bar", MetaString "baz" ]
- )
- ,
- ( "title", MetaInlines [ Str "Book", Space, Str "title" ] )
- ]
}
- )
- [ Header 1 ( "", [], [] ) [ Str "Body", Space, Str "title" ] ]
+ [ Header
+ 1 ( "" , [] , [] ) [ Str "Body" , Space , Str "title" ]
+ ]
diff --git a/test/fb2/reader/notes.native b/test/fb2/reader/notes.native
index 6ff16e701..56fa3873f 100644
--- a/test/fb2/reader/notes.native
+++ b/test/fb2/reader/notes.native
@@ -1,24 +1,28 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Div
- ( "", [ "section" ], [] )
- [ Para
- [ Str "Note"
- , Space
- , Note
- [ Para [ Str "Note", Space, Str "contents" ] ]
- , Str "."
+ ( "" , [ "section" ] , [] )
+ [ Para
+ [ Str "Note"
+ , Space
+ , Note [ Para [ Str "Note" , Space , Str "contents" ] ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Second"
+ , Space
+ , Str "note"
+ , Space
+ , Note
+ [ Para
+ [ Str "Second"
+ , Space
+ , Str "note"
+ , Space
+ , Str "contents."
+ ]
+ ]
+ , Str "."
+ ]
]
- , Para
- [ Str "Second"
- , Space
- , Str "note"
- , Space
- , Note
- [ Para
- [ Str "Second", Space, Str "note", Space, Str "contents." ]
- ]
- , Str "."
- ]
- ]
]
diff --git a/test/fb2/reader/poem.native b/test/fb2/reader/poem.native
index a43466b16..2b45347e8 100644
--- a/test/fb2/reader/poem.native
+++ b/test/fb2/reader/poem.native
@@ -1,26 +1,25 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Div
- ( "", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "Poem", Space, Str "title" ]
- , Div
- ( "", [ "epigraph" ], [] )
- [ Para [ Str "Poem", Space, Str "epigraph" ] ]
- , Header 2
- ( "", [ "unnumbered" ], [] )
- [ Str "Subtitle" ]
- , Header 2
- ( "", [], [] )
- [ Str "First", Space, Str "stanza", Space, Str "title" ]
- , LineBlock
- [ [ Str "Verse" ], [ Emph [ Str "More" ], Space, Str "verse" ] ]
- , LineBlock
- [ [ Str "One", Space, Str "more", Space, Str "stanza" ] ]
- , Para
- [ Str "Author" ]
- , Para
- [ Str "April", Space, Str "2018" ]
- ]
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2 ( "" , [] , [] ) [ Str "Poem" , Space , Str "title" ]
+ , Div
+ ( "" , [ "epigraph" ] , [] )
+ [ Para [ Str "Poem" , Space , Str "epigraph" ] ]
+ , Header 2 ( "" , [ "unnumbered" ] , [] ) [ Str "Subtitle" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Str "First" , Space , Str "stanza" , Space , Str "title" ]
+ , LineBlock
+ [ [ Str "Verse" ]
+ , [ Emph [ Str "More" ] , Space , Str "verse" ]
+ ]
+ , LineBlock
+ [ [ Str "One" , Space , Str "more" , Space , Str "stanza" ]
+ ]
+ , Para [ Str "Author" ]
+ , Para [ Str "April" , Space , Str "2018" ]
+ ]
]
diff --git a/test/fb2/reader/titles.native b/test/fb2/reader/titles.native
index f98d0b00c..74669d848 100644
--- a/test/fb2/reader/titles.native
+++ b/test/fb2/reader/titles.native
@@ -1,33 +1,38 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
- [ Header 1
- ( "", [], [] )
- [ Str "Body", Space, Str "title" ]
+ Meta { unMeta = fromList [] }
+ [ Header
+ 1 ( "" , [] , [] ) [ Str "Body" , Space , Str "title" ]
, Div
- ( "", [ "section" ], [] )
- [ Header 2
- ( "", [], [] )
- [ Str "Section", Space, Str "title" ]
- , Div
- ( "", [ "section" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Str "Subsection"
- , Space
- , Str "title"
- , LineBreak
- , Str "with"
- , Space
- , Str "multiple"
- , Space
- , Str "paragraphs"
- ]
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 2 ( "" , [] , [] ) [ Str "Section" , Space , Str "title" ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Subsection"
+ , Space
+ , Str "title"
+ , LineBreak
+ , Str "with"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "paragraphs"
+ ]
+ ]
+ , Div
+ ( "" , [ "section" ] , [] )
+ [ Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Another"
+ , Space
+ , Str "subsection"
+ , Space
+ , Str "title"
+ ]
+ ]
]
- , Div
- ( "", [ "section" ], [] )
- [ Header 3
- ( "", [], [] )
- [ Str "Another", Space, Str "subsection", Space, Str "title" ]
- ]
- ]
]
diff --git a/test/haddock-reader.native b/test/haddock-reader.native
index 2d61cb0b8..619a52fea 100644
--- a/test/haddock-reader.native
+++ b/test/haddock-reader.native
@@ -1,432 +1,401 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Para
- [ Str "This"
- , Space
- , Str "file"
- , Space
- , Str "tests"
- , Space
- , Str "the"
- , Space
- , Str "Pandoc"
- , Space
- , Str "reader"
- , Space
- , Str "for"
- , Space
- , Str "Haddock."
- , SoftBreak
- , Str "We've"
- , Space
- , Str "borrowed"
- , Space
- , Str "examples"
- , Space
- , Str "from"
- , Space
- , Str "Haddock's"
- , Space
- , Str "documentation:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://www.haskell.org/haddock/doc/html/ch03s08.html" ]
- ( "http://www.haskell.org/haddock/doc/html/ch03s08.html"
- , "http://www.haskell.org/haddock/doc/html/ch03s08.html"
- )
- , Str "."
- ]
+ [ Str "This"
+ , Space
+ , Str "file"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Pandoc"
+ , Space
+ , Str "reader"
+ , Space
+ , Str "for"
+ , Space
+ , Str "Haddock."
+ , SoftBreak
+ , Str "We've"
+ , Space
+ , Str "borrowed"
+ , Space
+ , Str "examples"
+ , Space
+ , Str "from"
+ , Space
+ , Str "Haddock's"
+ , Space
+ , Str "documentation:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.haskell.org/haddock/doc/html/ch03s08.html"
+ ]
+ ( "http://www.haskell.org/haddock/doc/html/ch03s08.html"
+ , "http://www.haskell.org/haddock/doc/html/ch03s08.html"
+ )
+ , Str "."
+ ]
, Para
- [ Str "The"
- , Space
- , Str "following"
- , Space
- , Str "characters"
- , Space
- , Str "have"
- , Space
- , Str "special"
- , Space
- , Str "meanings"
- , Space
- , Str "in"
- , Space
- , Str "Haddock,"
- , Space
- , Str "/,"
- , Space
- , Str "',"
- , Space
- , Str "`,"
- , Space
- , Str "\","
- , Space
- , Str "@,"
- , Space
- , Str "<,"
- , Space
- , Str "so"
- , Space
- , Str "they"
- , Space
- , Str "must"
- , Space
- , Str "be"
- , Space
- , Str "escaped."
- ]
+ [ Str "The"
+ , Space
+ , Str "following"
+ , Space
+ , Str "characters"
+ , Space
+ , Str "have"
+ , Space
+ , Str "special"
+ , Space
+ , Str "meanings"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Haddock,"
+ , Space
+ , Str "/,"
+ , Space
+ , Str "',"
+ , Space
+ , Str "`,"
+ , Space
+ , Str "\","
+ , Space
+ , Str "@,"
+ , Space
+ , Str "<,"
+ , Space
+ , Str "so"
+ , Space
+ , Str "they"
+ , Space
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "escaped."
+ ]
, Para
- [ Str "*"
- , Space
- , Str "This"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "paragraph,"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item."
- , SoftBreak
- , Str ">"
- , Space
- , Str "This"
- , Space
- , Str "sentence"
- , Space
- , Str "is"
- , Space
- , Str "not"
- , Space
- , Str "code."
- , SoftBreak
- , Str ">>>"
- , Space
- , Str "This"
- , Space
- , Str "is"
- , Space
- , Str "not"
- , Space
- , Str "an"
- , Space
- , Str "example."
- ]
+ [ Str "*"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ , SoftBreak
+ , Str ">"
+ , Space
+ , Str "This"
+ , Space
+ , Str "sentence"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "code."
+ , SoftBreak
+ , Str ">>>"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example."
+ ]
, Para
- [ Str "The"
- , Space
- , Str "references"
- , Space
- , Str "\955,"
- , Space
- , Str "\955"
- , Space
- , Str "and"
- , Space
- , Str "\955"
- , Space
- , Str "all"
- , Space
- , Str "represent"
- , Space
- , Str "the"
- , Space
- , Str "lower-case"
- , Space
- , Str "letter"
- , Space
- , Str "lambda."
- ]
+ [ Str "The"
+ , Space
+ , Str "references"
+ , Space
+ , Str "\955,"
+ , Space
+ , Str "\955"
+ , Space
+ , Str "and"
+ , Space
+ , Str "\955"
+ , Space
+ , Str "all"
+ , Space
+ , Str "represent"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lower-case"
+ , Space
+ , Str "letter"
+ , Space
+ , Str "lambda."
+ ]
, Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "code"
- , Space
- , Str "block:"
- ]
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block:"
+ ]
, CodeBlock
- ( ""
- , []
- , []
- ) "map :: (a -> b) -> [a] -> [b]\nmap _ [] = []\nmap f (x:xs) = f x : map f xs"
+ ( "" , [] , [] )
+ "map :: (a -> b) -> [a] -> [b]\nmap _ [] = []\nmap f (x:xs) = f x : map f xs"
, Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "another"
- , Space
- , Str "code"
- , Space
- , Str "block:"
- ]
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block:"
+ ]
, Para
- [ Code
- ( "", [], [] ) "f x = x + x."
- , LineBreak
- , Code
- ( "", [], [] ) "The @...@ code block "
- , Emph
- [ Code ( "", [], [] ) "interprets markup normally" ]
- , Code
- ( "", [], [] ) "."
- , Code
- ( "", [ "haskell", "module" ], [] ) "Module.Foo"
- , Code
- ( "", [], [] ) ""
- , LineBreak
- , Code
- ( "", [], [] ) "\"Hello World\""
- ]
+ [ Code ( "" , [] , [] ) "f x = x + x."
+ , LineBreak
+ , Code ( "" , [] , [] ) "The @...@ code block "
+ , Emph
+ [ Code ( "" , [] , [] ) "interprets markup normally" ]
+ , Code ( "" , [] , [] ) "."
+ , Code ( "" , [ "haskell" , "module" ] , [] ) "Module.Foo"
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code ( "" , [] , [] ) "\"Hello World\""
+ ]
, Para
- [ Str "Haddock"
- , Space
- , Str "supports"
- , Space
- , Str "REPL"
- , Space
- , Str "examples:"
- ]
+ [ Str "Haddock"
+ , Space
+ , Str "supports"
+ , Space
+ , Str "REPL"
+ , Space
+ , Str "examples:"
+ ]
, Para
- [ Code
- ( "", [ "prompt" ], [] ) ">>>"
- , Space
- , Code
- ( "", [ "haskell", "expr" ], [] ) "fib 10"
- , LineBreak
- , Code
- ( "", [ "result" ], [] ) "55"
- ]
+ [ Code ( "" , [ "prompt" ] , [] ) ">>>"
+ , Space
+ , Code ( "" , [ "haskell" , "expr" ] , [] ) "fib 10"
+ , LineBreak
+ , Code ( "" , [ "result" ] , [] ) "55"
+ ]
, Para
- [ Code
- ( "", [ "prompt" ], [] ) ">>>"
- , Space
- , Code
- ( "", [ "haskell", "expr" ], [] ) "putStrLn \"foo\\nbar\""
- , LineBreak
- , Code
- ( "", [ "result" ], [] ) "foo"
- , LineBreak
- , Code
- ( "", [ "result" ], [] ) "bar"
- ]
+ [ Code ( "" , [ "prompt" ] , [] ) ">>>"
+ , Space
+ , Code
+ ( "" , [ "haskell" , "expr" ] , [] )
+ "putStrLn \"foo\\nbar\""
+ , LineBreak
+ , Code ( "" , [ "result" ] , [] ) "foo"
+ , LineBreak
+ , Code ( "" , [ "result" ] , [] ) "bar"
+ ]
, Para
- [ Str "That"
- , Space
- , Str "was"
- , Space
- , Emph
- [ Str "really", Space, Str "cool" ]
- , Str "!"
- , SoftBreak
- , Str "I"
- , Space
- , Str "had"
- , Space
- , Str "no"
- , Space
- , Str "idea"
- , Space
- , Code
- ( "", [], [] ) "fib 10 = 55"
- , Str "."
- ]
+ [ Str "That"
+ , Space
+ , Str "was"
+ , Space
+ , Emph [ Str "really" , Space , Str "cool" ]
+ , Str "!"
+ , SoftBreak
+ , Str "I"
+ , Space
+ , Str "had"
+ , Space
+ , Str "no"
+ , Space
+ , Str "idea"
+ , Space
+ , Code ( "" , [] , [] ) "fib 10 = 55"
+ , Str "."
+ ]
, Para
- [ Str "This"
- , Space
- , Str "module"
- , Space
- , Str "defines"
- , Space
- , Str "the"
- , Space
- , Str "type"
- , Space
- , Code
- ( "", [ "haskell", "identifier" ], [] ) "T"
- , Str "."
- , SoftBreak
- , Str "The"
- , Space
- , Str "identifier"
- , Space
- , Code
- ( "", [ "haskell", "identifier" ], [] ) "M.T"
- , Space
- , Str "is"
- , Space
- , Str "not"
- , Space
- , Str "in"
- , Space
- , Str "scope"
- , SoftBreak
- , Str "I"
- , Space
- , Str "don't"
- , Space
- , Str "have"
- , Space
- , Str "to"
- , Space
- , Str "escape"
- , Space
- , Str "my"
- , Space
- , Str "apostrophes;"
- , Space
- , Str "great,"
- , Space
- , Str "isn't"
- , Space
- , Str "it?"
- , SoftBreak
- , Str "This"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "reference"
- , Space
- , Str "to"
- , Space
- , Str "the"
- , Space
- , Code
- ( "", [ "haskell", "module" ], [] ) "Foo"
- , Space
- , Str "module."
- ]
+ [ Str "This"
+ , Space
+ , Str "module"
+ , Space
+ , Str "defines"
+ , Space
+ , Str "the"
+ , Space
+ , Str "type"
+ , Space
+ , Code ( "" , [ "haskell" , "identifier" ] , [] ) "T"
+ , Str "."
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "identifier"
+ , Space
+ , Code ( "" , [ "haskell" , "identifier" ] , [] ) "M.T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "in"
+ , Space
+ , Str "scope"
+ , SoftBreak
+ , Str "I"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "have"
+ , Space
+ , Str "to"
+ , Space
+ , Str "escape"
+ , Space
+ , Str "my"
+ , Space
+ , Str "apostrophes;"
+ , Space
+ , Str "great,"
+ , Space
+ , Str "isn't"
+ , Space
+ , Str "it?"
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , Space
+ , Code ( "" , [ "haskell" , "module" ] , [] ) "Foo"
+ , Space
+ , Str "module."
+ ]
, Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "bulleted"
- , Space
- , Str "list:"
- ]
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bulleted"
+ , Space
+ , Str "list:"
+ ]
, BulletList
- [
- [ Para [ Str "first", Space, Str "item" ] ]
- ,
- [ Para [ Str "second", Space, Str "item" ] ]
- ]
+ [ [ Para [ Str "first" , Space , Str "item" ] ]
+ , [ Para [ Str "second" , Space , Str "item" ] ]
+ ]
, Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "an"
- , Space
- , Str "enumerated"
- , Space
- , Str "list:"
- ]
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "enumerated"
+ , Space
+ , Str "list:"
+ ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "first", Space, Str "item" ] ]
- ,
- [ Para [ Str "second", Space, Str "item" ] ]
- ]
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "first" , Space , Str "item" ] ]
+ , [ Para [ Str "second" , Space , Str "item" ] ]
+ ]
, Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "definition"
- , Space
- , Str "list:"
- ]
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "definition"
+ , Space
+ , Str "list:"
+ ]
, DefinitionList
- [
- (
- [ Code ( "", [], [] ) "foo" ]
- ,
- [
- [ Para
- [ Str "The"
- , Space
- , Str "description"
- , Space
- , Str "of"
- , Space
- , Code
- ( "", [], [] ) "foo"
- , Str "."
+ [ ( [ Code ( "" , [] , [] ) "foo" ]
+ , [ [ Para
+ [ Str "The"
+ , Space
+ , Str "description"
+ , Space
+ , Str "of"
+ , Space
+ , Code ( "" , [] , [] ) "foo"
+ , Str "."
+ ]
]
]
- ]
- )
- ,
- (
- [ Code ( "", [], [] ) "bar" ]
- ,
- [
- [ Para
- [ Str "The"
- , Space
- , Str "description"
- , Space
- , Str "of"
- , Space
- , Code
- ( "", [], [] ) "bar"
- , Str "."
+ )
+ , ( [ Code ( "" , [] , [] ) "bar" ]
+ , [ [ Para
+ [ Str "The"
+ , Space
+ , Str "description"
+ , Space
+ , Str "of"
+ , Space
+ , Code ( "" , [] , [] ) "bar"
+ , Str "."
+ ]
]
]
- ]
- )
- ]
+ )
+ ]
, Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "link:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://haskell.org" ]
- ( "http://haskell.org", "http://haskell.org" )
- ]
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://haskell.org" ]
+ ( "http://haskell.org" , "http://haskell.org" )
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "Haskell" ]
- ( "http://haskell.org", "http://haskell.org" )
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "fun"
- , Space
- , Str "language!"
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Haskell" ]
+ ( "http://haskell.org" , "http://haskell.org" )
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "fun"
+ , Space
+ , Str "language!"
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "Click", Space, Str "Here!" ]
- ( "http://example.com", "http://example.com" )
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Click" , Space , Str "Here!" ]
+ ( "http://example.com" , "http://example.com" )
+ ]
]
diff --git a/test/html-reader.native b/test/html-reader.native
index 20f45c873..dba1cb85f 100644
--- a/test/html-reader.native
+++ b/test/html-reader.native
@@ -1,729 +1,601 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "generator", MetaInlines [ Str "pandoc" ] )
- ,
- ( "title"
- , MetaInlines
- [ Str "Pandoc", Space, Str "Test", Space, Str "Suite" ]
- )
- ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "generator" , MetaInlines [ Str "pandoc" ] )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ ]
+ )
+ ]
}
- )
- [ Header 1
- ( "pandoc-test-suite", [ "title" ], [] )
- [ Str "Pandoc", Space, Str "Test", Space, Str "Suite" ]
+ [ Header
+ 1
+ ( "pandoc-test-suite" , [ "title" ] , [] )
+ [ Str "Pandoc" , Space , Str "Test" , Space , Str "Suite" ]
, 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"
- , Space
- , Str "Gruber's"
- , Space
- , Str "markdown"
- , Space
- , Str "test"
- , Space
- , Str "suite."
- ]
- , HorizontalRule
- , Header 1
- ( "headers", [], [] )
- [ Str "Headers" ]
- , 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", "" )
- ]
- , Header 3
- ( "level-3-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "3"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 4
- ( "level-4", [], [] )
- [ Str "Level", Space, Str "4" ]
- , Header 5
- ( "level-5", [], [] )
- [ Str "Level", Space, Str "5" ]
- , Header 1
- ( "level-1", [], [] )
- [ Str "Level", Space, Str "1" ]
- , Header 2
- ( "level-2-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 3
- ( "level-3", [], [] )
- [ Str "Level", Space, Str "3" ]
- , Para
- [ Str "with"
- , Space
- , Str "no"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- ]
- , Header 2
- ( "level-2", [], [] )
- [ Str "Level", Space, Str "2" ]
- , Para
- [ Str "with"
- , Space
- , Str "no"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- ]
- , HorizontalRule
- , Header 1
- ( "paragraphs", [], [] )
- [ Str "Paragraphs" ]
- , Para
- [ Str "Here's"
- , Space
- , Str "a"
- , Space
- , Str "regular"
- , Space
- , Str "paragraph."
- ]
- , 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"
- , 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"
- , Space
- , Str "looked"
- , Space
- , Str "like"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item."
- ]
- , Para
- [ Str "Here's"
- , Space
- , Str "one"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "bullet."
- , Space
- , Str "*"
- , Space
- , Str "criminey."
- ]
- , Para
- [ Str "There"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "hard"
- , Space
- , Str "line"
- , Space
- , Str "break"
- , LineBreak
- , Str "here."
- ]
- , HorizontalRule
- , Header 1
- ( "block-quotes", [], [] )
- [ Str "Block", Space, Str "Quotes" ]
- , Para
- [ Str "E-mail", Space, Str "style:" ]
- , BlockQuote
- [ Para
[ Str "This"
, Space
, Str "is"
, Space
, Str "a"
, Space
- , Str "block"
+ , Str "set"
, Space
- , Str "quote."
+ , Str "of"
, Space
- , Str "It"
+ , Str "tests"
, Space
- , Str "is"
+ , Str "for"
, Space
- , Str "pretty"
+ , Str "pandoc."
, Space
- , Str "short."
+ , Str "Most"
+ , Space
+ , Str "of"
+ , Space
+ , Str "them"
+ , Space
+ , Str "are"
+ , Space
+ , Str "adapted"
+ , Space
+ , Str "from"
+ , Space
+ , Str "John"
+ , Space
+ , Str "Gruber's"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
]
- ]
- , BlockQuote
- [ Para
- [ Str "Code"
+ , HorizontalRule
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , 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" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , HorizontalRule
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , 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"
+ , 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"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , Space
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ 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."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "item" , Space , Str "one" ] ]
+ , [ Plain [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes:"
+ ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , 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."
]
- , CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- , Para
- [ Str "A", Space, Str "list:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "item", Space, Str "one" ] ]
- ,
- [ Plain [ Str "item", Space, Str "two" ] ]
+ , Para [ Str "Box-style:" ]
+ , BlockQuote
+ [ Para [ Str "Example:" ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
]
- , Para
- [ Str "Nested", Space, Str "block", Space, Str "quotes:" ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- ]
- , 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."
- ]
- , Para
- [ Str "Box-style:" ]
, BlockQuote
- [ Para
- [ Str "Example:" ]
- , CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- ]
- , BlockQuote
- [ OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "do", Space, Str "laundry" ] ]
- ,
- [ Plain
- [ Str "take"
- , Space
- , Str "out"
- , Space
- , Str "the"
- , Space
- , Str "trash"
+ [ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "do" , Space , Str "laundry" ] ]
+ , [ Plain
+ [ Str "take"
+ , Space
+ , Str "out"
+ , Space
+ , Str "the"
+ , Space
+ , Str "trash"
+ ]
+ ]
]
- ]
]
- ]
, Para
- [ Str "Here's"
- , Space
- , Str "a"
- , Space
- , Str "nested"
- , Space
- , Str "one:"
- ]
- , BlockQuote
- [ Para
- [ Str "Joe", Space, Str "said:" ]
- , BlockQuote
- [ Para [ Str "Don't", Space, Str "quote", Space, Str "me." ] ]
- ]
- , Para
- [ Str "And"
- , Space
- , Str "a"
- , Space
- , Str "following"
- , Space
- , Str "paragraph."
- ]
- , HorizontalRule
- , Header 1
- ( "inline-quotes", [], [] )
- [ Str "Inline", Space, Str "quotes" ]
- , Para
- [ Str "Normal"
- , Space
- , Str "text"
- , Space
- , Str "but"
- , Space
- , Str "then"
- , Space
- , Str "a"
- , Space
- , Quoted DoubleQuote
- [ Span
- ( ""
- , []
- ,
- [
- ( "cite"
- , "https://www.imdb.com/title/tt0062622/quotes/qt0396921"
- )
- ]
- )
- [ Str "inline", Space, Str "quote" ]
- ]
- , Str "."
- ]
- , Para
- [ Quoted DoubleQuote
- [ Str "Missing"
+ [ Str "Here's"
, Space
, Str "a"
, Space
- , Str "cite"
+ , Str "nested"
, Space
- , Str "attribute"
+ , Str "one:"
+ ]
+ , BlockQuote
+ [ Para [ Str "Joe" , Space , Str "said:" ]
+ , BlockQuote
+ [ Para
+ [ Str "Don't" , Space , Str "quote" , Space , Str "me." ]
+ ]
+ ]
+ , Para
+ [ Str "And"
, Space
- , Str "means"
+ , Str "a"
, Space
- , Str "its"
+ , Str "following"
, Space
- , Str "just"
- , Space
- , Str "normal"
+ , Str "paragraph."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "inline-quotes" , [] , [] )
+ [ Str "Inline" , Space , Str "quotes" ]
+ , Para
+ [ Str "Normal"
, Space
, Str "text"
- ]
- ]
- , HorizontalRule
- , Header 1
- ( "code-blocks", [], [] )
- [ Str "Code", Space, Str "Blocks" ]
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
- , Para
- [ Str "And:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
- , HorizontalRule
- , Header 1
- ( "lists", [], [] )
- [ Str "Lists" ]
- , Header 2
- ( "unordered", [], [] )
- [ Str "Unordered" ]
- , Para
- [ Str "Asterisks", Space, Str "tight:" ]
- , BulletList
- [
- [ Plain [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Asterisks", Space, Str "loose:" ]
- , BulletList
- [
- [ Para [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "tight:" ]
- , BulletList
- [
- [ Plain [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "loose:" ]
- , BulletList
- [
- [ Para [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "tight:" ]
- , BulletList
- [
- [ Plain [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "loose:" ]
- , BulletList
- [
- [ Para [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "3" ] ]
- ]
- , Header 2
- ( "ordered", [], [] )
- [ Str "Ordered" ]
- , Para
- [ Str "Tight:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "First" ] ]
- ,
- [ Plain [ Str "Second" ] ]
- ,
- [ Plain [ Str "Third" ] ]
- ]
- , Para
- [ Str "and:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "One" ] ]
- ,
- [ Plain [ Str "Two" ] ]
- ,
- [ Plain [ Str "Three" ] ]
- ]
- , Para
- [ Str "Loose", Space, Str "using", Space, Str "tabs:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para [ Str "Second" ] ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "and", Space, Str "using", Space, Str "spaces:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "One" ] ]
- ,
- [ Para [ Str "Two" ] ]
- ,
- [ Para [ Str "Three" ] ]
- ]
- , Para
- [ Str "Multiple", Space, Str "paragraphs:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para
- [ Str "Item"
- , Space
- , Str "1,"
- , Space
- , Str "graf"
- , Space
- , Str "one."
- ]
- , 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's"
- , Space
- , Str "back."
- ]
- ]
- ,
- [ Para [ Str "Item", Space, Str "2." ] ]
- ,
- [ Para [ Str "Item", Space, Str "3." ] ]
- ]
- , Para
- [ Str "List", Space, Str "styles:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim ) []
- , OrderedList
- ( 1, LowerRoman, DefaultDelim ) []
- , OrderedList
- ( 1, LowerRoman, DefaultDelim ) []
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim ) []
- , OrderedList
- ( 1, LowerRoman, DefaultDelim ) []
- , OrderedList
- ( 1, LowerRoman, DefaultDelim ) []
- , Header 2
- ( "nested", [], [] )
- [ Str "Nested" ]
- , BulletList
- [
- [ Plain
- [ Str "Tab" ]
- , BulletList
- [
- [ Plain
- [ Str "Tab" ]
- , BulletList
- [ [ Plain [ Str "Tab" ] ] ]
+ , Space
+ , Str "but"
+ , Space
+ , Str "then"
+ , Space
+ , Str "a"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Span
+ ( ""
+ , []
+ , [ ( "cite"
+ , "https://www.imdb.com/title/tt0062622/quotes/qt0396921"
+ )
+ ]
+ )
+ [ Str "inline" , Space , Str "quote" ]
]
- ]
+ , Str "."
]
- ]
, Para
- [ Str "Here's", Space, Str "another:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "First" ] ]
- ,
- [ Plain
- [ Str "Second:" ]
- , BulletList
- [
- [ Plain [ Str "Fee" ] ]
- ,
- [ Plain [ Str "Fie" ] ]
- ,
- [ Plain [ Str "Foe" ] ]
- ]
+ [ Quoted
+ DoubleQuote
+ [ Str "Missing"
+ , Space
+ , Str "a"
+ , Space
+ , Str "cite"
+ , Space
+ , Str "attribute"
+ , Space
+ , Str "means"
+ , Space
+ , Str "its"
+ , Space
+ , Str "just"
+ , Space
+ , Str "normal"
+ , Space
+ , Str "text"
+ ]
]
- ,
- [ Plain [ Str "Third" ] ]
- ]
- , Para
- [ Str "Same"
- , Space
- , Str "thing"
- , Space
- , Str "but"
- , Space
- , Str "with"
- , Space
- , Str "paragraphs:"
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Plain [ Str "Fee" ] ]
- ,
- [ Plain [ Str "Fie" ] ]
- ,
- [ Plain [ Str "Foe" ] ]
- ]
- ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Header 2
- ( "tabs-and-spaces", [], [] )
- [ Str "Tabs", Space, Str "and", Space, Str "spaces" ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , HorizontalRule
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
, BulletList
- [
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "tabs"
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
+ , Para
+ [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , 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's"
+ , Space
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Para [ Str "List" , Space , Str "styles:" ]
+ , OrderedList ( 1 , DefaultStyle , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , OrderedList ( 1 , DefaultStyle , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList [ [ Plain [ Str "Tab" ] ] ]
+ ]
+ ]
]
]
- ,
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "spaces"
+ , Para [ Str "Here's" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
]
- , BulletList
- [
- [ Para
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
+ , BulletList
+ [ [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -735,16 +607,13 @@ Pandoc
, Space
, Str "tabs"
]
- ]
- ,
- [ Para
+ ]
+ , [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -756,972 +625,711 @@ Pandoc
, Space
, Str "spaces"
]
- ]
- ]
- ]
- ]
- , Header 2
- ( "fancy-list-markers", [], [] )
- [ Str "Fancy", Space, Str "list", Space, Str "markers" ]
- , OrderedList
- ( 2, Decimal, DefaultDelim )
- [
- [ Plain [ Str "begins", Space, Str "with", Space, Str "2" ] ]
- ,
- [ Para
- [ Str "and", Space, Str "now", Space, Str "3" ]
- , Para
- [ Str "with", Space, Str "a", Space, Str "continuation" ]
- , OrderedList
- ( 4, LowerRoman, DefaultDelim )
- [
- [ Plain
- [ Str "sublist"
- , Space
- , Str "with"
- , Space
- , Str "roman"
- , Space
- , Str "numerals,"
- , Space
- , Str "starting"
- , Space
- , Str "with"
- , Space
- , Str "4"
- ]
- ]
- ,
- [ Plain
- [ Str "more", Space, Str "items" ]
- , OrderedList
- ( 1, UpperAlpha, DefaultDelim )
- [
- [ Plain [ Str "a", Space, Str "subsublist" ] ]
- ,
- [ Plain [ Str "a", Space, Str "subsublist" ] ]
- ]
- ]
- ]
- ]
- ]
- , Para
- [ Str "Nesting:" ]
- , OrderedList
- ( 1, UpperAlpha, DefaultDelim )
- [
- [ Plain
- [ Str "Upper", Space, Str "Alpha" ]
- , OrderedList
- ( 1, UpperRoman, DefaultDelim )
- [
- [ Plain
- [ Str "Upper", Space, Str "Roman." ]
- , OrderedList
- ( 6, Decimal, DefaultDelim )
- [
- [ Plain
- [ Str "Decimal"
- , Space
- , Str "start"
- , Space
- , Str "with"
- , Space
- , Str "6"
- ]
- , OrderedList
- ( 3, LowerAlpha, DefaultDelim )
- [
- [ Plain
- [ Str "Lower"
- , Space
- , Str "alpha"
- , Space
- , Str "with"
- , Space
- , Str "paren"
- ]
+ , BulletList
+ [ [ 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"
+ ]
+ ]
+ , [ 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"
]
- ]
]
]
- ]
]
]
- ]
- , Para
- [ Str "Autonumbering:" ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Autonumber." ] ]
- ,
- [ Plain
- [ Str "More." ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Plain [ Str "Nested." ] ] ]
+ ( 2 , Decimal , DefaultDelim )
+ [ [ Plain
+ [ Str "begins" , Space , Str "with" , Space , Str "2" ]
+ ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ , OrderedList
+ ( 4 , LowerRoman , DefaultDelim )
+ [ [ Plain
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , Space
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Plain [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , DefaultDelim )
+ [ [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , DefaultDelim )
+ [ [ Plain [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , DefaultDelim )
+ [ [ Plain [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , DefaultDelim )
+ [ [ Plain
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , DefaultDelim )
+ [ [ Plain
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Autonumber." ] ]
+ , [ Plain [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Nested." ] ] ]
+ ]
]
- ]
, HorizontalRule
- , Header 2
- ( "definition", [], [] )
- [ Str "Definition" ]
+ , Header 2 ( "definition" , [] , [] ) [ Str "Definition" ]
, DefinitionList
- [
- (
- [ Str "Violin" ]
- ,
- [
- [ Plain
- [ Str "Stringed"
- , Space
- , Str "musical"
- , Space
- , Str "instrument."
+ [ ( [ Str "Violin" ]
+ , [ [ Plain
+ [ Str "Stringed"
+ , Space
+ , Str "musical"
+ , Space
+ , Str "instrument."
+ ]
+ ]
+ , [ Plain [ Str "Torture" , Space , Str "device." ] ]
+ ]
+ )
+ , ( [ Str "Cello" , LineBreak , Str "Violoncello" ]
+ , [ [ Plain
+ [ Str "Low-voiced"
+ , Space
+ , Str "stringed"
+ , Space
+ , Str "instrument."
+ ]
]
]
- ,
- [ Plain [ Str "Torture", Space, Str "device." ] ]
- ]
- )
- ,
- (
- [ Str "Cello", LineBreak, Str "Violoncello" ]
- ,
- [
- [ Plain
- [ Str "Low-voiced"
- , Space
- , Str "stringed"
- , Space
- , Str "instrument."
- ]
- ]
- ]
- )
- ]
+ )
+ ]
, HorizontalRule
- , Header 1
- ( "inline-markup", [], [] )
- [ Str "Inline", Space, Str "Markup" ]
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
, 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 "."
- ]
- , 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 "."
- ]
- , Para
- [ Str "Empty"
- , Space
- , Strong []
- , Space
- , Str "and"
- , Space
- , Emph []
- , Str "."
- ]
- , Para
- [ Str "An"
- , Space
- , Emph
- [ Link
- ( "", [], [] )
- [ Str "emphasized", Space, Str "link" ]
- ( "/url", "" )
- ]
- , Str "."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
- ]
- ]
- , Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
- ]
- ]
- , Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "code:"
- , Space
- , Code
- ( "", [], [] ) ">"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) ""
- , Str "."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , SmallCaps
- [ Str "small", Space, Str "caps" ]
- , Str "."
- ]
- , Para
- [ Str "These"
- , Space
- , Str "are"
- , Space
- , Str "all"
- , Space
- , Str "underlined:"
- , Space
- , Underline
- [ Str "foo" ]
- , Space
- , Str "and"
- , Space
- , Underline
- [ Str "bar" ]
- , Str "."
- ]
- , Para
- [ Str "These"
- , Space
- , Str "are"
- , Space
- , Str "all"
- , Space
- , Str "strikethrough:"
- , Space
- , Strikeout
- [ Str "foo" ]
- , Str ","
- , Space
- , Strikeout
- [ Str "bar" ]
- , Str ","
- , Space
- , Str "and"
- , Space
- , Strikeout
- [ Str "baz" ]
- , Str "."
- ]
- , HorizontalRule
- , Header 1
- ( "smart-quotes-ellipses-dashes", [], [] )
- [ Str "Smart"
- , Space
- , Str "quotes,"
- , Space
- , Str "ellipses,"
- , Space
- , Str "dashes"
- ]
- , Para
- [ Str "\"Hello,\""
- , Space
- , Str "said"
- , Space
- , Str "the"
- , Space
- , Str "spider."
- , Space
- , Str "\"'Shelob'"
- , Space
- , Str "is"
- , Space
- , Str "my"
- , Space
- , Str "name.\""
- ]
- , Para
- [ Str "'A',"
- , Space
- , Str "'B',"
- , Space
- , Str "and"
- , Space
- , Str "'C'"
- , Space
- , Str "are"
- , Space
- , Str "letters."
- ]
- , Para
- [ Str "'Oak,'"
- , Space
- , Str "'elm,'"
- , Space
- , Str "and"
- , Space
- , Str "'beech'"
- , Space
- , Str "are"
- , Space
- , Str "names"
- , Space
- , Str "of"
- , Space
- , Str "trees."
- , Space
- , Str "So"
- , Space
- , Str "is"
- , Space
- , Str "'pine.'"
- ]
- , Para
- [ Str "'He"
- , Space
- , Str "said,"
- , Space
- , 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"
- , Space
- , Str "70's?"
- ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Str "quoted"
- , Space
- , Str "'"
- , Code
- ( "", [], [] ) "code"
- , Str "'"
- , Space
- , Str "and"
- , Space
- , Str "a"
- , Space
- , Str "\""
- , Link
- ( "", [], [] )
- [ Str "quoted", Space, Str "link" ]
- ( "http://example.com/?foo=1&bar=2", "" )
- , Str "\"."
- ]
- , Para
- [ Str "Some"
- , Space
- , Str "dashes:"
- , Space
- , Str "one---two"
- , Space
- , Str "---"
- , Space
- , Str "three--four"
- , Space
- , Str "--"
- , Space
- , Str "five."
- ]
- , Para
- [ Str "Dashes"
- , Space
- , Str "between"
- , Space
- , Str "numbers:"
- , Space
- , Str "5-7,"
- , Space
- , Str "255-66,"
- , Space
- , Str "1987-1999."
- ]
- , Para
- [ Str "Ellipses...and."
- , Space
- , Str "."
- , Space
- , Str ".and"
- , Space
- , Str "."
- , Space
- , Str "."
- , Space
- , Str "."
- , Space
- , Str "."
- ]
- , HorizontalRule
- , Header 1
- ( "latex", [], [] )
- [ Str "LaTeX" ]
- , BulletList
- [
- [ Plain [ Str "\\cite[22-23]{smith.1899}" ] ]
- ,
- [ Plain [ Str "\\doublespacing" ] ]
- ,
- [ Plain [ Str "$2+2=4$" ] ]
- ,
- [ Plain [ Str "$x", Space, Str "\\in", Space, Str "y$" ] ]
- ,
- [ Plain
- [ Str "$\\alpha", Space, Str "\\wedge", Space, Str "\\omega$" ]
- ]
- ,
- [ Plain [ Str "$223$" ] ]
- ,
- [ Plain [ Str "$p$-Tree" ] ]
- ,
- [ Plain
- [ Str "$\\frac{d}{dx}f(x)=\\lim_{h\\to"
- , Space
- , Str "0}\\frac{f(x+h)-f(x)}{h}$"
- ]
- ]
- ,
- [ Plain
- [ Str "Here's"
- , Space
- , Str "one"
- , Space
- , Str "that"
- , Space
- , Str "has"
- , Space
- , Str "a"
- , Space
- , Str "line"
- , Space
- , Str "break"
- , Space
- , Str "in"
- , Space
- , Str "it:"
- , Space
- , Str "$\\alpha"
- , Space
- , Str "+"
- , Space
- , Str "\\omega"
- , Space
- , Str "\\times"
- , Space
- , Str "x^2$."
- ]
- ]
- ]
- , Para
- [ Str "These"
- , Space
- , Str "shouldn't"
- , Space
- , Str "be"
- , Space
- , Str "math:"
- ]
- , BulletList
- [
- [ Plain
- [ Str "To"
- , Space
- , Str "get"
- , Space
- , Str "the"
- , Space
- , Str "famous"
- , Space
- , Str "equation,"
- , Space
- , Str "write"
- , Space
- , Code
- ( "", [], [] ) "$e = mc^2$"
- , Str "."
- ]
- ]
- ,
- [ Plain
- [ 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"
- , Space
- , Str "\"lot\""
- , Space
- , Str "is"
- , Space
- , Str "emphasized.)"
- ]
- ]
- ,
- [ Plain
- [ Str "Escaped"
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ":"
- , Space
- , Str "$73"
- , Space
- , Emph
- [ Str "this"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "emphasized"
- ]
- , Space
- , Str "23$."
- ]
- ]
- ]
- , Para
- [ Str "Here's"
- , Space
- , Str "a"
- , Space
- , Str "LaTeX"
- , Space
- , Str "table:"
- ]
- , Para
- [ Str "\\begin{tabular}{|l|l|}\\hline"
- , Space
- , Str "Animal"
- , Space
- , Str "&"
- , Space
- , Str "Number"
- , Space
- , Str "\\\\"
- , Space
- , Str "\\hline"
- , Space
- , Str "Dog"
- , Space
- , Str "&"
- , Space
- , Str "2"
- , Space
- , Str "\\\\"
- , Space
- , Str "Cat"
- , Space
- , Str "&"
- , Space
- , Str "1"
- , Space
- , Str "\\\\"
- , Space
- , Str "\\hline"
- , Space
- , Str "\\end{tabular}"
- ]
- , HorizontalRule
- , Header 1
- ( "special-characters", [], [] )
- [ Str "Special", Space, Str "Characters" ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Str "unicode:"
- ]
- , BulletList
- [
- [ Plain [ Str "I", Space, Str "hat:", Space, Str "\206" ] ]
- ,
- [ Plain [ Str "o", Space, Str "umlaut:", Space, Str "\246" ] ]
- ,
- [ Plain [ Str "section:", Space, Str "\167" ] ]
- ,
- [ Plain
- [ Str "set", Space, Str "membership:", Space, Str "\8712" ]
- ]
- ,
- [ Plain [ Str "copyright:", Space, Str "\169" ] ]
- ]
- , Para
- [ Str "AT&T"
- , Space
- , Str "has"
- , Space
- , Str "an"
- , Space
- , Str "ampersand"
- , Space
- , Str "in"
- , Space
- , Str "their"
- , Space
- , Str "name."
- ]
- , Para
- [ Str "AT&T"
- , Space
- , Str "is"
- , Space
- , Str "another"
- , Space
- , Str "way"
- , Space
- , Str "to"
- , Space
- , Str "write"
- , Space
- , Str "it."
- ]
- , Para
- [ Str "This", Space, Str "&", Space, Str "that." ]
- , Para
- [ Str "4", Space, Str "<", Space, Str "5." ]
- , Para
- [ Str "6", Space, Str ">", Space, Str "5." ]
- , Para
- [ Str "Backslash:", Space, Str "\\" ]
- , Para
- [ Str "Backtick:", Space, Str "`" ]
- , Para
- [ Str "Asterisk:", Space, Str "*" ]
- , Para
- [ Str "Underscore:", Space, Str "_" ]
- , Para
- [ Str "Left", Space, Str "brace:", Space, Str "{" ]
- , Para
- [ Str "Right", Space, Str "brace:", Space, Str "}" ]
- , Para
- [ Str "Left", Space, Str "bracket:", Space, Str "[" ]
- , Para
- [ Str "Right", Space, Str "bracket:", Space, Str "]" ]
- , Para
- [ Str "Left", Space, Str "paren:", Space, Str "(" ]
- , Para
- [ Str "Right", Space, Str "paren:", Space, Str ")" ]
- , Para
- [ Str "Greater-than:", Space, Str ">" ]
- , Para
- [ Str "Hash:", Space, Str "#" ]
- , Para
- [ Str "Period:", Space, Str "." ]
- , Para
- [ Str "Bang:", Space, Str "!" ]
- , Para
- [ Str "Plus:", Space, Str "+" ]
- , Para
- [ Str "Minus:", Space, Str "-" ]
- , HorizontalRule
- , Header 1
- ( "links", [], [] )
- [ Str "Links" ]
- , Header 2
- ( "explicit", [], [] )
- [ Str "Explicit" ]
- , Para
- [ Str "Just"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "URL" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title preceded by two spaces" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title preceded by a tab" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title with \"quotes\" in it" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title with single quotes" )
- ]
- , Para
- [ Str "Email"
- , Space
- , Str "link"
- , Space
- , Str "(nobody"
- , Space
- , Str "[at]"
- , Space
- , Str "nowhere.net)"
- ]
- , Para
- [ Link ( "", [], [] ) [ Str "Empty" ] ( "", "" ), Str "." ]
- , Header 2
- ( "reference", [], [] )
- [ Str "Reference" ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "With"
- , Space
- , Link
- ( "", [], [] )
- [ Str "embedded", Space, Str "[brackets]" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "b" ]
- ( "/url/", "" )
- , Space
- , Str "by"
- , Space
- , Str "itself"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "once" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "twice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "thrice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "[not]"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , CodeBlock
- ( "", [], [] ) "[not]: /url"
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "Title with \"quotes\" inside" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "biz" ]
- ( "/url/", "Title with \"quote\" inside" )
- , Str "."
- ]
- , Header 2
- ( "with-ampersands", [], [] )
- [ Str "With", Space, Str "ampersands" ]
- , Para
- [ Str "Here's"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "link"
+ [ Str "This"
, Space
- , Str "with"
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "Empty"
+ , Space
+ , Strong []
+ , Space
+ , Str "and"
+ , Space
+ , Emph []
+ , Str "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) ""
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , SmallCaps [ Str "small" , Space , Str "caps" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "are"
+ , Space
+ , Str "all"
+ , Space
+ , Str "underlined:"
+ , Space
+ , Underline [ Str "foo" ]
+ , Space
+ , Str "and"
+ , Space
+ , Underline [ Str "bar" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "are"
+ , Space
+ , Str "all"
+ , Space
+ , Str "strikethrough:"
+ , Space
+ , Strikeout [ Str "foo" ]
+ , Str ","
+ , Space
+ , Strikeout [ Str "bar" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Strikeout [ Str "baz" ]
+ , Str "."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , Para
+ [ Str "\"Hello,\""
+ , Space
+ , Str "said"
+ , Space
+ , Str "the"
+ , Space
+ , Str "spider."
+ , Space
+ , Str "\"'Shelob'"
+ , Space
+ , Str "is"
+ , Space
+ , Str "my"
+ , Space
+ , Str "name.\""
+ ]
+ , Para
+ [ Str "'A',"
+ , Space
+ , Str "'B',"
+ , Space
+ , Str "and"
+ , Space
+ , Str "'C'"
+ , Space
+ , Str "are"
+ , Space
+ , Str "letters."
+ ]
+ , Para
+ [ Str "'Oak,'"
+ , Space
+ , Str "'elm,'"
+ , Space
+ , Str "and"
+ , Space
+ , Str "'beech'"
+ , Space
+ , Str "are"
+ , Space
+ , Str "names"
+ , Space
+ , Str "of"
+ , Space
+ , Str "trees."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Str "'pine.'"
+ ]
+ , Para
+ [ Str "'He"
+ , Space
+ , Str "said,"
+ , Space
+ , 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"
+ , Space
+ , Str "70's?"
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "quoted"
+ , Space
+ , Str "'"
+ , Code ( "" , [] , [] ) "code"
+ , Str "'"
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Str "\""
+ , Link
+ ( "" , [] , [] )
+ [ Str "quoted" , Space , Str "link" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "\"."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one---two"
+ , Space
+ , Str "---"
+ , Space
+ , Str "three--four"
+ , Space
+ , Str "--"
+ , Space
+ , Str "five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5-7,"
+ , Space
+ , Str "255-66,"
+ , Space
+ , Str "1987-1999."
+ ]
+ , Para
+ [ Str "Ellipses...and."
+ , Space
+ , Str "."
+ , Space
+ , Str ".and"
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ ]
+ , HorizontalRule
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ Plain [ Str "\\cite[22-23]{smith.1899}" ] ]
+ , [ Plain [ Str "\\doublespacing" ] ]
+ , [ Plain [ Str "$2+2=4$" ] ]
+ , [ Plain
+ [ Str "$x" , Space , Str "\\in" , Space , Str "y$" ]
+ ]
+ , [ Plain
+ [ Str "$\\alpha"
+ , Space
+ , Str "\\wedge"
+ , Space
+ , Str "\\omega$"
+ ]
+ ]
+ , [ Plain [ Str "$223$" ] ]
+ , [ Plain [ Str "$p$-Tree" ] ]
+ , [ Plain
+ [ Str "$\\frac{d}{dx}f(x)=\\lim_{h\\to"
+ , Space
+ , Str "0}\\frac{f(x+h)-f(x)}{h}$"
+ ]
+ ]
+ , [ Plain
+ [ Str "Here's"
+ , Space
+ , Str "one"
+ , Space
+ , Str "that"
+ , Space
+ , Str "has"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , Space
+ , Str "in"
+ , Space
+ , Str "it:"
+ , Space
+ , Str "$\\alpha"
+ , Space
+ , Str "+"
+ , Space
+ , Str "\\omega"
+ , Space
+ , Str "\\times"
+ , Space
+ , Str "x^2$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn't"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , Space
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ Plain
+ [ 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"
+ , Space
+ , Str "\"lot\""
+ , Space
+ , Str "is"
+ , Space
+ , Str "emphasized.)"
+ ]
+ ]
+ , [ Plain
+ [ Str "Escaped"
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ":"
+ , Space
+ , Str "$73"
+ , Space
+ , Emph
+ [ Str "this"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "emphasized"
+ ]
+ , Space
+ , Str "23$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , Para
+ [ Str "\\begin{tabular}{|l|l|}\\hline"
+ , Space
+ , Str "Animal"
+ , Space
+ , Str "&"
+ , Space
+ , Str "Number"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "\\hline"
+ , Space
+ , Str "Dog"
+ , Space
+ , Str "&"
+ , Space
+ , Str "2"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "Cat"
+ , Space
+ , Str "&"
+ , Space
+ , Str "1"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "\\hline"
+ , Space
+ , Str "\\end{tabular}"
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Plain
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Plain [ Str "section:" , Space , Str "\167" ] ]
+ , [ Plain
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "\8712"
+ ]
+ ]
+ , [ Plain [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
, Space
, Str "an"
, Space
@@ -1729,1637 +1337,1948 @@ Pandoc
, Space
, Str "in"
, Space
- , Str "the"
+ , Str "their"
, Space
- , Str "URL"
+ , Str "name."
]
- ( "http://example.com/?foo=1&bar=2", "" )
- , Str "."
- ]
, Para
- [ Str "Here's"
- , 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" ]
- ( "http://att.com/", "AT&T" )
- , Str "."
- ]
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
, Para
- [ Str "Here's"
- , Space
- , Str "an"
- , Space
- , Link
- ( "", [], [] )
- [ Str "inline", Space, Str "link" ]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
, Para
- [ Str "Here's"
- , Space
- , Str "an"
- , Space
- , Link
- ( "", [], [] )
- [ Str "inline"
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , HorizontalRule
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by two spaces" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by a tab" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with \"quotes\" in it" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with single quotes" )
+ ]
+ , Para
+ [ Str "Email"
, Space
, Str "link"
, Space
- , Str "in"
+ , Str "(nobody"
, Space
- , Str "pointy"
+ , Str "[at]"
, Space
- , Str "braces"
+ , Str "nowhere.net)"
]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
- , Header 2
- ( "autolinks", [], [] )
- [ Str "Autolinks" ]
, 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", "" )
- ]
- , BulletList
- [
- [ Plain [ Str "In", Space, Str "a", Space, Str "list?" ] ]
- ,
- [ Plain
- [ Link
- ( "", [], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
- ]
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
+ , Str "."
]
- ,
- [ Plain [ Str "It", Space, Str "should." ] ]
- ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
, Para
- [ Str "An"
- , Space
- , Str "e-mail"
- , Space
- , Str "address:"
- , Space
- , Str "nobody"
- , Space
- , Str "[at]"
- , Space
- , Str "nowhere.net"
- ]
- , BlockQuote
- [ Para
- [ Str "Blockquoted:"
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
, Space
, Link
- ( "", [], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
]
- ]
, Para
- [ Str "Auto-links"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "occur"
- , Space
- , Str "here:"
- , Space
- , Code
- ( "", [], [] ) " "
- ]
- , CodeBlock
- ( "", [], [] ) "or here: "
- , HorizontalRule
- , Header 1
- ( "images", [], [] )
- [ Str "Images" ]
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
, Para
- [ Str "From"
- , Space
- , Str "\"Voyage"
- , Space
- , Str "dans"
- , Space
- , Str "la"
- , Space
- , Str "Lune\""
- , Space
- , Str "by"
- , Space
- , Str "Georges"
- , Space
- , Str "Melies"
- , Space
- , Str "(1902):"
- ]
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
, Para
- [ Image
- ( "", [], [] )
- [ Str "lalune" ]
- ( "lalune.jpg", "Voyage dans la Lune" )
- ]
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
, Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "movie"
- , Space
- , Image
- ( "", [], [] )
- [ Str "movie" ]
- ( "movie.jpg", "" )
- , Space
- , Str "icon."
- ]
- , HorizontalRule
- , Header 1
- ( "footnotes", [], [] )
- [ Str "Footnotes" ]
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
, Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "footnote"
- , Space
- , Str "reference"
- , Link
- ( "", [], [] )
- [ Str "(1)" ]
- ( "#note_1", "" )
- , Str ","
- , Space
- , Str "and"
- , Space
- , Str "another"
- , Link
- ( "", [], [] )
- [ Str "(longnote)" ]
- ( "#note_longnote", "" )
- , Str "."
- , Space
- , 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"
- , Space
- , Str "a"
- , Space
- , Str "space^(my"
- , Space
- , Str "note)."
- ]
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
, Para
- [ Link
- ( "", [], [] )
- [ Str "(1)" ]
- ( "#ref_1", "" )
- , Space
- , 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 "in"
- , Space
- , Str "the"
- , Space
- , Str "document,"
- , Space
- , Str "not"
- , Space
- , Str "just"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "end."
- ]
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "bar" ]
+ ( "/url/" , "Title with \"quotes\" inside" )
+ , Str "."
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "(longnote)" ]
- ( "#ref_longnote", "" )
- , Space
- , Str "Here's"
- , Space
- , Str "the"
- , Space
- , Str "other"
- , Space
- , Str "note."
- , Space
- , Str "This"
- , Space
- , Str "one"
- , Space
- , Str "contains"
- , Space
- , Str "multiple"
- , Space
- , Str "blocks."
- ]
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "biz" ]
+ ( "/url/" , "Title with \"quote\" inside" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
, Para
- [ Str "Caret"
- , Space
- , Str "characters"
- , Space
- , Str "are"
- , Space
- , Str "used"
- , Space
- , Str "to"
- , Space
- , Str "indicate"
- , Space
- , Str "that"
- , Space
- , Str "the"
- , Space
- , Str "blocks"
- , Space
- , Str "all"
- , Space
- , Str "belong"
- , Space
- , Str "to"
- , Space
- , Str "a"
- , Space
- , Str "single"
- , Space
- , Str "footnote"
- , Space
- , Str "(as"
- , Space
- , Str "with"
- , Space
- , Str "block"
- , Space
- , Str "quotes)."
- ]
- , CodeBlock
- ( "", [], [] ) " { }"
- , Para
- [ Str "If"
- , Space
- , Str "you"
- , Space
- , Str "want,"
- , Space
- , Str "you"
- , Space
- , Str "can"
- , Space
- , Str "use"
- , Space
- , Str "a"
- , Space
- , Str "caret"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "beginning"
- , Space
- , Str "of"
- , Space
- , Str "every"
- , Space
- , Str "line,"
- , Space
- , Str "as"
- , Space
- , Str "with"
- , Space
- , Str "blockquotes,"
- , Space
- , Str "but"
- , Space
- , Str "all"
- , Space
- , Str "that"
- , Space
- , Str "you"
- , Space
- , Str "need"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "caret"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "beginning"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "first"
- , Space
- , Str "line"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "block"
- , Space
- , Str "and"
- , Space
- , Str "any"
- , Space
- , Str "preceding"
- , Space
- , Str "blank"
- , Space
- , Str "lines."
- ]
- , Para
- [ Str "text", Space, Emph [ Str "Leading", Space, Str "space" ] ]
- , Para
- [ Emph [ Str "Trailing", Space, Str "space" ], Space, Str "text" ]
- , Para
- [ Str "text", Space, Emph [ Str "Leading", Space, Str "spaces" ] ]
- , Para
- [ Emph [ Str "Trailing", Space, Str "spaces" ], Space, Str "text" ]
- , Header 1
- ( "tables", [], [] )
- [ Str "Tables" ]
- , Header 2
- ( "tables-with-headers", [], [] )
- [ Str "Tables", Space, Str "with", Space, Str "Headers" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Para
- [ Str "Row", Space, Str "headers" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 1 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 1 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- ]
- ]
- ( TableFoot
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- )
- , HorizontalRule
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- ]
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
- ]
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
- ]
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- ]
- , TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- ]
- , TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 2
- ( "tables-without-headers", [], [] )
- [ Str "Tables", Space, Str "without", Space, Str "Headers" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Para
- [ Str "tbody", Space, Str "tags", Space, Str "omitted" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Para
- [ Str "empty", Space, Str "head" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , HorizontalRule
- , Para
- [ Str "explicit"
- , Space
- , Str "body"
- , Space
- , Str "and"
- , Space
- , Str "foot"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- ]
- ]
- ( TableFoot
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- )
- , Header 2
- ( "colspans-and-rowspans", [], [] )
- [ Str "Colspans", Space, Str "and", Space, Str "Rowspans" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 2 )
- [ Plain [ Str "1", Space, Str "and", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 3 )
- [ Plain
- [ Str "4,"
- , Space
- , Str "5,"
- , Space
- , Str "and"
- , Space
- , Str "6"
- ]
+ [ Str "Here's"
+ , 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 "."
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ , Para
+ [ Str "Here's"
+ , 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" ]
+ ( "http://att.com/" , "AT&T" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , Space , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , 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" , "" )
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Plain
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Plain [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Str "nobody"
+ , Space
+ , Str "[at]"
+ , Space
+ , Str "nowhere.net"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , Space
+ , Code ( "" , [] , [] ) " "
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "or here: "
+ , HorizontalRule
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "From"
+ , Space
+ , Str "\"Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune\""
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune" ]
+ ( "lalune.jpg" , "Voyage dans la Lune" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image
+ ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , HorizontalRule
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference"
+ , Link ( "" , [] , [] ) [ Str "(1)" ] ( "#note_1" , "" )
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "another"
+ , Link
+ ( "" , [] , [] )
+ [ Str "(longnote)" ]
+ ( "#note_longnote" , "" )
+ , Str "."
+ , Space
+ , 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"
+ , Space
+ , Str "a"
+ , Space
+ , Str "space^(my"
+ , Space
+ , Str "note)."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "(1)" ] ( "#ref_1" , "" )
+ , Space
+ , 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 "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "just"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "(longnote)" ]
+ ( "#ref_longnote" , "" )
+ , Space
+ , Str "Here's"
+ , Space
+ , Str "the"
+ , Space
+ , Str "other"
+ , Space
+ , Str "note."
+ , Space
+ , Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "blocks."
+ ]
+ , Para
+ [ Str "Caret"
+ , Space
+ , Str "characters"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "to"
+ , Space
+ , Str "indicate"
+ , Space
+ , Str "that"
+ , Space
+ , Str "the"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "all"
+ , Space
+ , Str "belong"
+ , Space
+ , Str "to"
+ , Space
+ , Str "a"
+ , Space
+ , Str "single"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes)."
+ ]
+ , CodeBlock ( "" , [] , [] ) " { }"
+ , Para
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want,"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Str "a"
+ , Space
+ , Str "caret"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "of"
+ , Space
+ , Str "every"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "blockquotes,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "all"
+ , Space
+ , Str "that"
+ , Space
+ , Str "you"
+ , Space
+ , Str "need"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "caret"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "line"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "block"
+ , Space
+ , Str "and"
+ , Space
+ , Str "any"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines."
+ ]
+ , Para
+ [ Str "text"
+ , Space
+ , Emph [ Str "Leading" , Space , Str "space" ]
+ ]
+ , Para
+ [ Emph [ Str "Trailing" , Space , Str "space" ]
+ , Space
+ , Str "text"
+ ]
+ , Para
+ [ Str "text"
+ , Space
+ , Emph [ Str "Leading" , Space , Str "spaces" ]
+ ]
+ , Para
+ [ Emph [ Str "Trailing" , Space , Str "spaces" ]
+ , Space
+ , Str "text"
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ]
+ , Header
+ 2
+ ( "tables-with-headers" , [] , [] )
+ [ Str "Tables"
+ , Space
+ , Str "with"
+ , Space
+ , Str "Headers"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 3 )
- [ Plain [ Str "Numbers" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 2 )
- ( ColSpan 1 )
- [ Plain [ Str "1", Space, Str "and", Space, Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 2
- ( "attributes", [], [] )
- [ Str "Attributes" ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Para [ Str "Row" , Space , Str "headers" ]
, Table
- ( "attrib-test-table", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [ "table-head" ], [] )
- [ Row
- ( "", [ "table-head-row" ], [] )
- [ Cell
- ( "", [], [ ( "abbr", "x" ) ] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 3 )
- [ Plain [ Str "Cat", Space, Str "X" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [ "main" ], [ ( "part", "body" ) ] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [ ( "part", "row" ) ] )
- [ Cell
- ( "", [], [ ( "part", "cell" ) ] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [ ( "valign", "bottom" ) ] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [ ( "style", "color: #151950" ) ] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 1)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot
- ( "", [ "summary" ], [] )
- [ Row
- ( "", [], [ ( "bgcolor", "#ccc" ) ] )
- [ Cell
- ( "", [], [ ( "square", "true" ) ] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
- ]
- )
- , Header 2
- ( "tag-omission", [], [] )
- [ Str "Tag", Space, Str "omission" ]
- , Para
- [ Str "thead,"
- , Space
- , Str "tbody,"
- , Space
- , Str "and"
- , Space
- , Str "tfoot"
- ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 1)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- ]
+ (TableFoot
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- , Header 2
- ( "empty-tables", [], [] )
- [ Str "Empty", Space, Str "Tables" ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ]
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ]
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ , TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ , TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "tables-without-headers" , [] , [] )
+ [ Str "Tables"
+ , Space
+ , Str "without"
+ , Space
+ , Str "Headers"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
, Para
- [ Str "This"
- , Space
- , Str "section"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "empty."
- ]
+ [ Str "tbody" , Space , Str "tags" , Space , Str "omitted" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Para [ Str "empty" , Space , Str "head" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Para
+ [ Str "explicit"
+ , Space
+ , Str "body"
+ , Space
+ , Str "and"
+ , Space
+ , Str "foot"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ])
+ , Header
+ 2
+ ( "colspans-and-rowspans" , [] , [] )
+ [ Str "Colspans"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Rowspans"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 2)
+ [ Plain
+ [ Str "1" , Space , Str "and" , Space , Str "2" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 3)
+ [ Plain
+ [ Str "4,"
+ , Space
+ , Str "5,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "6"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 3)
+ [ Plain [ Str "Numbers" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 2)
+ (ColSpan 1)
+ [ Plain
+ [ Str "1" , Space , Str "and" , Space , Str "4" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 2 ( "attributes" , [] , [] ) [ Str "Attributes" ]
+ , Table
+ ( "attrib-test-table" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [ "table-head" ] , [] )
+ [ Row
+ ( "" , [ "table-head-row" ] , [] )
+ [ Cell
+ ( "" , [] , [ ( "abbr" , "x" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 3)
+ [ Plain [ Str "Cat" , Space , Str "X" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [ "main" ] , [ ( "part" , "body" ) ] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [ ( "part" , "row" ) ] )
+ [ Cell
+ ( "" , [] , [ ( "part" , "cell" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [ ( "valign" , "bottom" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [ ( "style" , "color: #151950" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot
+ ( "" , [ "summary" ] , [] )
+ [ Row
+ ( "" , [] , [ ( "bgcolor" , "#ccc" ) ] )
+ [ Cell
+ ( "" , [] , [ ( "square" , "true" ) ] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ])
+ , Header
+ 2
+ ( "tag-omission" , [] , [] )
+ [ Str "Tag" , Space , Str "omission" ]
+ , Para
+ [ Str "thead,"
+ , Space
+ , Str "tbody,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "tfoot"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ])
+ , Header
+ 2
+ ( "empty-tables" , [] , [] )
+ [ Str "Empty" , Space , Str "Tables" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "empty."
+ ]
]
diff --git a/test/ipynb/simple.out.native b/test/ipynb/simple.out.native
index 43b170a3a..0f243ca48 100644
--- a/test/ipynb/simple.out.native
+++ b/test/ipynb/simple.out.native
@@ -1,106 +1,103 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "jupyter"
- , MetaMap
- ( fromList
- [
- ( "nbformat", MetaString "4" )
- ,
- ( "nbformat_minor", MetaString "5" )
- ]
- )
- )
- ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "jupyter"
+ , MetaMap
+ (fromList
+ [ ( "nbformat" , MetaString "4" )
+ , ( "nbformat_minor" , MetaString "5" )
+ ])
+ )
+ ]
}
- )
[ Div
- ( "", [ "cell", "markdown" ], [] )
- [ Header 1
- ( "lorem-ipsum", [], [] )
- [ Str "Lorem", Space, Str "ipsum" ]
- , Para
- [ Strong
- [ Str "Lorem", Space, Str "ipsum" ]
- , Space
- , Str "dolor"
- , Space
- , Str "sit"
- , Space
- , Str "amet,"
- , Space
- , Str "consectetur"
- , Space
- , Str "adipiscing"
- , Space
- , Str "elit."
- , Space
- , Str "Nunc"
- , Space
- , Str "luctus"
- , SoftBreak
- , Str "bibendum"
- , Space
- , Str "felis"
- , Space
- , Str "dictum"
- , Space
- , Str "sodales."
+ ( "" , [ "cell" , "markdown" ] , [] )
+ [ Header
+ 1
+ ( "lorem-ipsum" , [] , [] )
+ [ Str "Lorem" , Space , Str "ipsum" ]
+ , Para
+ [ Strong [ Str "Lorem" , Space , Str "ipsum" ]
+ , Space
+ , Str "dolor"
+ , Space
+ , Str "sit"
+ , Space
+ , Str "amet,"
+ , Space
+ , Str "consectetur"
+ , Space
+ , Str "adipiscing"
+ , Space
+ , Str "elit."
+ , Space
+ , Str "Nunc"
+ , Space
+ , Str "luctus"
+ , SoftBreak
+ , Str "bibendum"
+ , Space
+ , Str "felis"
+ , Space
+ , Str "dictum"
+ , Space
+ , Str "sodales."
+ ]
]
- ]
, Div
- ( "", [ "cell", "code" ], [] )
- [ CodeBlock ( "", [ "python" ], [] ) "print(\"hello\")" ]
+ ( "" , [ "cell" , "code" ] , [] )
+ [ CodeBlock ( "" , [ "python" ] , [] ) "print(\"hello\")" ]
, Div
- ( "", [ "cell", "markdown" ], [] )
- [ Header 2 ( "pyout", [], [] ) [ Str "Pyout" ] ]
+ ( "" , [ "cell" , "markdown" ] , [] )
+ [ Header 2 ( "pyout" , [] , [] ) [ Str "Pyout" ] ]
, Div
- ( "", [ "cell", "code" ], [ ( "execution_count", "2" ) ] )
- [ CodeBlock
( ""
- , [ "python" ]
- , []
- ) "from IPython.display import HTML\nHTML(\"\"\"\n\nHTML\n\"\"\")"
- , Div
- ( ""
- ,
- [ "output", "execute_result" ]
- ,
- [ ( "execution_count", "2" ) ]
+ , [ "cell" , "code" ]
+ , [ ( "execution_count" , "2" ) ]
)
- [ RawBlock
- ( Format "html" ) "\nHTML\nhello"
+ [ CodeBlock
+ ( "" , [ "python" ] , [] )
+ "from IPython.display import HTML\nHTML(\"\"\"\n\nHTML\n\"\"\")"
+ , Div
+ ( ""
+ , [ "output" , "execute_result" ]
+ , [ ( "execution_count" , "2" ) ]
+ )
+ [ RawBlock
+ (Format "html")
+ "\nHTML\nhello"
+ ]
]
- ]
, Div
- ( "", [ "cell", "markdown" ], [ ( "tags", "[\"foo\",\"bar\"]" ) ] )
- [ Header 2
- ( "image", [], [] )
- [ Str "Image" ]
- , Para
- [ Str "This"
- , Space
- , Str "image"
- , Space
- , Image
- ( "", [], [] )
- [ Str "the", Space, Str "moon" ]
- ( "lalune.jpg", "" )
- , Space
- , Str "will"
- , Space
- , Str "be"
- , Space
- , Str "included"
- , Space
- , Str "as"
- , Space
- , Str "a"
- , Space
- , Str "cell"
- , SoftBreak
- , Str "attachment."
+ ( ""
+ , [ "cell" , "markdown" ]
+ , [ ( "tags" , "[\"foo\",\"bar\"]" ) ]
+ )
+ [ Header 2 ( "image" , [] , [] ) [ Str "Image" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "image"
+ , Space
+ , Image
+ ( "" , [] , [] )
+ [ Str "the" , Space , Str "moon" ]
+ ( "lalune.jpg" , "" )
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "included"
+ , Space
+ , Str "as"
+ , Space
+ , Str "a"
+ , Space
+ , Str "cell"
+ , SoftBreak
+ , Str "attachment."
+ ]
]
- ]
]
diff --git a/test/jats-reader.native b/test/jats-reader.native
index b9b1a95ba..02439ce31 100644
--- a/test/jats-reader.native
+++ b/test/jats-reader.native
@@ -1,665 +1,541 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "author"
- , MetaList
- [ MetaInlines
- [ Str "John", Space, Str "MacFarlane" ]
- , MetaInlines
- [ Str "Anonymous" ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ , MetaInlines [ Str "Anonymous" ]
+ ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc"
+ , Space
+ , Str "Test"
+ , Space
+ , Str "Suite"
+ ]
+ )
]
- )
- ,
- ( "title"
- , MetaInlines
- [ Str "Pandoc", Space, Str "Test", Space, Str "Suite" ]
- )
- ]
}
- )
[ 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"
- , Space
- , Str "Gruber's"
- , Space
- , Str "markdown"
- , Space
- , Str "test"
- , Space
- , Str "suite."
- ]
- , Header 1
- ( "headers", [], [] )
- [ Str "Headers" ]
- , Header 2
- ( "level-2-with-an-embedded-link", [], [] )
- [ Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "with"
- , Space
- , Str "an"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "embedded", SoftBreak, Str "link" ]
- ( "/url", "" )
- ]
- , Header 3
- ( "level-3-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "3"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 4
- ( "level-4", [], [] )
- [ Str "Level", Space, Str "4" ]
- , Header 5
- ( "level-5", [], [] )
- [ Str "Level", Space, Str "5" ]
- , Header 1
- ( "level-1", [], [] )
- [ Str "Level", Space, Str "1" ]
- , Header 2
- ( "level-2-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 3
- ( "level-3", [], [] )
- [ Str "Level", Space, Str "3" ]
- , Para
- [ Str "with"
- , Space
- , Str "no"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- ]
- , Header 2
- ( "level-2", [], [] )
- [ Str "Level", Space, Str "2" ]
- , Para
- [ Str "with"
- , Space
- , Str "no"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- ]
- , Header 1
- ( "paragraphs", [], [] )
- [ Str "Paragraphs" ]
- , Para
- [ Str "Here's"
- , Space
- , Str "a"
- , Space
- , Str "regular"
- , Space
- , Str "paragraph."
- ]
- , 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"
- , 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"
- , Space
- , Str "looked"
- , Space
- , Str "like"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item."
- ]
- , Para
- [ Str "Here's"
- , Space
- , Str "one"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "bullet."
- , Space
- , Str "*"
- , Space
- , Str "criminey."
- ]
- , Para
- [ Str "There"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "hard"
- , Space
- , Str "line"
- , Space
- , Str "break"
- , LineBreak
- , Str "here."
- ]
- , Header 1
- ( "block-quotes", [], [] )
- [ Str "Block", Space, Str "Quotes" ]
- , Para
- [ Str "E-mail", Space, Str "style:" ]
- , BlockQuote
- [ Para
[ Str "This"
, Space
, Str "is"
, Space
, Str "a"
, Space
- , Str "block"
+ , Str "set"
, Space
- , Str "quote."
+ , Str "of"
, Space
- , Str "It"
+ , Str "tests"
, Space
- , Str "is"
+ , Str "for"
, Space
- , Str "pretty"
+ , Str "pandoc."
, Space
- , Str "short."
+ , Str "Most"
+ , Space
+ , Str "of"
+ , Space
+ , Str "them"
+ , Space
+ , Str "are"
+ , Space
+ , Str "adapted"
+ , Space
+ , Str "from"
+ , Space
+ , Str "John"
+ , Space
+ , Str "Gruber's"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
]
- ]
- , BlockQuote
- [ Para
- [ Str "Code"
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 2
+ ( "level-2-with-an-embedded-link" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , SoftBreak , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , 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"
+ , 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"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , Space
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ 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."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "item" , Space , Str "one" ] ]
+ , [ Para [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes:"
+ ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , 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."
]
- , CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- , Para
- [ Str "A", Space, Str "list:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "item", Space, Str "one" ] ]
- ,
- [ Para [ Str "item", Space, Str "two" ] ]
+ , Para [ Str "Box-style:" ]
+ , BlockQuote
+ [ Para [ Str "Example:" ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
]
- , Para
- [ Str "Nested", Space, Str "block", Space, Str "quotes:" ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- ]
- , 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."
- ]
- , Para
- [ Str "Box-style:" ]
, BlockQuote
- [ Para
- [ Str "Example:" ]
- , CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- ]
- , BlockQuote
- [ OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "do", Space, Str "laundry" ] ]
- ,
- [ Para
- [ Str "take"
- , Space
- , Str "out"
- , Space
- , Str "the"
- , Space
- , Str "trash"
+ [ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "do" , Space , Str "laundry" ] ]
+ , [ Para
+ [ Str "take"
+ , Space
+ , Str "out"
+ , Space
+ , Str "the"
+ , Space
+ , Str "trash"
+ ]
+ ]
]
- ]
]
- ]
, Para
- [ Str "Here's"
- , Space
- , Str "a"
- , Space
- , Str "nested"
- , Space
- , Str "one:"
- ]
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "one:"
+ ]
, BlockQuote
- [ Para
- [ Str "Joe", Space, Str "said:" ]
- , BlockQuote
- [ Para [ Str "Don't", Space, Str "quote", Space, Str "me." ] ]
- ]
- , Para
- [ Str "And"
- , Space
- , Str "a"
- , Space
- , Str "following"
- , Space
- , Str "paragraph."
- ]
- , Header 1
- ( "code-blocks", [], [] )
- [ Str "Code", Space, Str "Blocks" ]
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
- , Para
- [ Str "And:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
- , Header 1
- ( "lists", [], [] )
- [ Str "Lists" ]
- , Header 2
- ( "unordered", [], [] )
- [ Str "Unordered" ]
- , Para
- [ Str "Asterisks", Space, Str "tight:" ]
- , BulletList
- [
- [ Para [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Asterisks", Space, Str "loose:" ]
- , BulletList
- [
- [ Para [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "tight:" ]
- , BulletList
- [
- [ Para [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "loose:" ]
- , BulletList
- [
- [ Para [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "tight:" ]
- , BulletList
- [
- [ Para [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "loose:" ]
- , BulletList
- [
- [ Para [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "3" ] ]
- ]
- , Header 2
- ( "ordered", [], [] )
- [ Str "Ordered" ]
- , Para
- [ Str "Tight:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para [ Str "Second" ] ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "and:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "One" ] ]
- ,
- [ Para [ Str "Two" ] ]
- ,
- [ Para [ Str "Three" ] ]
- ]
- , Para
- [ Str "Loose", Space, Str "using", Space, Str "tabs:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para [ Str "Second" ] ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "and", Space, Str "using", Space, Str "spaces:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "One" ] ]
- ,
- [ Para [ Str "Two" ] ]
- ,
- [ Para [ Str "Three" ] ]
- ]
- , Para
- [ Str "Multiple", Space, Str "paragraphs:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para
- [ Str "Item"
- , Space
- , Str "1,"
- , Space
- , Str "graf"
- , Space
- , Str "one."
- ]
- , 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"
- , SoftBreak
- , Str "dog's"
- , Space
- , Str "back."
- ]
- ]
- ,
- [ Para [ Str "Item", Space, Str "2." ] ]
- ,
- [ Para [ Str "Item", Space, Str "3." ] ]
- ]
- , Para
- [ Str "List", Space, Str "styles:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim ) []
- , OrderedList
- ( 1, LowerRoman, DefaultDelim ) []
- , Header 2
- ( "nested", [], [] )
- [ Str "Nested" ]
- , BulletList
- [
- [ Para
- [ Str "Tab" ]
- , BulletList
- [
- [ Para [ Str "Tab" ], BulletList [ [ Para [ Str "Tab" ] ] ] ]
- ]
- ]
- ]
- , Para
- [ Str "Here's", Space, Str "another:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Para [ Str "Fee" ] ]
- ,
- [ Para [ Str "Fie" ] ]
- ,
- [ Para [ Str "Foe" ] ]
- ]
- ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "Same"
- , Space
- , Str "thing"
- , Space
- , Str "but"
- , Space
- , Str "with"
- , Space
- , Str "paragraphs:"
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Para [ Str "Fee" ] ]
- ,
- [ Para [ Str "Fie" ] ]
- ,
- [ Para [ Str "Foe" ] ]
- ]
- ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Header 2
- ( "tabs-and-spaces", [], [] )
- [ Str "Tabs", Space, Str "and", Space, Str "spaces" ]
- , BulletList
- [
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "tabs"
- ]
- ]
- ,
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "spaces"
- ]
- , BulletList
- [
+ [ Para [ Str "Joe" , Space , Str "said:" ]
+ , BlockQuote
[ Para
+ [ Str "Don't" , Space , Str "quote" , Space , Str "me." ]
+ ]
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para
+ [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , 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"
+ , SoftBreak
+ , Str "dog's"
+ , Space
+ , Str "back."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Para [ Str "List" , Space , Str "styles:" ]
+ , OrderedList ( 1 , DefaultStyle , DefaultDelim ) []
+ , OrderedList ( 1 , LowerRoman , DefaultDelim ) []
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList [ [ Para [ Str "Tab" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here's" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
+ , BulletList
+ [ [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -671,16 +547,13 @@ Pandoc
, Space
, Str "tabs"
]
- ]
- ,
- [ Para
+ ]
+ , [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -692,877 +565,627 @@ Pandoc
, Space
, Str "spaces"
]
- ]
+ , BulletList
+ [ [ 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"
+ ]
+ ]
+ , [ 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"
+ ]
+ ]
+ ]
]
]
- ]
- , Header 2
- ( "fancy-list-markers", [], [] )
- [ Str "Fancy", Space, Str "list", Space, Str "markers" ]
- , Para
- [ Str "Autonumbering:" ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
+ , Para [ Str "Autonumbering:" ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "Autonumber." ] ]
- ,
- [ Para
- [ Str "More." ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Para [ Str "Nested." ] ] ]
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Autonumber." ] ]
+ , [ Para [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Nested." ] ] ]
+ ]
]
- ]
- , Header 2
- ( "definition", [], [] )
- [ Str "Definition" ]
+ , Header 2 ( "definition" , [] , [] ) [ Str "Definition" ]
, DefinitionList
- [
- (
- [ Str "Violin" ]
- ,
- [
- [ Para
- [ Str "Stringed"
- , Space
- , Str "musical"
- , Space
- , Str "instrument."
- ]
- , Para
- [ Str "Torture", Space, Str "device." ]
- ]
- ]
- )
- ,
- (
- [ Str "Cello", LineBreak, Str "Violoncello" ]
- ,
- [
- [ Para
- [ Str "Low-voiced"
- , Space
- , Str "stringed"
- , Space
- , Str "instrument."
+ [ ( [ Str "Violin" ]
+ , [ [ Para
+ [ Str "Stringed"
+ , Space
+ , Str "musical"
+ , Space
+ , Str "instrument."
+ ]
+ , Para [ Str "Torture" , Space , Str "device." ]
]
]
- ]
- )
- ]
- , Header 1
- ( "inline-markup", [], [] )
- [ Str "Inline", Space, Str "Markup" ]
- , 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 "."
- ]
- , 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 "."
- ]
- , Para
- [ Str "Empty"
- , Space
- , Strong []
- , Space
- , Str "and"
- , Space
- , Emph []
- , Str "."
- ]
- , Para
- [ Str "An"
- , SoftBreak
- , Emph
- [ Link
- ( "", [], [] )
- [ Str "emphasized", SoftBreak, Str "link" ]
- ( "/url", "" )
- ]
- , Str "."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
- ]
- ]
- , Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
- ]
- ]
- , Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "code:"
- , Space
- , Code
- ( "", [], [] ) ">"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ","
- , SoftBreak
- , Code
- ( "", [], [] ) "\\"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\$"
- , Str ","
- , SoftBreak
- , Code
- ( "", [], [] ) ""
- , Str "."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , SmallCaps
- [ Str "small", Space, Str "caps" ]
- , Str "."
- ]
- , Para
- [ Str "These"
- , Space
- , Str "are"
- , Space
- , Str "all"
- , Space
- , Str "underlined:"
- , Space
- , Str "foo"
- , Space
- , Str "and"
- , Space
- , Str "bar."
- ]
- , Para
- [ Str "These"
- , Space
- , Str "are"
- , Space
- , Str "all"
- , Space
- , Str "strikethrough:"
- , Space
- , Strikeout
- [ Str "foo" ]
- , Str ","
- , SoftBreak
- , Strikeout
- [ Str "bar" ]
- , Str ","
- , Space
- , Str "and"
- , Space
- , Strikeout
- [ Str "baz" ]
- , Str "."
- ]
- , Header 1
- ( "smart-quotes-ellipses-dashes", [], [] )
- [ Str "Smart"
- , Space
- , Str "quotes,"
- , Space
- , Str "ellipses,"
- , Space
- , Str "dashes"
- ]
- , Para
- [ Str "\"Hello,\""
- , Space
- , Str "said"
- , Space
- , Str "the"
- , Space
- , Str "spider."
- , Space
- , Str "\"'Shelob'"
- , Space
- , Str "is"
- , Space
- , Str "my"
- , Space
- , Str "name.\""
- ]
- , Para
- [ Str "'A',"
- , Space
- , Str "'B',"
- , Space
- , Str "and"
- , Space
- , Str "'C'"
- , Space
- , Str "are"
- , Space
- , Str "letters."
- ]
- , Para
- [ Str "'Oak,'"
- , Space
- , Str "'elm,'"
- , Space
- , Str "and"
- , Space
- , Str "'beech'"
- , Space
- , Str "are"
- , Space
- , Str "names"
- , Space
- , Str "of"
- , Space
- , Str "trees."
- , Space
- , Str "So"
- , Space
- , Str "is"
- , Space
- , Str "'pine.'"
- ]
- , Para
- [ Str "'He"
- , Space
- , Str "said,"
- , Space
- , 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"
- , Space
- , Str "70's?"
- ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Str "quoted"
- , Space
- , Str "'"
- , Code
- ( "", [], [] ) "code"
- , Str "'"
- , Space
- , Str "and"
- , Space
- , Str "a"
- , SoftBreak
- , Str "\""
- , Link
- ( "", [], [] )
- [ Str "quoted", SoftBreak, Str "link" ]
- ( "http://example.com/?foo=1&bar=2", "" )
- , Str "\"."
- ]
- , Para
- [ Str "Some"
- , Space
- , Str "dashes:"
- , Space
- , Str "one---two"
- , Space
- , Str "---"
- , Space
- , Str "three--four"
- , Space
- , Str "--"
- , Space
- , Str "five."
- ]
- , Para
- [ Str "Dashes"
- , Space
- , Str "between"
- , Space
- , Str "numbers:"
- , Space
- , Str "5-7,"
- , Space
- , Str "255-66,"
- , Space
- , Str "1987-1999."
- ]
- , Para
- [ Str "Ellipses...and."
- , Space
- , Str "."
- , Space
- , Str ".and"
- , Space
- , Str "."
- , Space
- , Str "."
- , Space
- , Str "."
- , Space
- , Str "."
- ]
- , Header 1
- ( "latex", [], [] )
- [ Str "LaTeX" ]
- , BulletList
- [
- [ Para [ Str "\\cite[22-23]{smith.1899}" ] ]
- ,
- [ Para [ Str "\\doublespacing" ] ]
- ,
- [ Para [ Str "$2+2=4$" ] ]
- ,
- [ Para [ Str "$x", Space, Str "\\in", Space, Str "y$" ] ]
- ,
- [ Para
- [ Str "$\\alpha", Space, Str "\\wedge", Space, Str "\\omega$" ]
- ]
- ,
- [ Para [ Str "$223$" ] ]
- ,
- [ Para [ Str "$p$-Tree" ] ]
- ,
- [ Para
- [ Str "$\\frac{d}{dx}f(x)=\\lim_{h\\to"
- , Space
- , Str "0}\\frac{f(x+h)-f(x)}{h}$"
- ]
- ]
- ,
- [ Para
- [ Str "Here's"
- , Space
- , Str "one"
- , Space
- , Str "that"
- , Space
- , Str "has"
- , Space
- , Str "a"
- , Space
- , Str "line"
- , Space
- , Str "break"
- , Space
- , Str "in"
- , Space
- , Str "it:"
- , Space
- , Str "$\\alpha"
- , Space
- , Str "+"
- , Space
- , Str "\\omega"
- , Space
- , Str "\\times"
- , SoftBreak
- , Str "x^2$."
- ]
- ]
- ]
- , Para
- [ Str "These"
- , Space
- , Str "shouldn't"
- , Space
- , Str "be"
- , Space
- , Str "math:"
- ]
- , BulletList
- [
- [ Para
- [ Str "To"
- , Space
- , Str "get"
- , Space
- , Str "the"
- , Space
- , Str "famous"
- , Space
- , Str "equation,"
- , Space
- , Str "write"
- , SoftBreak
- , Code
- ( "", [], [] ) "$e = mc^2$"
- , Str "."
- ]
- ]
- ,
- [ 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"
- , SoftBreak
- , Str "worked"
- , Space
- , Str "if"
- , Space
- , Str "\"lot\""
- , Space
- , Str "is"
- , Space
- , Str "emphasized.)"
- ]
- ]
- ,
- [ Para
- [ Str "Escaped"
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ":"
- , Space
- , Str "$73"
- , Space
- , Emph
- [ Str "this"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , SoftBreak
- , Str "emphasized"
+ )
+ , ( [ Str "Cello" , LineBreak , Str "Violoncello" ]
+ , [ [ Para
+ [ Str "Low-voiced"
+ , Space
+ , Str "stringed"
+ , Space
+ , Str "instrument."
+ ]
+ ]
]
- , Space
- , Str "23$."
- ]
+ )
]
- ]
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
, Para
- [ Str "Here's"
- , Space
- , Str "a"
- , Space
- , Str "LaTeX"
- , Space
- , Str "table:"
- ]
- , Para
- [ Str "\\begin{tabular}{|l|l|}\\hline"
- , Space
- , Str "Animal"
- , Space
- , Str "&"
- , Space
- , Str "Number"
- , Space
- , Str "\\\\"
- , Space
- , Str "\\hline"
- , Space
- , Str "Dog"
- , Space
- , Str "&"
- , SoftBreak
- , Str "2"
- , Space
- , Str "\\\\"
- , Space
- , Str "Cat"
- , Space
- , Str "&"
- , Space
- , Str "1"
- , Space
- , Str "\\\\"
- , Space
- , Str "\\hline"
- , Space
- , Str "\\end{tabular}"
- ]
- , Header 1
- ( "special-characters", [], [] )
- [ Str "Special", Space, Str "Characters" ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Str "unicode:"
- ]
- , BulletList
- [
- [ Para [ Str "I", Space, Str "hat:", Space, Str "\206" ] ]
- ,
- [ Para [ Str "o", Space, Str "umlaut:", Space, Str "\246" ] ]
- ,
- [ Para [ Str "section:", Space, Str "\167" ] ]
- ,
- [ Para
- [ Str "set", Space, Str "membership:", Space, Str "elem" ]
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , SoftBreak , Str "this" ]
+ , Str "."
]
- ,
- [ Para [ Str "copyright:", Space, Str "\169" ] ]
- ]
, Para
- [ Str "AT&T"
- , Space
- , Str "has"
- , Space
- , Str "an"
- , Space
- , Str "ampersand"
- , Space
- , Str "in"
- , Space
- , Str "their"
- , Space
- , Str "name."
- ]
- , Para
- [ Str "AT&T"
- , Space
- , Str "is"
- , Space
- , Str "another"
- , Space
- , Str "way"
- , Space
- , Str "to"
- , Space
- , Str "write"
- , Space
- , Str "it."
- ]
- , Para
- [ Str "This", Space, Str "&", Space, Str "that." ]
- , Para
- [ Str "4", Space, Str "<", Space, Str "5." ]
- , Para
- [ Str "6", Space, Str ">", Space, Str "5." ]
- , Para
- [ Str "Backslash:", Space, Str "\\" ]
- , Para
- [ Str "Backtick:", Space, Str "`" ]
- , Para
- [ Str "Asterisk:", Space, Str "*" ]
- , Para
- [ Str "Underscore:", Space, Str "_" ]
- , Para
- [ Str "Left", Space, Str "brace:", Space, Str "{" ]
- , Para
- [ Str "Right", Space, Str "brace:", Space, Str "}" ]
- , Para
- [ Str "Left", Space, Str "bracket:", Space, Str "[" ]
- , Para
- [ Str "Right", Space, Str "bracket:", Space, Str "]" ]
- , Para
- [ Str "Left", Space, Str "paren:", Space, Str "(" ]
- , Para
- [ Str "Right", Space, Str "paren:", Space, Str ")" ]
- , Para
- [ Str "Greater-than:", Space, Str ">" ]
- , Para
- [ Str "Hash:", Space, Str "#" ]
- , Para
- [ Str "Period:", Space, Str "." ]
- , Para
- [ Str "Bang:", Space, Str "!" ]
- , Para
- [ Str "Plus:", Space, Str "+" ]
- , Para
- [ Str "Minus:", Space, Str "-" ]
- , Header 1
- ( "links", [], [] )
- [ Str "Links" ]
- , Header 2
- ( "explicit", [], [] )
- [ Str "Explicit" ]
- , Para
- [ Str "Just"
- , Space
- , Str "a"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "URL" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", SoftBreak, Str "and", Space, Str "title" ]
- ( "/url/", "title" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", SoftBreak, Str "and", Space, Str "title" ]
- ( "/url/", "title preceded by two spaces" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", SoftBreak, Str "and", Space, Str "title" ]
- ( "/url/", "title preceded by a tab" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", SoftBreak, Str "and", Space, Str "title" ]
- ( "/url/", "title with \"quotes\" in it" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", SoftBreak, Str "and", Space, Str "title" ]
- ( "/url/", "title with single quotes" )
- ]
- , Para
- [ Str "Email"
- , Space
- , Str "link"
- , Space
- , Str "(nobody"
- , Space
- , Str "[at]"
- , Space
- , Str "nowhere.net)"
- ]
- , Para
- [ Link ( "", [], [] ) [ Str "Empty" ] ( "", "" ), Str "." ]
- , Header 2
- ( "reference", [], [] )
- [ Str "Reference" ]
- , Para
- [ Str "Foo"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "With"
- , Space
- , Link
- ( "", [], [] )
- [ Str "embedded", SoftBreak, Str "[brackets]" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "b" ]
- ( "/url/", "" )
- , Space
- , Str "by"
- , SoftBreak
- , Str "itself"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , Para
- [ Str "Indented"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "once" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "twice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "thrice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "[not]"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , CodeBlock
- ( "", [], [] ) "[not]: /url"
- , Para
- [ Str "Foo"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "Title with \"quotes\" inside" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "biz" ]
- ( "/url/", "Title with \"quote\" inside" )
- , Str "."
- ]
- , Header 2
- ( "with-ampersands", [], [] )
- [ Str "With", Space, Str "ampersands" ]
- , Para
- [ Str "Here's"
- , Space
- , Str "a"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "link"
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
, SoftBreak
- , Str "with"
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Empty"
+ , Space
+ , Strong []
+ , Space
+ , Str "and"
+ , Space
+ , Emph []
+ , Str "."
+ ]
+ , Para
+ [ Str "An"
+ , SoftBreak
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , SoftBreak , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , SoftBreak
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , SoftBreak
+ , Code ( "" , [] , [] ) ""
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , SmallCaps [ Str "small" , Space , Str "caps" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "are"
+ , Space
+ , Str "all"
+ , Space
+ , Str "underlined:"
+ , Space
+ , Str "foo"
+ , Space
+ , Str "and"
+ , Space
+ , Str "bar."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "are"
+ , Space
+ , Str "all"
+ , Space
+ , Str "strikethrough:"
+ , Space
+ , Strikeout [ Str "foo" ]
+ , Str ","
+ , SoftBreak
+ , Strikeout [ Str "bar" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Strikeout [ Str "baz" ]
+ , Str "."
+ ]
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , Para
+ [ Str "\"Hello,\""
+ , Space
+ , Str "said"
+ , Space
+ , Str "the"
+ , Space
+ , Str "spider."
+ , Space
+ , Str "\"'Shelob'"
+ , Space
+ , Str "is"
+ , Space
+ , Str "my"
+ , Space
+ , Str "name.\""
+ ]
+ , Para
+ [ Str "'A',"
+ , Space
+ , Str "'B',"
+ , Space
+ , Str "and"
+ , Space
+ , Str "'C'"
+ , Space
+ , Str "are"
+ , Space
+ , Str "letters."
+ ]
+ , Para
+ [ Str "'Oak,'"
+ , Space
+ , Str "'elm,'"
+ , Space
+ , Str "and"
+ , Space
+ , Str "'beech'"
+ , Space
+ , Str "are"
+ , Space
+ , Str "names"
+ , Space
+ , Str "of"
+ , Space
+ , Str "trees."
+ , Space
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Str "'pine.'"
+ ]
+ , Para
+ [ Str "'He"
+ , Space
+ , Str "said,"
+ , Space
+ , 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"
+ , Space
+ , Str "70's?"
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "quoted"
+ , Space
+ , Str "'"
+ , Code ( "" , [] , [] ) "code"
+ , Str "'"
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "\""
+ , Link
+ ( "" , [] , [] )
+ [ Str "quoted" , SoftBreak , Str "link" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ , Str "\"."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one---two"
+ , Space
+ , Str "---"
+ , Space
+ , Str "three--four"
+ , Space
+ , Str "--"
+ , Space
+ , Str "five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5-7,"
+ , Space
+ , Str "255-66,"
+ , Space
+ , Str "1987-1999."
+ ]
+ , Para
+ [ Str "Ellipses...and."
+ , Space
+ , Str "."
+ , Space
+ , Str ".and"
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ , Space
+ , Str "."
+ ]
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ Para [ Str "\\cite[22-23]{smith.1899}" ] ]
+ , [ Para [ Str "\\doublespacing" ] ]
+ , [ Para [ Str "$2+2=4$" ] ]
+ , [ Para
+ [ Str "$x" , Space , Str "\\in" , Space , Str "y$" ]
+ ]
+ , [ Para
+ [ Str "$\\alpha"
+ , Space
+ , Str "\\wedge"
+ , Space
+ , Str "\\omega$"
+ ]
+ ]
+ , [ Para [ Str "$223$" ] ]
+ , [ Para [ Str "$p$-Tree" ] ]
+ , [ Para
+ [ Str "$\\frac{d}{dx}f(x)=\\lim_{h\\to"
+ , Space
+ , Str "0}\\frac{f(x+h)-f(x)}{h}$"
+ ]
+ ]
+ , [ Para
+ [ Str "Here's"
+ , Space
+ , Str "one"
+ , Space
+ , Str "that"
+ , Space
+ , Str "has"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , Space
+ , Str "in"
+ , Space
+ , Str "it:"
+ , Space
+ , Str "$\\alpha"
+ , Space
+ , Str "+"
+ , Space
+ , Str "\\omega"
+ , Space
+ , Str "\\times"
+ , SoftBreak
+ , Str "x^2$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn't"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , SoftBreak
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ 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"
+ , SoftBreak
+ , Str "worked"
+ , Space
+ , Str "if"
+ , Space
+ , Str "\"lot\""
+ , Space
+ , Str "is"
+ , Space
+ , Str "emphasized.)"
+ ]
+ ]
+ , [ Para
+ [ Str "Escaped"
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ":"
+ , Space
+ , Str "$73"
+ , Space
+ , Emph
+ [ Str "this"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , SoftBreak
+ , Str "emphasized"
+ ]
+ , Space
+ , Str "23$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , Para
+ [ Str "\\begin{tabular}{|l|l|}\\hline"
+ , Space
+ , Str "Animal"
+ , Space
+ , Str "&"
+ , Space
+ , Str "Number"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "\\hline"
+ , Space
+ , Str "Dog"
+ , Space
+ , Str "&"
+ , SoftBreak
+ , Str "2"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "Cat"
+ , Space
+ , Str "&"
+ , Space
+ , Str "1"
+ , Space
+ , Str "\\\\"
+ , Space
+ , Str "\\hline"
+ , Space
+ , Str "\\end{tabular}"
+ ]
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Para
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Para [ Str "section:" , Space , Str "\167" ] ]
+ , [ Para
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "elem"
+ ]
+ ]
+ , [ Para [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
, Space
, Str "an"
, Space
@@ -1570,1324 +1193,1618 @@ Pandoc
, Space
, Str "in"
, Space
- , Str "the"
+ , Str "their"
, Space
- , Str "URL"
+ , Str "name."
]
- ( "http://example.com/?foo=1&bar=2", "" )
- , Str "."
- ]
, Para
- [ Str "Here's"
- , 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/", "AT&T" )
- , Str "."
- ]
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
, Para
- [ Str "Here's"
- , Space
- , Str "an"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "inline", SoftBreak, Str "link" ]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
, Para
- [ Str "Here's"
- , Space
- , Str "an"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "inline"
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
, SoftBreak
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by two spaces" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by a tab" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with \"quotes\" in it" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , SoftBreak , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with single quotes" )
+ ]
+ , Para
+ [ Str "Email"
+ , Space
, Str "link"
, Space
+ , Str "(nobody"
+ , Space
+ , Str "[at]"
+ , Space
+ , Str "nowhere.net)"
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , SoftBreak , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , SoftBreak
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , SoftBreak
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "bar" ]
+ ( "/url/" , "Title with \"quotes\" inside" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "biz" ]
+ ( "/url/" , "Title with \"quote\" inside" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "link"
+ , SoftBreak
+ , 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 "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
, Str "in"
, Space
- , Str "pointy"
+ , Str "the"
, Space
- , Str "braces"
- ]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
- , Header 2
- ( "autolinks", [], [] )
- [ Str "Autolinks" ]
- , 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", "" )
- ]
- , BulletList
- [
- [ Para [ Str "In", Space, Str "a", Space, Str "list?" ] ]
- ,
- [ Para
- [ Link
- ( "", [], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
- ]
- ]
- ,
- [ Para [ Str "It", Space, Str "should." ] ]
- ]
- , Para
- [ Str "An"
- , Space
- , Str "e-mail"
- , Space
- , Str "address:"
- , Space
- , Str "nobody"
- , Space
- , Str "[at]"
- , Space
- , Str "nowhere.net"
- ]
- , BlockQuote
- [ Para
- [ Str "Blockquoted:"
+ , Str "link"
+ , Space
+ , Str "text:"
, SoftBreak
, Link
- ( "", [], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
+ ( "" , [] , [] )
+ [ Str "AT&T" ]
+ ( "http://att.com/" , "AT&T" )
+ , Str "."
]
- ]
, Para
- [ Str "Auto-links"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "occur"
- , Space
- , Str "here:"
- , SoftBreak
- , Code
- ( "", [], [] ) " "
- ]
+ [ Str "Here's"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , SoftBreak , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "an"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , SoftBreak
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , 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" , "" )
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Para [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Str "nobody"
+ , Space
+ , Str "[at]"
+ , Space
+ , Str "nowhere.net"
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , SoftBreak
+ , Code ( "" , [] , [] ) " "
+ ]
, CodeBlock
- ( "", [], [] ) "or here: "
- , Header 1
- ( "images", [], [] )
- [ Str "Images" ]
+ ( "" , [] , [] ) "or here: "
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
, Para
- [ Str "From"
- , Space
- , Str "\"Voyage"
- , Space
- , Str "dans"
- , Space
- , Str "la"
- , Space
- , Str "Lune\""
- , Space
- , Str "by"
- , Space
- , Str "Georges"
- , Space
- , Str "Melies"
- , Space
- , Str "(1902):"
- ]
+ [ Str "From"
+ , Space
+ , Str "\"Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune\""
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
, Para
- [ Image ( "", [], [] ) [] ( "lalune.jpg", "Voyage dans la Lune" ) ]
+ [ Image
+ ( "" , [] , [] ) [] ( "lalune.jpg" , "Voyage dans la Lune" )
+ ]
, Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "movie"
- , SoftBreak
- , Image
- ( "", [], [] ) []
- ( "movie.jpg", "" )
- , SoftBreak
- , Str "icon."
- ]
- , Header 1
- ( "footnotes", [], [] )
- [ Str "Footnotes" ]
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , SoftBreak
+ , Image ( "" , [] , [] ) [] ( "movie.jpg" , "" )
+ , SoftBreak
+ , Str "icon."
+ ]
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
, Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "footnote"
- , Space
- , Str "reference"
- , Link
- ( "", [], [] )
- [ Str "(1)" ]
- ( "#note_1", "" )
- , Str ","
- , SoftBreak
- , Str "and"
- , SoftBreak
- , Str "another"
- , Link
- ( "", [], [] )
- [ Str "(longnote)" ]
- ( "#note_longnote", "" )
- , Str "."
- , 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"
- , SoftBreak
- , Str "contains"
- , Space
- , Str "a"
- , Space
- , Str "space^(my"
- , Space
- , Str "note)."
- ]
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "reference"
+ , Link ( "" , [] , [] ) [ Str "(1)" ] ( "#note_1" , "" )
+ , Str ","
+ , SoftBreak
+ , Str "and"
+ , SoftBreak
+ , Str "another"
+ , Link
+ ( "" , [] , [] )
+ [ Str "(longnote)" ]
+ ( "#note_longnote" , "" )
+ , Str "."
+ , 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"
+ , SoftBreak
+ , Str "contains"
+ , Space
+ , Str "a"
+ , Space
+ , Str "space^(my"
+ , Space
+ , Str "note)."
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "(1)" ]
- ( "#ref_1", "" )
- , Space
- , Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "the"
- , Space
- , Str "footnote."
- , Space
- , Str "It"
- , Space
- , Str "can"
- , SoftBreak
- , Str "go"
- , Space
- , Str "anywhere"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "document,"
- , Space
- , Str "not"
- , Space
- , Str "just"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "end."
- ]
+ [ Link ( "" , [] , [] ) [ Str "(1)" ] ( "#ref_1" , "" )
+ , Space
+ , Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "footnote."
+ , Space
+ , Str "It"
+ , Space
+ , Str "can"
+ , SoftBreak
+ , Str "go"
+ , Space
+ , Str "anywhere"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "document,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "just"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end."
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "(longnote)" ]
- ( "#ref_longnote", "" )
- , Space
- , Str "Here's"
- , SoftBreak
- , Str "the"
- , Space
- , Str "other"
- , Space
- , Str "note."
- , Space
- , Str "This"
- , Space
- , Str "one"
- , Space
- , Str "contains"
- , Space
- , Str "multiple"
- , Space
- , Str "blocks."
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "(longnote)" ]
+ ( "#ref_longnote" , "" )
+ , Space
+ , Str "Here's"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "other"
+ , Space
+ , Str "note."
+ , Space
+ , Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "contains"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "blocks."
+ ]
, Para
- [ Str "Caret"
- , Space
- , Str "characters"
- , Space
- , Str "are"
- , Space
- , Str "used"
- , Space
- , Str "to"
- , Space
- , Str "indicate"
- , Space
- , Str "that"
- , Space
- , Str "the"
- , Space
- , Str "blocks"
- , Space
- , Str "all"
- , Space
- , Str "belong"
- , Space
- , Str "to"
- , SoftBreak
- , Str "a"
- , Space
- , Str "single"
- , Space
- , Str "footnote"
- , Space
- , Str "(as"
- , Space
- , Str "with"
- , Space
- , Str "block"
- , Space
- , Str "quotes)."
- ]
- , CodeBlock
- ( "", [], [] ) " { }"
+ [ Str "Caret"
+ , Space
+ , Str "characters"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "to"
+ , Space
+ , Str "indicate"
+ , Space
+ , Str "that"
+ , Space
+ , Str "the"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "all"
+ , Space
+ , Str "belong"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "a"
+ , Space
+ , Str "single"
+ , Space
+ , Str "footnote"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "with"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes)."
+ ]
+ , CodeBlock ( "" , [] , [] ) " { }"
, Para
- [ Str "If"
- , Space
- , Str "you"
- , Space
- , Str "want,"
- , Space
- , Str "you"
- , Space
- , Str "can"
- , Space
- , Str "use"
- , Space
- , Str "a"
- , Space
- , Str "caret"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "beginning"
- , Space
- , Str "of"
- , Space
- , Str "every"
- , Space
- , Str "line,"
- , Space
- , Str "as"
- , SoftBreak
- , Str "with"
- , Space
- , Str "blockquotes,"
- , Space
- , Str "but"
- , Space
- , Str "all"
- , Space
- , Str "that"
- , Space
- , Str "you"
- , Space
- , Str "need"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "caret"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "beginning"
- , SoftBreak
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "first"
- , Space
- , Str "line"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "block"
- , Space
- , Str "and"
- , Space
- , Str "any"
- , Space
- , Str "preceding"
- , Space
- , Str "blank"
- , Space
- , Str "lines."
- ]
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want,"
+ , Space
+ , Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Str "a"
+ , Space
+ , Str "caret"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "of"
+ , Space
+ , Str "every"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "as"
+ , SoftBreak
+ , Str "with"
+ , Space
+ , Str "blockquotes,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "all"
+ , Space
+ , Str "that"
+ , Space
+ , Str "you"
+ , Space
+ , Str "need"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "caret"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "beginning"
+ , SoftBreak
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "line"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "block"
+ , Space
+ , Str "and"
+ , Space
+ , Str "any"
+ , Space
+ , Str "preceding"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines."
+ ]
, Para
- [ Str "text", Space, Emph [ Str "Leading", Space, Str "space" ] ]
+ [ Str "text"
+ , Space
+ , Emph [ Str "Leading" , Space , Str "space" ]
+ ]
, Para
- [ Emph [ Str "Trailing", Space, Str "space" ], Space, Str "text" ]
+ [ Emph [ Str "Trailing" , Space , Str "space" ]
+ , Space
+ , Str "text"
+ ]
, Para
- [ Str "text", Space, Emph [ Str "Leading", Space, Str "spaces" ] ]
+ [ Str "text"
+ , Space
+ , Emph [ Str "Leading" , Space , Str "spaces" ]
+ ]
, Para
- [ Emph [ Str "Trailing", Space, Str "spaces" ], Space, Str "text" ]
- , Header 1
- ( "tables", [], [] )
- [ Str "Tables" ]
- , Header 2
- ( "tables-with-headers", [], [] )
- [ Str "Tables", Space, Str "with", Space, Str "Headers" ]
+ [ Emph [ Str "Trailing" , Space , Str "spaces" ]
+ , Space
+ , Str "text"
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ]
+ , Header
+ 2
+ ( "tables-with-headers" , [] , [] )
+ [ Str "Tables"
+ , Space
+ , Str "with"
+ , Space
+ , Str "Headers"
+ ]
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "X" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Y" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Z" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Z" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "tables-without-headers" , [] , [] )
+ [ Str "Tables"
+ , Space
+ , Str "without"
+ , Space
+ , Str "Headers"
]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 2
- ( "tables-without-headers", [], [] )
- [ Str "Tables", Space, Str "without", Space, Str "Headers" ]
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 2
- ( "empty-tables", [], [] )
- [ Str "Empty", Space, Str "Tables" ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "empty-tables" , [] , [] )
+ [ Str "Empty" , Space , Str "Tables" ]
, Para
- [ Str "This"
- , Space
- , Str "section"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "empty."
- ]
+ [ Str "This"
+ , Space
+ , Str "section"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "empty."
+ ]
]
diff --git a/test/jira-reader.native b/test/jira-reader.native
index 7de455cbe..5cb00a929 100644
--- a/test/jira-reader.native
+++ b/test/jira-reader.native
@@ -1,887 +1,844 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
- [ Header 1
- ( "", [], [] )
- [ Span ( "headers", [], [] ) [], Str "Headers" ]
- , Header 2
- ( "", [], [] )
- [ Span
- ( "level-2-with-an-embedded-link", [], [] ) []
- , Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "with"
- , Space
- , Str "an"
- , Space
- , Link
- ( "", [], [] )
- [ Str "embedded", Space, Str "link" ]
- ( "https://test.example/url", "" )
- ]
- , Header 3
- ( "", [], [] )
- [ Span
- ( "level-3-with-emphasis", [], [] ) []
- , Str "Level"
- , Space
- , Str "3"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 4
- ( "", [], [] )
- [ Str "Level", Space, Str "4" ]
- , Header 5
- ( "", [], [] )
- [ Str "Level", Space, Str "5" ]
- , Header 6
- ( "", [], [] )
- [ Str "Level", Space, Str "6" ]
+ Meta { unMeta = fromList [] }
+ [ Header
+ 1
+ ( "" , [] , [] )
+ [ Span ( "headers" , [] , [] ) [] , Str "Headers" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "level-2-with-an-embedded-link" , [] , [] ) []
+ , Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "link" ]
+ ( "https://test.example/url" , "" )
+ ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Span ( "level-3-with-emphasis" , [] , [] ) []
+ , Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 6 ( "" , [] , [] ) [ Str "Level" , Space , Str "6" ]
, Para
- [ Str "h0."
- , Space
- , Str "this"
- , Space
- , Str "is"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "header."
- ]
- , HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Paragraphs" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "regular"
- , Space
- , Str "paragraph."
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "one"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "bullet."
- , Space
- , Str "*"
- , Space
- , Str "criminey."
- ]
- , Para
- [ Str "There"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "hard"
- , Space
- , Str "line"
- , Space
- , Str "break"
- , LineBreak
- , Str "here."
- ]
- , HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Block", Space, Str "Quotes" ]
- , Para
- [ Str "E-mail", Space, Str "style:" ]
- , BlockQuote
- [ Para
- [ Str "This"
+ [ Str "h0."
+ , Space
+ , Str "this"
, Space
, Str "is"
, Space
+ , Str "not"
+ , Space
, Str "a"
, Space
- , Str "block"
- , Space
- , Str "quote."
- , Space
- , Str "It"
- , Space
- , Str "is"
- , Space
- , Str "pretty"
- , Space
- , Str "short."
+ , Str "header."
]
- ]
+ , HorizontalRule
+ , Header 1 ( "" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , Space
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , HorizontalRule
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
, BlockQuote
- [ Para
- [ Str "Code"
+ [ 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."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [ "java" ] , [] )
+ "sub status {\n print \"working\";\n}\n"
+ , Para [ Str "An" , Space , Str "enumeration:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "item" , Space , Str "one" ] ]
+ , [ Para [ Str "item" , Space , Str "two" ] ]
+ ]
+ ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , HorizontalRule
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [ "java" ] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [ "java" ] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{\n"
+ , HorizontalRule
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Span ( "lists" , [] , [] ) [] , Str "Lists" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Span ( "unordered" , [] , [] ) [] , Str "Unordered" ]
+ , Para [ Str "Asterisks:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Ordered" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Linebreak"
, Space
, Str "in"
, Space
- , Str "a"
- , Space
- , Str "block"
- , Space
- , Str "quote:"
+ , Str "paragraph:"
]
- , CodeBlock
- ( "", [ "java" ], [] ) "sub status {\n print \"working\";\n}\n"
- , Para
- [ Str "An", Space, Str "enumeration:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "item", Space, Str "one" ] ]
- ,
- [ Para [ Str "item", Space, Str "two" ] ]
- ]
- ]
- , Para
- [ Str "A", Space, Str "following", Space, Str "paragraph." ]
- , HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Code", Space, Str "Blocks" ]
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( ""
- , [ "java" ]
- , []
- ) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n"
- , Para
- [ Str "And:" ]
- , CodeBlock
- ( ""
- , [ "java" ]
- , []
- ) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{\n"
- , HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Span ( "lists", [], [] ) [], Str "Lists" ]
- , Header 2
- ( "", [], [] )
- [ Span ( "unordered", [], [] ) [], Str "Unordered" ]
- , Para
- [ Str "Asterisks:" ]
- , BulletList
- [
- [ Para [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses:" ]
- , BulletList
- [
- [ Para [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "3" ] ]
- ]
- , Header 2
- ( "", [], [] )
- [ Str "Ordered" ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para [ Str "Second" ] ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "Linebreak", Space, Str "in", Space, Str "paragraph:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para
- [ Str "Item"
- , Space
- , Str "1,"
- , Space
- , Str "line"
- , Space
- , Str "one."
- , LineBreak
- , Str "Item"
- , Space
- , Str "1."
- , Space
- , Str "line"
- , 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"
- , Space
- , Str "back."
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "line"
+ , Space
+ , Str "one."
+ , LineBreak
+ , Str "Item"
+ , Space
+ , Str "1."
+ , Space
+ , Str "line"
+ , 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"
+ , Space
+ , Str "back."
+ ]
]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
]
- ,
- [ Para [ Str "Item", Space, Str "2." ] ]
- ,
- [ Para [ Str "Item", Space, Str "3." ] ]
- ]
- , Header 2
- ( "", [], [] )
- [ Str "Nested" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Nested" ]
, BulletList
- [
- [ Para
- [ Str "Tab" ]
- , BulletList
- [
- [ Para [ Str "Tab" ], BulletList [ [ Para [ Str "Tab" ] ] ] ]
- ]
- ]
- ]
- , Para
- [ Str "Here\8217s", Space, Str "another:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Para [ Str "Fee" ] ]
- ,
- [ Para [ Str "Fie" ] ]
- ,
- [ Para [ Str "Foe" ] ]
- ]
- ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "Nested", Space, Str "enumerations:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para
- [ Str "Essential" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para
- [ Str "Important" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para
- [ Str "Relevant" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Para [ Str "Insignificant" ] ] ]
+ [ [ Para [ Str "Tab" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList [ [ Para [ Str "Tab" ] ] ]
]
]
+ ]
+ ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "Nested" , Space , Str "enumerations:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Essential" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Important" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Relevant" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Insignificant" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Linebreaks"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Markup"
+ , Space
+ , Str "in"
+ , Space
+ , Str "Lists"
+ ]
+ , BulletList
+ [ [ Para
+ [ Strong [ Str "apple" ]
+ , LineBreak
+ , Str "red"
+ , Space
+ , Str "fruit"
+ ]
+ ]
+ , [ Para
+ [ Strong [ Str "orange" ]
+ , LineBreak
+ , Str "orange"
+ , Space
+ , Str "fruit"
+ ]
+ ]
+ , [ Para
+ [ Strong [ Str "banana" ]
+ , LineBreak
+ , Str "yellow"
+ , Space
+ , Str "fruit"
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "with"
+ , Space
+ , Str "italics:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Strong [ Emph [ Str "apple" ] ]
+ , LineBreak
+ , Str "red"
+ , Space
+ , Str "fruit"
+ , LineBreak
+ , Str "contains"
+ , Space
+ , Str "seeds,"
+ , Space
+ , Str "crisp,"
+ , Space
+ , Str "pleasant"
+ , Space
+ , Str "to"
+ , Space
+ , Str "taste"
+ ]
+ ]
+ , [ Para
+ [ Strong [ Emph [ Str "orange" ] ]
+ , LineBreak
+ , Str "orange"
+ , Space
+ , Str "fruit"
+ ]
+ , CodeBlock
+ ( "" , [ "java" ] , [] ) "{ orange code block }\n"
+ , BlockQuote
+ [ Para
+ [ Str "orange"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote"
+ ]
+ ]
+ ]
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Colored"
+ , Space
+ , Str "Text"
+ , Space
+ , Str "Blocks"
+ ]
+ , Div
+ ( "" , [] , [ ( "color" , "red" ) ] )
+ [ Para
+ [ LineBreak
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "red."
]
- ]
]
- ]
- , HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Linebreaks"
- , Space
- , Str "and"
- , Space
- , Str "Markup"
- , Space
- , Str "in"
- , Space
- , Str "Lists"
- ]
- , BulletList
- [
- [ Para
- [ Strong
- [ Str "apple" ]
- , LineBreak
- , Str "red"
- , Space
- , Str "fruit"
- ]
- ]
- ,
- [ Para
- [ Strong
- [ Str "orange" ]
- , LineBreak
- , Str "orange"
- , Space
- , Str "fruit"
- ]
- ]
- ,
- [ Para
- [ Strong
- [ Str "banana" ]
- , LineBreak
- , Str "yellow"
- , Space
- , Str "fruit"
- ]
- ]
- ]
- , Para
- [ Str "Multiple"
- , Space
- , Str "blocks"
- , Space
- , Str "with"
- , Space
- , Str "italics:"
- ]
- , BulletList
- [
- [ Para
- [ Strong
- [ Emph [ Str "apple" ] ]
- , LineBreak
- , Str "red"
- , Space
- , Str "fruit"
- , LineBreak
- , Str "contains"
- , Space
- , Str "seeds,"
- , Space
- , Str "crisp,"
- , Space
- , Str "pleasant"
- , Space
- , Str "to"
- , Space
- , Str "taste"
- ]
- ]
- ,
- [ Para
- [ Strong
- [ Emph [ Str "orange" ] ]
- , LineBreak
- , Str "orange"
- , Space
- , Str "fruit"
- ]
- , CodeBlock
- ( "", [ "java" ], [] ) "{ orange code block }\n"
- , BlockQuote
- [ Para
- [ Str "orange", Space, Str "block", Space, Str "quote" ]
- ]
- ]
- ]
- , HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Colored", Space, Str "Text", Space, Str "Blocks" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Eiffel" , Space , Str "65" ]
, Div
- ( "", [], [ ( "color", "red" ) ] )
- [ Para
- [ LineBreak, Str "This", Space, Str "is", Space, Str "red." ]
- ]
- , Header 2
- ( "", [], [] )
- [ Str "Eiffel", Space, Str "65" ]
- , Div
- ( "", [], [ ( "color", "blue" ) ] )
- [ Para [ LineBreak, Str "da", Space, Str "ba", Space, Str "dee" ] ]
+ ( "" , [] , [ ( "color" , "blue" ) ] )
+ [ Para
+ [ LineBreak
+ , Str "da"
+ , Space
+ , Str "ba"
+ , Space
+ , Str "dee"
+ ]
+ ]
, HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Inline", Space, Str "Markup" ]
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Inline" , Space , Str "Markup" ]
, 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 "."
- ]
- , 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 "."
- ]
- , Para
- [ Str "An"
- , Space
- , Emph
- [ Link
- ( "", [], [] )
- [ Str "emphasized", Space, Str "link" ]
- ( "https://my.example/url", "" )
- ]
- , Str "."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
- ]
- ]
- , Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "code:"
- , Space
- , Code
- ( "", [], [] ) ">"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) ""
- , Str "."
- ]
- , Para
- [ Strikeout
[ Str "This"
, Space
, Str "is"
, Space
- , Emph
- [ Str "strikeout" ]
+ , Emph [ Str "emphasized" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Emph [ Str "is" , Space , Str "this" ]
, Str "."
]
- ]
, Para
- [ Str "Superscripts:"
- , Space
- , Str "a"
- , Superscript
- [ Str "bc" ]
- , Str "d"
- , Space
- , Str "a"
- , Superscript
- [ Emph [ Str "hello" ] ]
- , Space
- , Str "a"
- , Superscript
- [ Str "hello\160there" ]
- , Str "."
- ]
- , Para
- [ Str "Subscripts:"
- , Space
- , Str "H"
- , Subscript
- [ Str "2" ]
- , Str "O,"
- , Space
- , Str "C"
- , Subscript
- [ Str "6" ]
- , Str "H"
- , Subscript
- [ Str "12" ]
- , Str "O"
- , Subscript
- [ Str "6" ]
- , Str ","
- , Space
- , Str "C"
- , Subscript
- [ Str "\160n\160" ]
- , Str "H"
- , Subscript
- [ Emph [ Str "2n" ] ]
- , Str "O"
- , Subscript
- [ Str "n" ]
- , Str "."
- ]
- , 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 "markers"
- , Space
- , Str "used"
- , Space
- , Str "within"
- , Space
- , Str "words:"
- , Space
- , Str "a^b"
- , Space
- , Str "c^d,"
- , Space
- , Str "a~b"
- , Space
- , Str "c~d."
- ]
- , HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Dashes,", Space, Str "and", Space, Str "emoticons" ]
- , Para
- [ Str "Some"
- , Space
- , Str "dashes:"
- , Space
- , Str "one"
- , Space
- , Str "\8211"
- , Space
- , Str "two"
- , Space
- , Str "\8212"
- , Space
- , Str "three."
- ]
- , Para
- [ Str "Sure"
- , Space
- , Str "\10004"
- , LineBreak
- , Str "Nope"
- , Space
- , Str "\10060"
- ]
- , Para
- [ Str "Nice", Space, Str "\128515" ]
- , Para
- [ Str "Capital", Space, Str "d:D" ]
- , HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Math" ]
- , BulletList
- [
- [ Para [ Str "2\8197+\8197\&2\8196=\8196\&4" ] ]
- ,
- [ Para
- [ Emph [ Str "x" ], Str "\8196\8712\8196", Emph [ Str "y" ] ]
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "so"
+ , Space
+ , Strong [ Str "is" , Space , Str "this" ]
+ , Str "."
]
- ,
- [ Para
- [ Emph
- [ Str "\945" ]
- , Str "\8197\8743\8197"
- , Emph
- [ Str "\969" ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "https://my.example/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) ""
+ , Str "."
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "strikeout" ]
+ , Str "."
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , Space
+ , Str "a"
+ , Superscript [ Emph [ Str "hello" ] ]
+ , Space
+ , Str "a"
+ , Superscript [ Str "hello\160there" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Subscripts:"
+ , Space
+ , Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "C"
+ , Subscript [ Str "6" ]
+ , Str "H"
+ , Subscript [ Str "12" ]
+ , Str "O"
+ , Subscript [ Str "6" ]
+ , Str ","
+ , Space
+ , Str "C"
+ , Subscript [ Str "\160n\160" ]
+ , Str "H"
+ , Subscript [ Emph [ Str "2n" ] ]
+ , Str "O"
+ , Subscript [ Str "n" ]
+ , Str "."
+ ]
+ , 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 "markers"
+ , Space
+ , Str "used"
+ , Space
+ , Str "within"
+ , Space
+ , Str "words:"
+ , Space
+ , Str "a^b"
+ , Space
+ , Str "c^d,"
+ , Space
+ , Str "a~b"
+ , Space
+ , Str "c~d."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Dashes,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "emoticons"
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one"
+ , Space
+ , Str "\8211"
+ , Space
+ , Str "two"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "three."
+ ]
+ , Para
+ [ Str "Sure"
+ , Space
+ , Str "\10004"
+ , LineBreak
+ , Str "Nope"
+ , Space
+ , Str "\10060"
+ ]
+ , Para [ Str "Nice" , Space , Str "\128515" ]
+ , Para [ Str "Capital" , Space , Str "d:D" ]
+ , HorizontalRule
+ , Header 1 ( "" , [] , [] ) [ Str "Math" ]
+ , BulletList
+ [ [ Para [ Str "2\8197+\8197\&2\8196=\8196\&4" ] ]
+ , [ Para
+ [ Emph [ Str "x" ]
+ , Str "\8196\8712\8196"
+ , Emph [ Str "y" ]
+ ]
+ ]
+ , [ Para
+ [ Emph [ Str "\945" ]
+ , Str "\8197\8743\8197"
+ , Emph [ Str "\969" ]
+ ]
+ ]
+ , [ Para [ Emph [ Str "p" ] , Str "-Tree" ] ]
+ , [ Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "more:"
+ , Space
+ , Emph [ Str "\945" ]
+ , Str "\8197+\8197"
+ , Emph [ Str "\969" ]
+ , Str "\8197\215\8197"
+ , Emph [ Str "x" ]
+ , Superscript [ Str "2" ]
+ , Str "."
+ ]
]
]
- ,
- [ Para [ Emph [ Str "p" ], Str "-Tree" ] ]
- ,
- [ Para
- [ Str "Here\8217s"
- , Space
- , Str "one"
- , Space
- , Str "more:"
- , Space
- , Emph
- [ Str "\945" ]
- , Str "\8197+\8197"
- , Emph
- [ Str "\969" ]
- , Str "\8197\215\8197"
- , Emph
- [ Str "x" ]
- , Superscript
- [ Str "2" ]
- , Str "."
- ]
- ]
- ]
, HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Special", Space, Str "Characters" ]
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
, Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Str "unicode:"
- ]
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
, BulletList
- [
- [ Para [ Str "I", Space, Str "hat:", Space, Str "\206" ] ]
- ,
- [ Para [ Str "o", Space, Str "umlaut:", Space, Str "\246" ] ]
- ,
- [ Para [ Str "section:", Space, Str "\167" ] ]
- ,
- [ Para
- [ Str "set", Space, Str "membership:", Space, Str "\8712" ]
+ [ [ Para
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Para
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Para [ Str "section:" , Space , Str "\167" ] ]
+ , [ Para
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "\8712"
+ ]
+ ]
+ , [ Para [ Str "copyright:" , Space , Str "\169" ] ]
]
- ,
- [ Para [ Str "copyright:", Space, Str "\169" ] ]
- ]
, Para
- [ Str "AT&T"
- , Space
- , Str "has"
- , Space
- , Str "an"
- , Space
- , Str "ampersand"
- , Space
- , Str "in"
- , Space
- , Str "their"
- , Space
- , Str "name."
- ]
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
, Para
- [ Str "AT&T"
- , Space
- , Str "is"
- , Space
- , Str "another"
- , Space
- , Str "way"
- , Space
- , Str "to"
- , Space
- , Str "write"
- , Space
- , Str "it."
- ]
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
, Para
- [ Str "This", Space, Str "&", Space, Str "that." ]
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
, Para
- [ Str "4", Space, Str "<", Space, Str "5." ]
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
, Para
- [ Str "6", Space, Str ">", Space, Str "5." ]
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
, Para
- [ Str "Backslash:", Space, Str "\\" ]
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
, Para
- [ Str "Backtick:", Space, Str "`" ]
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
, Para
- [ Str "Asterisk:", Space, Str "*" ]
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
, Para
- [ Str "Underscore:", Space, Str "_" ]
- , Para
- [ Str "Left", Space, Str "brace:", Space, Str "{" ]
- , Para
- [ Str "Right", Space, Str "brace:", Space, Str "}" ]
- , Para
- [ Str "Left", Space, Str "bracket:", Space, Str "[" ]
- , Para
- [ Str "Right", Space, Str "bracket:", Space, Str "]" ]
- , Para
- [ Str "Left", Space, Str "paren:", Space, Str "(" ]
- , Para
- [ Str "Right", Space, Str "paren:", Space, Str ")" ]
- , Para
- [ Str "Greater-than:", Space, Str ">" ]
- , Para
- [ Str "Hash:", Space, Str "#" ]
- , Para
- [ Str "Period:", Space, Str "." ]
- , Para
- [ Str "Bang:", Space, Str "!" ]
- , Para
- [ Str "Plus:", Space, Str "+" ]
- , Para
- [ Str "Minus:", Space, Str "-" ]
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
, HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Links" ]
- , Header 2
- ( "", [], [] )
- [ Str "Explicit" ]
+ , Header 1 ( "" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Explicit" ]
, Para
- [ Str "Just"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "URL" ]
- ( "https://example.org/url", "" )
- , Str "."
- ]
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "URL" ]
+ ( "https://example.org/url" , "" )
+ , Str "."
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "File", Space, Str "URL" ]
- ( "file://some/file/name/", "" )
- , Str "."
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "File" , Space , Str "URL" ]
+ ( "file://some/file/name/" , "" )
+ , Str "."
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "IRC", Space, Str "link" ]
- ( "irc://example.org/pandoc", "" )
- , Str "."
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "IRC" , Space , Str "link" ]
+ ( "irc://example.org/pandoc" , "" )
+ , Str "."
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "Email", Space, Str "link" ]
- ( "mailto:nobody@nowhere.invalid", "" )
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.invalid" , "" )
+ ]
, Para
- [ Str "[Not"
- , Space
- , Str "a"
- , Space
- , Str "link|not"
- , Space
- , Str "a"
- , Space
- , Str "URL]."
- ]
- , Header 2
- ( "", [], [] )
- [ Str "Reference" ]
+ [ Str "[Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link|not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "URL]."
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Reference" ]
, Para
- [ Str "With"
- , Space
- , Link
- ( "", [], [] )
- [ Str "embedded", Space, Str "[brackets]" ]
- ( "https://example.net/url/", "" )
- , Str "."
- ]
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "https://example.net/url/" , "" )
+ , Str "."
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "https://pandoc.org" ]
- ( "https://pandoc.org", "" )
- , Space
- , Str "by"
- , Space
- , Str "itself"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , Header 2
- ( "", [], [] )
- [ Str "With", Space, Str "ampersands" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "https://pandoc.org" ]
+ ( "https://pandoc.org" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "With" , Space , Str "ampersands" ]
, Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "link"
+ [ 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 "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
, Space
, Str "with"
, Space
@@ -893,132 +850,98 @@ Pandoc
, Space
, Str "the"
, Space
- , Str "URL"
- ]
- ( "http://example.com/?foo=1&bar=2", "" )
- , Str "."
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "link"
- , Space
- , Str "with"
- , Space
- , Str "an"
- , Space
- , Str "ampersand"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "link"
- , Space
- , Str "text:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "AT&T" ]
- ( "http://att.com/", "" )
- , Str "."
- ]
- , Header 2
- ( "", [], [] )
- [ Str "Autolinks" ]
- , 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", "" )
- ]
- , BulletList
- [
- [ Para [ Str "In", Space, Str "a", Space, Str "list?" ] ]
- ,
- [ Para
- [ Link
- ( "", [], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
- ]
- ]
- ,
- [ Para [ Str "It", Space, Str "should." ] ]
- ]
- , Para
- [ Str "An"
- , Space
- , Str "e-mail"
- , Space
- , Str "address:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "mailto:nobody@nowhere.invalid" ]
- ( "mailto:nobody@nowhere.invalid", "" )
- ]
- , BlockQuote
- [ Para
- [ Str "Blockquoted:"
+ , Str "link"
+ , Space
+ , Str "text:"
, Space
, Link
- ( "", [], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
+ ( "" , [] , [] ) [ Str "AT&T" ] ( "http://att.com/" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Autolinks" ]
+ , 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" , "" )
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Para [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:nobody@nowhere.invalid" ]
+ ( "mailto:nobody@nowhere.invalid" , "" )
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
]
- ]
, CodeBlock
- ( ""
- , [ "java" ]
- , []
- ) "Autolink should not occur here: \n"
+ ( "" , [ "java" ] , [] )
+ "Autolink should not occur here: \n"
, HorizontalRule
- , Header 1
- ( "", [], [] )
- [ Str "Images" ]
+ , Header 1 ( "" , [] , [] ) [ Str "Images" ]
, Para
- [ Str "From"
- , Space
- , Str "\"Voyage"
- , Space
- , Str "dans"
- , Space
- , Str "la"
- , Space
- , Str "Lune\""
- , Space
- , Str "by"
- , Space
- , Str "Georges"
- , Space
- , Str "Melies"
- , Space
- , Str "(1902):"
- ]
+ [ Str "From"
+ , Space
+ , Str "\"Voyage"
+ , Space
+ , Str "dans"
+ , Space
+ , Str "la"
+ , Space
+ , Str "Lune\""
+ , Space
+ , Str "by"
+ , Space
+ , Str "Georges"
+ , Space
+ , Str "Melies"
+ , Space
+ , Str "(1902):"
+ ]
+ , Para [ Image ( "" , [] , [] ) [] ( "lalune.jpg" , "" ) ]
, Para
- [ Image ( "", [], [] ) [] ( "lalune.jpg", "" ) ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "movie"
- , Space
- , Image
- ( "", [], [] ) []
- ( "movie.jpg", "" )
- , Space
- , Str "icon."
- ]
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
]
diff --git a/test/latex-reader.native b/test/latex-reader.native
index 82ef0506e..2be447c0d 100644
--- a/test/latex-reader.native
+++ b/test/latex-reader.native
@@ -1,682 +1,558 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "author"
- , MetaList
- [ MetaInlines
- [ Str "John", Space, Str "MacFarlane" ]
- , MetaInlines
- [ Str "Anonymous" ]
+ 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"
+ ]
+ )
]
- )
- ,
- ( "date"
- , MetaInlines
- [ Str "July", Space, Str "17,", Space, Str "2006" ]
- )
- ,
- ( "title"
- , MetaInlines
- [ Str "Pandoc", Space, Str "Test", Space, Str "Suite" ]
- )
- ]
}
- )
- [ RawBlock
- ( Format "latex" ) "\\maketitle"
+ [ RawBlock (Format "latex") "\\maketitle"
, 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."
- ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "headers", [], [] )
- [ Str "Headers" ]
- , 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", "" )
- ]
- , Header 3
- ( "level-3-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "3"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Para
- [ Str "Level", Space, Str "4" ]
- , Para
- [ Str "Level", Space, Str "5" ]
- , Header 1
- ( "level-1", [], [] )
- [ Str "Level", Space, Str "1" ]
- , Header 2
- ( "level-2-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 3
- ( "level-3", [], [] )
- [ Str "Level", Space, Str "3" ]
- , Para
- [ Str "with"
- , Space
- , Str "no"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- ]
- , Header 2
- ( "level-2", [], [] )
- [ Str "Level", Space, Str "2" ]
- , Para
- [ Str "with"
- , Space
- , Str "no"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "paragraphs", [], [] )
- [ Str "Paragraphs" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "regular"
- , Space
- , Str "paragraph."
- ]
- , 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."
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "one"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "bullet."
- , Space
- , Str "*"
- , Space
- , Str "criminey."
- ]
- , Para
- [ Str "There"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "hard"
- , Space
- , Str "line"
- , Space
- , Str "break"
- , LineBreak
- , Str "here."
- ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "block-quotes", [], [] )
- [ Str "Block", Space, Str "Quotes" ]
- , Para
- [ Str "E-mail", Space, Str "style:" ]
- , BlockQuote
- [ Para
[ Str "This"
, Space
, Str "is"
, Space
, Str "a"
, Space
- , Str "block"
+ , Str "set"
, Space
- , Str "quote."
+ , Str "of"
, Space
- , Str "It"
+ , Str "tests"
, Space
- , Str "is"
+ , Str "for"
, Space
- , Str "pretty"
+ , Str "pandoc."
, Space
- , Str "short."
+ , 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."
]
- ]
- , BlockQuote
- [ Para
- [ Str "Code"
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , 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" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Para [ Str "Level" , Space , Str "4" ]
+ , Para [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , 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."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , Space
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ 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."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "item" , Space , Str "one" ] ]
+ , [ Para [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes:"
+ ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , 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."
]
- , CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- , Para
- [ Str "A", Space, Str "list:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "item", Space, Str "one" ] ]
- ,
- [ Para [ Str "item", Space, Str "two" ] ]
+ , Para [ Str "Box-style:" ]
+ , BlockQuote
+ [ Para [ Str "Example:" ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
]
- , Para
- [ Str "Nested", Space, Str "block", Space, Str "quotes:" ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- ]
- , 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."
- ]
- , Para
- [ Str "Box-style:" ]
, BlockQuote
- [ Para
- [ Str "Example:" ]
- , CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- ]
- , BlockQuote
- [ OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "do", Space, Str "laundry" ] ]
- ,
- [ Para
- [ Str "take"
- , Space
- , Str "out"
- , Space
- , Str "the"
- , Space
- , Str "trash"
+ [ OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "do" , Space , Str "laundry" ] ]
+ , [ Para
+ [ Str "take"
+ , Space
+ , Str "out"
+ , Space
+ , Str "the"
+ , Space
+ , Str "trash"
+ ]
+ ]
]
- ]
]
- ]
, Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "nested"
- , Space
- , Str "one:"
- ]
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "one:"
+ ]
, BlockQuote
- [ Para
- [ Str "Joe", Space, Str "said:" ]
- , BlockQuote
- [ Para [ Str "Don\8217t", Space, Str "quote", Space, Str "me." ] ]
- ]
- , Para
- [ Str "And"
- , Space
- , Str "a"
- , Space
- , Str "following"
- , Space
- , Str "paragraph."
- ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "code-blocks", [], [] )
- [ Str "Code", Space, Str "Blocks" ]
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
- , Para
- [ Str "And:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
- , Para
- [ Str "this"
- , Space
- , Str "has"
- , Space
- , Emph
- [ Str "two", LineBreak, Str "lines" ]
- ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "lists", [], [] )
- [ Str "Lists" ]
- , Header 2
- ( "unordered", [], [] )
- [ Str "Unordered" ]
- , Para
- [ Str "Asterisks", Space, Str "tight:" ]
- , BulletList
- [
- [ Para [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Asterisks", Space, Str "loose:" ]
- , BulletList
- [
- [ Para [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "tight:" ]
- , BulletList
- [
- [ Para [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "loose:" ]
- , BulletList
- [
- [ Para [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "tight:" ]
- , BulletList
- [
- [ Para [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "loose:" ]
- , BulletList
- [
- [ Para [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "3" ] ]
- ]
- , Header 2
- ( "ordered", [], [] )
- [ Str "Ordered" ]
- , Para
- [ Str "Tight:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para [ Str "Second" ] ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "and:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "One" ] ]
- ,
- [ Para [ Str "Two" ] ]
- ,
- [ Para [ Str "Three" ] ]
- ]
- , Para
- [ Str "Loose", Space, Str "using", Space, Str "tabs:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para [ Str "Second" ] ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "and", Space, Str "using", Space, Str "spaces:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "One" ] ]
- ,
- [ Para [ Str "Two" ] ]
- ,
- [ Para [ Str "Three" ] ]
- ]
- , Para
- [ Str "Multiple", Space, Str "paragraphs:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para
- [ Str "Item"
- , Space
- , Str "1,"
- , Space
- , Str "graf"
- , Space
- , Str "one."
- ]
- , 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."
- ]
- ]
- ,
- [ Para [ Str "Item", Space, Str "2." ] ]
- ,
- [ Para [ Str "Item", Space, Str "3." ] ]
- ]
- , Header 2
- ( "nested", [], [] )
- [ Str "Nested" ]
- , BulletList
- [
- [ Para
- [ Str "Tab" ]
- , BulletList
- [
- [ Para [ Str "Tab" ], BulletList [ [ Para [ Str "Tab" ] ] ] ]
- ]
- ]
- ]
- , Para
- [ Str "Here\8217s", Space, Str "another:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Para [ Str "Fee" ] ]
- ,
- [ Para [ Str "Fie" ] ]
- ,
- [ Para [ Str "Foe" ] ]
- ]
- ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "Same"
- , Space
- , Str "thing"
- , Space
- , Str "but"
- , Space
- , Str "with"
- , Space
- , Str "paragraphs:"
- ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Para [ Str "Fee" ] ]
- ,
- [ Para [ Str "Fie" ] ]
- ,
- [ Para [ Str "Foe" ] ]
- ]
- ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Header 2
- ( "tabs-and-spaces", [], [] )
- [ Str "Tabs", Space, Str "and", Space, Str "spaces" ]
- , BulletList
- [
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "tabs"
- ]
- ]
- ,
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "spaces"
- ]
- , BulletList
- [
+ [ Para [ Str "Joe" , Space , Str "said:" ]
+ , BlockQuote
[ Para
+ [ Str "Don\8217t"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "me."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , Para
+ [ Str "this"
+ , Space
+ , Str "has"
+ , Space
+ , Emph [ Str "two" , LineBreak , Str "lines" ]
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para
+ [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , 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."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList [ [ Para [ Str "Tab" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
+ , BulletList
+ [ [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -688,16 +564,13 @@ Pandoc
, Space
, Str "tabs"
]
- ]
- ,
- [ Para
+ ]
+ , [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -709,1811 +582,1710 @@ Pandoc
, Space
, Str "spaces"
]
- ]
- ]
- ]
- ]
- , Header 2
- ( "fancy-list-markers", [], [] )
- [ Str "Fancy", Space, Str "list", Space, Str "markers" ]
- , OrderedList
- ( 2, Decimal, TwoParens )
- [
- [ Para [ Str "begins", Space, Str "with", Space, Str "2" ] ]
- ,
- [ Para
- [ Str "and", Space, Str "now", Space, Str "3" ]
- , Para
- [ Str "with", Space, Str "a", Space, Str "continuation" ]
- , OrderedList
- ( 4, LowerRoman, Period )
- [
- [ Para
- [ Str "sublist"
- , Space
- , Str "with"
- , Space
- , Str "roman"
- , Space
- , Str "numerals,"
- , Space
- , Str "starting"
- , Space
- , Str "with"
- , Space
- , Str "4"
- ]
- ]
- ,
- [ Para
- [ Str "more", Space, Str "items" ]
- , OrderedList
- ( 1, UpperAlpha, TwoParens )
- [
- [ Para [ Str "a", Space, Str "subsublist" ] ]
- ,
- [ Para [ Str "a", Space, Str "subsublist" ] ]
- ]
- ]
- ]
- ]
- ]
- , Para
- [ Str "Nesting:" ]
- , OrderedList
- ( 1, UpperAlpha, Period )
- [
- [ Para
- [ Str "Upper", Space, Str "Alpha" ]
- , OrderedList
- ( 1, UpperRoman, Period )
- [
- [ Para
- [ Str "Upper", Space, Str "Roman." ]
- , OrderedList
- ( 6, Decimal, TwoParens )
- [
- [ Para
- [ Str "Decimal"
- , Space
- , Str "start"
- , Space
- , Str "with"
- , Space
- , Str "6"
- ]
- , OrderedList
- ( 3, LowerAlpha, OneParen )
- [
- [ Para
- [ Str "Lower"
- , Space
- , Str "alpha"
- , Space
- , Str "with"
- , Space
- , Str "paren"
- ]
+ , BulletList
+ [ [ 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"
+ ]
+ ]
+ , [ 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"
]
- ]
]
]
- ]
]
]
- ]
- , Para
- [ Str "Autonumbering:" ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Para [ Str "Autonumber." ] ]
- ,
- [ Para
- [ Str "More." ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Para [ Str "Nested." ] ] ]
+ ( 2 , Decimal , TwoParens )
+ [ [ Para
+ [ Str "begins" , Space , Str "with" , Space , Str "2" ]
+ ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ , OrderedList
+ ( 4 , LowerRoman , Period )
+ [ [ Para
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , Space
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Para [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , TwoParens )
+ [ [ Para [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Para [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Para [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Para [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Para
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Para
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Autonumber." ] ]
+ , [ Para [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Nested." ] ] ]
+ ]
]
- ]
, Para
- [ Str "Should"
- , Space
- , Str "not"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item:"
- ]
+ [ Str "Should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item:"
+ ]
+ , Para [ Str "M.A." , Space , Str "2007" ]
+ , Para [ Str "B." , Space , Str "Williams" ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "definition-lists" , [] , [] )
+ [ Str "Definition" , Space , Str "Lists" ]
, Para
- [ Str "M.A.", Space, Str "2007" ]
- , Para
- [ Str "B.", Space, Str "Williams" ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "definition-lists", [], [] )
- [ Str "Definition", Space, Str "Lists" ]
- , Para
- [ Str "Tight", Space, Str "using", Space, Str "spaces:" ]
+ [ Str "Tight"
+ , Space
+ , Str "using"
+ , Space
+ , Str "spaces:"
+ ]
, DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [ [ Para [ Str "red", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [ [ Para [ Str "orange", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "banana" ]
- ,
- [ [ Para [ Str "yellow", Space, Str "fruit" ] ] ]
- )
- ]
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
, Para
- [ Str "Tight", Space, Str "using", Space, Str "tabs:" ]
+ [ Str "Tight" , Space , Str "using" , Space , Str "tabs:" ]
, DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [ [ Para [ Str "red", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [ [ Para [ Str "orange", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "banana" ]
- ,
- [ [ Para [ Str "yellow", Space, Str "fruit" ] ] ]
- )
- ]
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para [ Str "Loose:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
, Para
- [ Str "Loose:" ]
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "with"
+ , Space
+ , Str "italics:"
+ ]
, DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [ [ Para [ Str "red", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [ [ Para [ Str "orange", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "banana" ]
- ,
- [ [ Para [ Str "yellow", Space, Str "fruit" ] ] ]
- )
- ]
- , Para
- [ Str "Multiple"
- , Space
- , Str "blocks"
- , Space
- , Str "with"
- , Space
- , Str "italics:"
- ]
- , DefinitionList
- [
- (
- [ Emph [ Str "apple" ] ]
- ,
- [
- [ Para
- [ Str "red", Space, Str "fruit" ]
- , Para
- [ Str "contains"
- , Space
- , Str "seeds,"
- , Space
- , Str "crisp,"
- , Space
- , Str "pleasant"
- , Space
- , Str "to"
- , Space
- , Str "taste"
+ [ ( [ Emph [ Str "apple" ] ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ]
+ , Para
+ [ Str "contains"
+ , Space
+ , Str "seeds,"
+ , Space
+ , Str "crisp,"
+ , Space
+ , Str "pleasant"
+ , Space
+ , Str "to"
+ , Space
+ , Str "taste"
+ ]
]
]
- ]
- )
- ,
- (
- [ Emph [ Str "orange" ] ]
- ,
- [
- [ Para
- [ Str "orange", Space, Str "fruit" ]
- , CodeBlock
- ( "", [], [] ) "{ orange code block }"
- , BlockQuote
- [ Para
- [ Str "orange", Space, Str "block", Space, Str "quote" ]
+ )
+ , ( [ Emph [ Str "orange" ] ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , CodeBlock ( "" , [] , [] ) "{ orange code block }"
+ , BlockQuote
+ [ Para
+ [ Str "orange"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote"
+ ]
+ ]
]
]
- ]
- )
- ]
- , Header 1
- ( "html-blocks", [], [] )
- [ Str "HTML", Space, Str "Blocks" ]
- , Para
- [ Str "Simple"
- , Space
- , Str "block"
- , Space
- , Str "on"
- , Space
- , Str "one"
- , Space
- , Str "line:"
- ]
- , Para
- [ Str "foo"
- , SoftBreak
- , Str "And"
- , Space
- , Str "nested"
- , Space
- , Str "without"
- , Space
- , Str "indentation:"
- ]
- , Para
- [ Str "foo"
- , SoftBreak
- , Str "bar"
- , SoftBreak
- , Str "Interpreted"
- , Space
- , Str "markdown"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "table:"
- ]
- , 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:"
- ]
- , Para
- [ Str "foo"
- , SoftBreak
- , Str "This"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "code"
- , Space
- , Str "block,"
- , Space
- , Str "though:"
- ]
- , CodeBlock
- ( "", [], [] ) "\n foo\n"
- , Para
- [ Str "As", Space, Str "should", Space, Str "this:" ]
- , CodeBlock
- ( "", [], [] ) "foo"
- , Para
- [ Str "Now,", Space, Str "nested:" ]
- , Para
- [ Str "foo"
- , SoftBreak
- , Str "This"
- , Space
- , Str "should"
- , Space
- , Str "just"
- , Space
- , Str "be"
- , Space
- , Str "an"
- , Space
- , Str "HTML"
- , Space
- , Str "comment:"
- ]
- , Para
- [ Str "Multiline:" ]
- , Para
- [ Str "Code", Space, Str "block:" ]
- , CodeBlock
- ( "", [], [] ) ""
- , 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:"
- ]
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( "", [], [] ) "
"
- , Para
- [ Str "Hr\8217s:" ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "inline-markup", [], [] )
- [ Str "Inline", Space, Str "Markup" ]
- , 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 "."
- ]
- , 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 "."
- ]
- , Para
- [ Str "An"
- , Space
- , Emph
- [ Link
- ( "", [], [] )
- [ Str "emphasized", Space, Str "link" ]
- ( "/url", "" )
+ )
]
- , Str "."
- ]
+ , Header
+ 1
+ ( "html-blocks" , [] , [] )
+ [ Str "HTML" , Space , Str "Blocks" ]
, Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
+ [ Str "Simple"
+ , Space
+ , Str "block"
+ , Space
+ , Str "on"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line:"
]
- ]
, Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
+ [ Str "foo"
+ , SoftBreak
+ , Str "And"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "without"
+ , Space
+ , Str "indentation:"
]
- ]
, Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
+ [ Str "foo"
+ , SoftBreak
+ , Str "bar"
+ , SoftBreak
+ , Str "Interpreted"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table:"
+ ]
, Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "code:"
- , Space
- , Code
- ( "", [], [] ) ">"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\$"
- , Str ","
- , SoftBreak
- , Code
- ( "", [], [] ) ""
- , Str "."
- ]
- , Para
- [ Strikeout
[ Str "This"
, Space
, Str "is"
, Space
- , Emph
- [ Str "strikeout" ]
- , Str "."
- ]
- ]
- , 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 "."
- ]
- , 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."
- ]
- , 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."
- ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "smart-quotes-ellipses-dashes", [], [] )
- [ Str "Smart"
- , Space
- , Str "quotes,"
- , Space
- , Str "ellipses,"
- , Space
- , Str "dashes"
- ]
- , Para
- [ Quoted DoubleQuote
- [ Str "Hello," ]
- , Space
- , Str "said"
- , Space
- , Str "the"
- , Space
- , Str "spider."
- , Space
- , Quoted DoubleQuote
- [ Str "\8198"
- , Quoted SingleQuote
- [ Str "Shelob" ]
+ , Emph [ Str "emphasized" ]
+ , SoftBreak
+ , Str "And"
+ , Space
+ , Str "this"
, Space
, Str "is"
, Space
- , Str "my"
+ , Strong [ Str "strong" ]
+ , SoftBreak
+ , Str "Here\8217s"
, Space
- , Str "name."
- ]
- ]
- , 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."
- ]
- , 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." ]
- ]
- , Para
- [ Quoted SingleQuote
- [ Str "He"
+ , Str "a"
, Space
- , Str "said,"
+ , Str "simple"
, Space
- , Quoted DoubleQuote
- [ Str "I"
- , Space
- , Str "want"
- , Space
- , Str "to"
- , Space
- , Str "go."
- ]
- , Str "\8198"
+ , Str "block:"
]
- , Space
- , Str "Were"
- , Space
- , Str "you"
- , Space
- , Str "alive"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "70\8217s?"
- ]
, 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 "foo"
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block,"
+ , Space
+ , Str "though:"
]
- , Str "."
- ]
+ , CodeBlock ( "" , [] , [] ) "\n foo\n"
, Para
- [ Str "Some"
- , Space
- , Str "dashes:"
- , Space
- , Str "one\8212two\8212three\8212four\8212five."
- ]
+ [ Str "As" , Space , Str "should" , Space , Str "this:" ]
+ , CodeBlock ( "" , [] , [] ) "foo"
+ , Para [ Str "Now," , Space , Str "nested:" ]
, Para
- [ Str "Dashes"
- , Space
- , Str "between"
- , Space
- , Str "numbers:"
- , Space
- , Str "5\8211\&7,"
- , Space
- , Str "255\8211\&66,"
- , Space
- , Str "1987\8211\&1999."
- ]
- , Para
- [ Str "Ellipses\8230and\8230and\8230." ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "latex", [], [] )
- [ Str "LaTeX" ]
- , BulletList
- [
- [ 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}" ]
- ]
+ [ Str "foo"
+ , SoftBreak
+ , Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "just"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "comment:"
]
- ,
- [ RawBlock ( Format "latex" ) "\\doublespacing" ]
- ,
- [ Para [ Math InlineMath "2+2=4" ] ]
- ,
- [ Para [ Math InlineMath "x \\in y" ] ]
- ,
- [ Para [ Math InlineMath "\\alpha \\wedge \\omega" ] ]
- ,
- [ Para [ Math InlineMath "223" ] ]
- ,
- [ Para [ Math InlineMath "p", Str "-Tree" ] ]
- ,
- [ Para
- [ Math InlineMath "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}" ]
- ]
- ,
- [ 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 "."
- ]
- ]
- ]
+ , Para [ Str "Multiline:" ]
+ , Para [ Str "Code" , Space , Str "block:" ]
+ , CodeBlock ( "" , [] , [] ) ""
, Para
- [ Str "These"
- , Space
- , Str "shouldn\8217t"
- , Space
- , Str "be"
- , Space
- , Str "math:"
- ]
- , BulletList
- [
- [ Para
- [ Str "To"
- , Space
- , Str "get"
- , Space
- , Str "the"
- , Space
- , Str "famous"
- , Space
- , Str "equation,"
- , Space
- , Str "write"
- , Space
- , Code
- ( "", [], [] ) "$e = mc^2$"
- , Str "."
- ]
- ]
- ,
- [ 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.)"
- ]
- ]
- ,
- [ 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$."
- ]
- ]
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "LaTeX"
- , Space
- , Str "table:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignLeft, ColWidthDefault ), ( AlignLeft, ColWidthDefault ) ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Animal" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Number" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Dog" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cat" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "A"
- , Space
- , Str "table"
- , Space
- , Str "with"
- , Space
- , Str "one"
- , Space
- , Str "column:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignCenter, ColWidthDefault ) ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Animal" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Vegetable" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "special-characters", [], [] )
- [ Str "Special", Space, Str "Characters" ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Str "unicode:"
- ]
- , BulletList
- [
- [ Para [ Str "I", Space, Str "hat:", Space, Str "\206" ] ]
- ,
- [ Para [ Str "o", Space, Str "umlaut:", Space, Str "\246" ] ]
- ,
- [ Para [ Str "section:", Space, Str "\167" ] ]
- ,
- [ Para
- [ Str "set", Space, Str "membership:", Space, Str "\8712" ]
- ]
- ,
- [ Para [ Str "copyright:", Space, Str "\169" ] ]
- ]
- , Para
- [ Str "AT&T"
- , Space
- , Str "has"
- , Space
- , Str "an"
- , Space
- , Str "ampersand"
- , Space
- , Str "in"
- , Space
- , Str "their"
- , Space
- , Str "name."
- ]
- , Para
- [ Str "AT&T"
- , Space
- , Str "is"
- , Space
- , Str "another"
- , Space
- , Str "way"
- , Space
- , Str "to"
- , Space
- , Str "write"
- , Space
- , Str "it."
- ]
- , Para
- [ Str "This", Space, Str "&", Space, Str "that." ]
- , Para
- [ Str "4", Space, Str "<", Space, Str "5." ]
- , Para
- [ Str "6", Space, Str ">", Space, Str "5." ]
- , Para
- [ Str "Backslash:", Space, Str "\\" ]
- , Para
- [ Str "Backtick:", Space, Str "\8216" ]
- , Para
- [ Str "Asterisk:", Space, Str "*" ]
- , Para
- [ Str "Underscore:", Space, Str "_" ]
- , Para
- [ Str "Left", Space, Str "brace:", Space, Str "{" ]
- , Para
- [ Str "Right", Space, Str "brace:", Space, Str "}" ]
- , Para
- [ Str "Left", Space, Str "bracket:", Space, Str "[" ]
- , Para
- [ Str "Right", Space, Str "bracket:", Space, Str "]" ]
- , Para
- [ Str "Left", Space, Str "paren:", Space, Str "(" ]
- , Para
- [ Str "Right", Space, Str "paren:", Space, Str ")" ]
- , Para
- [ Str "Greater-than:", Space, Str ">" ]
- , Para
- [ Str "Hash:", Space, Str "#" ]
- , Para
- [ Str "Period:", Space, Str "." ]
- , Para
- [ Str "Bang:", Space, Str "!" ]
- , Para
- [ Str "Plus:", Space, Str "+" ]
- , Para
- [ Str "Minus:", Space, Str "-" ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "links", [], [] )
- [ Str "Links" ]
- , Header 2
- ( "explicit", [], [] )
- [ Str "Explicit" ]
- , Para
- [ Str "Just"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "URL" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "with_underscore" ]
- ( "/url/with_underscore", "" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "Email", Space, Str "link" ]
- ( "mailto:nobody@nowhere.net", "" )
- ]
- , Para
- [ Link ( "", [], [] ) [ Str "Empty" ] ( "", "" ), Str "." ]
- , Header 2
- ( "reference", [], [] )
- [ Str "Reference" ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "With"
- , Space
- , Link
- ( "", [], [] )
- [ Str "embedded", Space, Str "[brackets]" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "b" ]
- ( "/url/", "" )
- , Space
- , Str "by"
- , Space
- , Str "itself"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "once" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "twice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "thrice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "[not][]"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , CodeBlock
- ( "", [], [] ) "[not]: /url"
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "biz" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Header 2
- ( "with-ampersands", [], [] )
- [ Str "With", Space, Str "ampersands" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "link"
+ [ 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:"
+ ]
+ , Para [ Str "Code:" ]
+ , CodeBlock ( "" , [] , [] ) "
"
+ , Para [ Str "Hr\8217s:" ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , 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 "."
+ ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , SoftBreak
+ , Code ( "" , [] , [] ) ""
+ , Str "."
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "strikeout" ]
+ , Str "."
+ ]
+ ]
+ , 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 "."
+ ]
+ , 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."
+ ]
+ , 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."
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , 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."
+ ]
+ ]
+ , 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."
+ ]
+ , 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." ]
+ ]
+ , 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?"
+ ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one\8212two\8212three\8212four\8212five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5\8211\&7,"
+ , Space
+ , Str "255\8211\&66,"
+ , Space
+ , Str "1987\8211\&1999."
+ ]
+ , Para [ Str "Ellipses\8230and\8230and\8230." ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ 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}"
+ ]
+ ]
+ ]
+ , [ RawBlock (Format "latex") "\\doublespacing" ]
+ , [ Para [ Math InlineMath "2+2=4" ] ]
+ , [ Para [ Math InlineMath "x \\in y" ] ]
+ , [ Para [ Math InlineMath "\\alpha \\wedge \\omega" ] ]
+ , [ Para [ Math InlineMath "223" ] ]
+ , [ Para [ Math InlineMath "p" , Str "-Tree" ] ]
+ , [ Para
+ [ Math
+ InlineMath
+ "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"
+ ]
+ ]
+ , [ 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 "."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn\8217t"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , Space
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ 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.)"
+ ]
+ ]
+ , [ 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$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Animal" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Number" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Dog" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cat" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "A"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "one"
+ , Space
+ , Str "column:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Animal" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Vegetable" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Para
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Para [ Str "section:" , Space , Str "\167" ] ]
+ , [ Para
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "\8712"
+ ]
+ ]
+ , [ Para [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
, Str "an"
, Space
, Str "ampersand"
, Space
, Str "in"
, Space
- , Str "the"
+ , Str "their"
, Space
- , Str "URL"
+ , Str "name."
]
- ( "http://example.com/?foo=1&bar=2", "" )
- , Str "."
- ]
, 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 "."
- ]
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
, Para
- [ Str "Here\8217s"
- , Space
- , Str "an"
- , Space
- , Link
- ( "", [], [] )
- [ Str "inline", Space, Str "link" ]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "\8216" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
, Para
- [ Str "Here\8217s"
- , Space
- , Str "an"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "inline"
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "with_underscore" ]
+ ( "/url/with_underscore" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not][]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "biz" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
, Space
, Str "link"
, Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
, Str "in"
, Space
- , Str "pointy"
+ , Str "the"
, Space
- , Str "braces"
+ , Str "link"
+ , Space
+ , Str "text:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "AT&T" ] ( "http://att.com/" , "" )
+ , Str "."
]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
- , Header 2
- ( "autolinks", [], [] )
- [ Str "Autolinks" ]
, 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", "" )
- ]
- , BulletList
- [
- [ Para [ Str "In", Space, Str "a", Space, Str "list?" ] ]
- ,
- [ Para
- [ Link
- ( "", [], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
- ]
- ]
- ,
- [ Para [ Str "It", Space, Str "should." ] ]
- ]
- , Para
- [ Str "An"
- , Space
- , Str "e-mail"
- , Space
- , Str "address:"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "nobody@nowhere.net" ]
- ( "mailto:nobody@nowhere.net", "" )
- ]
- , BlockQuote
- [ Para
- [ Str "Blockquoted:"
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
, Space
, Link
- ( "", [], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
+ ( "" , [] , [] )
+ [ Str "inline" , Space , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
]
- ]
, Para
- [ Str "Auto-links"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "occur"
- , Space
- , Str "here:"
- , Space
- , Code
- ( "", [], [] ) " "
- ]
- , CodeBlock
- ( "", [], [] ) "or here: "
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "images", [], [] )
- [ Str "Images" ]
- , Para
- [ Str "From"
- , Space
- , Quoted DoubleQuote
- [ Str "Voyage"
+ [ Str "Here\8217s"
, Space
- , Str "dans"
+ , Str "an"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , Para
+ [ Str "With"
, Space
- , Str "la"
+ , Str "an"
, Space
- , Str "Lune"
+ , Str "ampersand:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Para [ Str "It" , Space , Str "should." ] ]
]
- , Space
- , Str "by"
- , Space
- , Str "Georges"
- , Space
- , Str "Melies"
- , Space
- , Str "(1902):"
- ]
, Para
- [ Image ( "", [], [] ) [ Str "image" ] ( "lalune.jpg", "" ) ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "movie"
- , Space
- , Image
- ( "", [], [] )
- [ Str "image" ]
- ( "movie.jpg", "" )
- , Space
- , Str "icon."
- ]
- , Div
- ( "", [ "center" ], [] ) [ HorizontalRule ]
- , Header 1
- ( "footnotes", [], [] )
- [ Str "Footnotes" ]
- , 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."
- ]
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
]
- , 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
- ( "", [], [] ) " { }"
- , 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]."
- ]
- ]
- ]
, BlockQuote
- [ Para
- [ Str "Notes"
- , Space
- , Str "can"
- , Space
- , Str "go"
- , Space
- , Str "in"
- , Space
- , Str "quotes."
- , Note
- [ Para [ Str "In", Space, Str "quote." ] ]
- ]
- ]
- , OrderedList
- ( 1, Decimal, Period )
- [
[ Para
- [ Str "And"
- , Space
- , Str "in"
- , Space
- , Str "list"
- , Space
- , Str "items."
- , Note
- [ Para [ Str "In", Space, Str "list." ] ]
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , Space
+ , Code ( "" , [] , [] ) " "
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "or here: "
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , 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):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] ) [ Str "image" ] ( "lalune.jpg" , "" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image
+ ( "" , [] , [] ) [ Str "image" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , Div ( "" , [ "center" ] , [] ) [ HorizontalRule ]
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , 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 ( "" , [] , [] ) " { }"
+ , 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]."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Notes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "in"
+ , Space
+ , Str "quotes."
+ , Note [ Para [ Str "In" , Space , Str "quote." ] ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "And"
+ , Space
+ , Str "in"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ , Note [ Para [ Str "In" , Space , Str "list." ] ]
+ ]
]
]
- ]
, 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."
- ]
- , Header 1
- ( "escaped-characters", [], [] )
- [ Str "Escaped", Space, Str "characters" ]
+ [ 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."
+ ]
+ , Header
+ 1
+ ( "escaped-characters" , [] , [] )
+ [ Str "Escaped" , Space , Str "characters" ]
, Para
- [ Str "$"
- , Space
- , Str "%"
- , Space
- , Str "&"
- , Space
- , Str "#"
- , Space
- , Str "_"
- , Space
- , Str "{"
- , Space
- , Str "}"
- ]
+ [ Str "$"
+ , Space
+ , Str "%"
+ , Space
+ , Str "&"
+ , Space
+ , Str "#"
+ , Space
+ , Str "_"
+ , Space
+ , Str "{"
+ , Space
+ , Str "}"
+ ]
]
diff --git a/test/lhs-test-markdown.native b/test/lhs-test-markdown.native
index db2acd318..42a32697b 100644
--- a/test/lhs-test-markdown.native
+++ b/test/lhs-test-markdown.native
@@ -1,130 +1,124 @@
-[ Header 1
- ( "lhs-test", [], [] )
- [ Str "lhs", Space, Str "test" ]
+[ Header
+ 1
+ ( "lhs-test" , [] , [] )
+ [ Str "lhs" , Space , Str "test" ]
, Para
- [ Code
- ( "", [], [] ) "unsplit"
- , Space
- , Str "is"
- , Space
- , Str "an"
- , Space
- , Str "arrow"
- , Space
- , Str "that"
- , Space
- , Str "takes"
- , Space
- , Str "a"
- , Space
- , Str "pair"
- , Space
- , Str "of"
- , Space
- , Str "values"
- , Space
- , Str "and"
- , Space
- , Str "combines"
- , Space
- , Str "them"
- , Space
- , Str "to"
- , SoftBreak
- , Str "return"
- , Space
- , Str "a"
- , Space
- , Str "single"
- , Space
- , Str "value:"
- ]
+ [ Code ( "" , [] , [] ) "unsplit"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "that"
+ , Space
+ , Str "takes"
+ , Space
+ , Str "a"
+ , Space
+ , Str "pair"
+ , Space
+ , Str "of"
+ , Space
+ , Str "values"
+ , Space
+ , Str "and"
+ , Space
+ , Str "combines"
+ , Space
+ , Str "them"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "return"
+ , Space
+ , Str "a"
+ , Space
+ , Str "single"
+ , Space
+ , Str "value:"
+ ]
, CodeBlock
- ( ""
- ,
- [ "haskell", "literate" ]
- , []
- ) "unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d\nunsplit = arr . uncurry\n -- arr (\\op (x,y) -> x `op` y)"
+ ( "" , [ "haskell" , "literate" ] , [] )
+ "unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d\nunsplit = arr . uncurry\n -- arr (\\op (x,y) -> x `op` y)"
, Para
- [ Code
- ( "", [], [] ) "(***)"
- , Space
- , Str "combines"
- , Space
- , Str "two"
- , Space
- , Str "arrows"
- , Space
- , Str "into"
- , Space
- , Str "a"
- , Space
- , Str "new"
- , Space
- , Str "arrow"
- , Space
- , Str "by"
- , Space
- , Str "running"
- , Space
- , Str "the"
- , Space
- , Str "two"
- , Space
- , Str "arrows"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , SoftBreak
- , Str "pair"
- , Space
- , Str "of"
- , Space
- , Str "values"
- , Space
- , Str "(one"
- , Space
- , Str "arrow"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "first"
- , Space
- , Str "item"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "pair"
- , Space
- , Str "and"
- , Space
- , Str "one"
- , Space
- , Str "arrow"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , SoftBreak
- , Str "second"
- , Space
- , Str "item"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "pair)."
- ]
+ [ Code ( "" , [] , [] ) "(***)"
+ , Space
+ , Str "combines"
+ , Space
+ , Str "two"
+ , Space
+ , Str "arrows"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "new"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "by"
+ , Space
+ , Str "running"
+ , Space
+ , Str "the"
+ , Space
+ , Str "two"
+ , Space
+ , Str "arrows"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "pair"
+ , Space
+ , Str "of"
+ , Space
+ , Str "values"
+ , Space
+ , Str "(one"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "item"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pair"
+ , Space
+ , Str "and"
+ , Space
+ , Str "one"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "second"
+ , Space
+ , Str "item"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pair)."
+ ]
, CodeBlock
- ( "", [], [] ) "f *** g = first f >>> second g"
-, Para
- [ Str "Block", Space, Str "quote:" ]
-, BlockQuote
- [ Para [ Str "foo", Space, Str "bar" ] ]
+ ( "" , [] , [] ) "f *** g = first f >>> second g"
+, Para [ Str "Block" , Space , Str "quote:" ]
+, BlockQuote [ Para [ Str "foo" , Space , Str "bar" ] ]
]
diff --git a/test/lhs-test.native b/test/lhs-test.native
index db2acd318..42a32697b 100644
--- a/test/lhs-test.native
+++ b/test/lhs-test.native
@@ -1,130 +1,124 @@
-[ Header 1
- ( "lhs-test", [], [] )
- [ Str "lhs", Space, Str "test" ]
+[ Header
+ 1
+ ( "lhs-test" , [] , [] )
+ [ Str "lhs" , Space , Str "test" ]
, Para
- [ Code
- ( "", [], [] ) "unsplit"
- , Space
- , Str "is"
- , Space
- , Str "an"
- , Space
- , Str "arrow"
- , Space
- , Str "that"
- , Space
- , Str "takes"
- , Space
- , Str "a"
- , Space
- , Str "pair"
- , Space
- , Str "of"
- , Space
- , Str "values"
- , Space
- , Str "and"
- , Space
- , Str "combines"
- , Space
- , Str "them"
- , Space
- , Str "to"
- , SoftBreak
- , Str "return"
- , Space
- , Str "a"
- , Space
- , Str "single"
- , Space
- , Str "value:"
- ]
+ [ Code ( "" , [] , [] ) "unsplit"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "that"
+ , Space
+ , Str "takes"
+ , Space
+ , Str "a"
+ , Space
+ , Str "pair"
+ , Space
+ , Str "of"
+ , Space
+ , Str "values"
+ , Space
+ , Str "and"
+ , Space
+ , Str "combines"
+ , Space
+ , Str "them"
+ , Space
+ , Str "to"
+ , SoftBreak
+ , Str "return"
+ , Space
+ , Str "a"
+ , Space
+ , Str "single"
+ , Space
+ , Str "value:"
+ ]
, CodeBlock
- ( ""
- ,
- [ "haskell", "literate" ]
- , []
- ) "unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d\nunsplit = arr . uncurry\n -- arr (\\op (x,y) -> x `op` y)"
+ ( "" , [ "haskell" , "literate" ] , [] )
+ "unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d\nunsplit = arr . uncurry\n -- arr (\\op (x,y) -> x `op` y)"
, Para
- [ Code
- ( "", [], [] ) "(***)"
- , Space
- , Str "combines"
- , Space
- , Str "two"
- , Space
- , Str "arrows"
- , Space
- , Str "into"
- , Space
- , Str "a"
- , Space
- , Str "new"
- , Space
- , Str "arrow"
- , Space
- , Str "by"
- , Space
- , Str "running"
- , Space
- , Str "the"
- , Space
- , Str "two"
- , Space
- , Str "arrows"
- , Space
- , Str "on"
- , Space
- , Str "a"
- , SoftBreak
- , Str "pair"
- , Space
- , Str "of"
- , Space
- , Str "values"
- , Space
- , Str "(one"
- , Space
- , Str "arrow"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "first"
- , Space
- , Str "item"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "pair"
- , Space
- , Str "and"
- , Space
- , Str "one"
- , Space
- , Str "arrow"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , SoftBreak
- , Str "second"
- , Space
- , Str "item"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "pair)."
- ]
+ [ Code ( "" , [] , [] ) "(***)"
+ , Space
+ , Str "combines"
+ , Space
+ , Str "two"
+ , Space
+ , Str "arrows"
+ , Space
+ , Str "into"
+ , Space
+ , Str "a"
+ , Space
+ , Str "new"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "by"
+ , Space
+ , Str "running"
+ , Space
+ , Str "the"
+ , Space
+ , Str "two"
+ , Space
+ , Str "arrows"
+ , Space
+ , Str "on"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "pair"
+ , Space
+ , Str "of"
+ , Space
+ , Str "values"
+ , Space
+ , Str "(one"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "first"
+ , Space
+ , Str "item"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pair"
+ , Space
+ , Str "and"
+ , Space
+ , Str "one"
+ , Space
+ , Str "arrow"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "second"
+ , Space
+ , Str "item"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "pair)."
+ ]
, CodeBlock
- ( "", [], [] ) "f *** g = first f >>> second g"
-, Para
- [ Str "Block", Space, Str "quote:" ]
-, BlockQuote
- [ Para [ Str "foo", Space, Str "bar" ] ]
+ ( "" , [] , [] ) "f *** g = first f >>> second g"
+, Para [ Str "Block" , Space , Str "quote:" ]
+, BlockQuote [ Para [ Str "foo" , Space , Str "bar" ] ]
]
diff --git a/test/man-reader.native b/test/man-reader.native
index f8341fb84..1fe99ae35 100644
--- a/test/man-reader.native
+++ b/test/man-reader.native
@@ -1,986 +1,951 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "date"
- , MetaInlines
- [ Str "Oct", Space, Str "17,", Space, Str "2018" ]
- )
- ,
- ( "section", MetaInlines [] )
- ,
- ( "title"
- , MetaInlines
- [ Str "Pandoc", Space, Str "Man", Space, Str "tests" ]
- )
- ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "date"
+ , MetaInlines
+ [ Str "Oct" , Space , Str "17," , Space , Str "2018" ]
+ )
+ , ( "section" , MetaInlines [] )
+ , ( "title"
+ , MetaInlines
+ [ Str "Pandoc"
+ , Space
+ , Str "Man"
+ , Space
+ , Str "tests"
+ ]
+ )
+ ]
}
- )
[ Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "set"
- , Space
- , Str "of"
- , Space
- , Str "tests"
- , Space
- , Str "for"
- , Space
- , Str "pandoc."
- ]
- , Para
- [ Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- ]
- , Header 1
- ( "", [], [] )
- [ Str "Headers" ]
- , Header 1
- ( "", [], [] )
- [ Str "Level", Space, Str "1" ]
- , Header 2
- ( "", [], [] )
- [ Str "Level", Space, Str "2" ]
- , Para
- [ Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- ]
- , Header 1
- ( "", [], [] )
- [ Str "Paragraphs" ]
- , Para
- [ Str "Here's"
- , Space
- , Str "a"
- , Space
- , Str "regular"
- , Space
- , Str "paragraph."
- ]
- , Para
- [ Str "Another"
- , Space
- , Str "paragraph"
- , Space
- , 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"
- , 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"
- , Space
- , Str "looked"
- , Space
- , Str "like"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item."
- ]
- , Para
- [ Str "There"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "hard"
- , Space
- , Str "line"
- , Space
- , Str "break"
- ]
- , Para
- [ Str "here." ]
- , Para
- [ Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- ]
- , Header 1
- ( "", [], [] )
- [ Str "Block", Space, Str "Quotes" ]
- , Para
- [ Str "Code"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "block"
- , Space
- , Str "quote:"
- ]
- , BlockQuote
- [ CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- ]
- , Para
- [ Str "A", Space, Str "list:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "item", Space, Str "one" ] ]
- ,
- [ Para [ Str "item", Space, Str "two" ] ]
- ]
- , Header 1
- ( "", [], [] )
- [ Str "Code", Space, Str "Blocks" ]
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n"
- , Para
- [ Str "And:" ]
- , CodeBlock
- ( "", [], [] ) "\tthis code line is indented by one tab"
- , Para
- [ Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- ]
- , Header 1
- ( "", [], [] )
- [ Str "Lists" ]
- , Header 2
- ( "", [], [] )
- [ Str "Unordered" ]
- , Para
- [ Str "Asterisks:" ]
- , BulletList
- [
- [ Para [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Header 2
- ( "", [], [] )
- [ Str "Ordered" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para [ Str "Second" ] ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Header 2
- ( "", [], [] )
- [ Str "Nested" ]
- , BulletList
- [
- [ Para
- [ Str "Tab" ]
- , BulletList
- [
- [ Para [ Str "Tab" ], BulletList [ [ Para [ Str "Tab" ] ] ] ]
- ]
- ]
- ]
- , Para
- [ Str "Here's", Space, Str "another:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Para [ Str "Fee" ] ]
- ,
- [ Para [ Str "Fie" ] ]
- ,
- [ Para [ Str "Foe" ] ]
- ]
- ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "Same", Space, Str "thing:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Para [ Str "Fee" ] ]
- ,
- [ Para [ Str "Fie" ] ]
- ,
- [ Para [ Str "Foe" ] ]
- ]
- ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Header 2
- ( "", [], [] )
- [ Str "different", Space, Str "styles:" ]
- , OrderedList
- ( 1, UpperAlpha, Period )
- [
- [ Para
- [ Str "Upper", Space, Str "Alpha" ]
- , OrderedList
- ( 1, UpperRoman, Period )
- [
- [ Para
- [ Str "Upper", Space, Str "Roman." ]
- , OrderedList
- ( 6, Decimal, TwoParens )
- [
- [ Para
- [ Str "Decimal"
- , Space
- , Str "start"
- , Space
- , Str "with"
- , Space
- , Str "6"
- ]
- , OrderedList
- ( 3, LowerAlpha, OneParen )
- [
- [ Para
- [ Str "Lower"
- , Space
- , Str "alpha"
- , Space
- , Str "with"
- , Space
- , Str "paren"
- ]
- ]
- ]
- ]
- ]
- ]
- ]
- ]
- ]
- , Header 2
- ( "", [], [] )
- [ Str "Ordered" ]
- , Para
- [ Str "Definition", Space, Str "lists" ]
- , DefinitionList
- [
- (
- [ Strong [ Str "term1" ] ]
- ,
- [
- [ Para
- [ Str "definition", Space, Str "1" ]
- , Para
- [ Str "continued" ]
- ]
- ]
- )
- ,
- (
- [ Strong [ Str "term2" ] ]
- ,
- [
- [ Para
- [ Str "definition"
- , Space
- , Str "2"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- , Space
- , Str "*"
- ]
- ]
- ]
- )
- ]
- , Header 1
- ( "", [], [] )
- [ Str "Special", Space, Str "Characters" ]
- , Para
- [ Str "AT&T"
- , Space
- , Str "has"
- , Space
- , Str "an"
- , Space
- , Str "ampersand"
- , Space
- , Str "in"
- , Space
- , Str "their"
- , Space
- , Str "name."
- ]
- , Para
- [ Str "4", Space, Str "<", Space, Str "5." ]
- , Para
- [ Str "6", Space, Str ">", Space, Str "5." ]
- , Para
- [ Str "Backslash:", Space, Str "\\" ]
- , Para
- [ Str "Backtick:", Space, Str "`" ]
- , Para
- [ Str "Asterisk:", Space, Str "*" ]
- , Para
- [ Str "Underscore:", Space, Str "_" ]
- , Para
- [ Str "Left", Space, Str "brace:", Space, Str "{" ]
- , Para
- [ Str "Right", Space, Str "brace:", Space, Str "}" ]
- , Para
- [ Str "Left", Space, Str "bracket:", Space, Str "[" ]
- , Para
- [ Str "Right", Space, Str "bracket:", Space, Str "]" ]
- , Para
- [ Str "Left", Space, Str "paren:", Space, Str "(" ]
- , Para
- [ Str "Right", Space, Str "paren:", Space, Str ")" ]
- , Para
- [ Str "Greater-than:", Space, Str ">" ]
- , Para
- [ Str "Hash:", Space, Str "#" ]
- , Para
- [ Str "Period:", Space, Str "." ]
- , Para
- [ Str "Bang:", Space, Str "!" ]
- , Para
- [ Str "Plus:", Space, Str "+" ]
- , Para
- [ Str "Minus:", Space, Str "-" ]
- , Header 1
- ( "", [], [] )
- [ Str "Links" ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "some", Space, Str "randomsite" ]
- ( "http://example.com", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "my", Space, Str "email", Space, Str "address" ]
- ( "mailto:me@example.com", "" )
- , Str "."
- ]
- , Header 1
- ( "", [], [] )
- [ Str "Macros" ]
- , Para
- [ Strong
- [ Str "Me", Space, Str "Myself" ]
- , Space
- , Str "and"
- , Space
- , Str "I."
- , Space
- , Emph
- [ Str "The"
- , Space
- , Str "author"
+ [ Str "This"
, Space
, Str "is"
, Space
- , Str "John"
+ , Str "a"
, Space
- , Str "Jones."
+ , Str "set"
+ , Space
+ , Str "of"
+ , Space
+ , Str "tests"
+ , Space
+ , Str "for"
+ , Space
+ , Str "pandoc."
]
- , Space
- , Str "It's"
- , Space
- , Str "The"
- , Space
- , Strong
- [ Str "Author" ]
- , Str "."
- ]
- , Header 1
- ( "", [], [] )
- [ Str "Tables" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left", Space, Emph [ Str "more" ] ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Centered", Space, Str "Header" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left", Space, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right", Space, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default", Space, Str "aligned" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , Space
- , Str "spans"
- , Space
- , Str "multiple"
- , Space
- , Str "lines."
- ]
- ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "another"
- , Space
- , Str "one."
- , Space
- , Str "Note"
- , Space
- , Str "the"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "between"
- , Space
- , Str "rows."
- ]
- ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
, Para
- [ Str "Table"
- , Space
- , Str "without"
- , Space
- , Str "column"
- , Space
- , Str "headers:"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignRight, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
+ [ Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Headers" ]
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here's"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "Another"
+ , Space
+ , Str "paragraph"
+ , Space
+ , 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"
+ , 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"
+ , Space
+ , Str "looked"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ ]
+ , Para [ Str "here." ]
+ , Para
+ [ Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Block" , Space , Str "Quotes" ]
+ , Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , BlockQuote
+ [ CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ ]
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "item" , Space , Str "one" ] ]
+ , [ Para [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Header
+ 1 ( "" , [] , [] ) [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] ) "\tthis code line is indented by one tab"
+ , Para
+ [ Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks:" ]
+ , BulletList
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Ordered" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header 2 ( "" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList
+ [ [ Para [ Str "Tab" ]
+ , BulletList [ [ Para [ Str "Tab" ] ] ]
+ ]
+ ]
]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignRight, ColWidth 0.5 ), ( AlignLeft, ColWidth 0.5 ) ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "a" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b" ] ]
+ , Para [ Str "Here's" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "one" ], Para [ Str "two" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ CodeBlock ( "", [], [] ) "some\n code" ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "Same" , Space , Str "thing:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Para [ Str "Fee" ] ]
+ , [ Para [ Str "Fie" ] ]
+ , [ Para [ Str "Foe" ] ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Str "different" , Space , Str "styles:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Para [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Para [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Para
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Para
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ , Header 2 ( "" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Definition" , Space , Str "lists" ]
+ , DefinitionList
+ [ ( [ Strong [ Str "term1" ] ]
+ , [ [ Para [ Str "definition" , Space , Str "1" ]
+ , Para [ Str "continued" ]
+ ]
+ ]
+ )
+ , ( [ Strong [ Str "term2" ] ]
+ , [ [ Para
+ [ Str "definition"
+ , Space
+ , Str "2"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ , Space
+ , Str "*"
+ ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand"
+ , Space
+ , Str "in"
+ , Space
+ , Str "their"
+ , Space
+ , Str "name."
+ ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , Header 1 ( "" , [] , [] ) [ Str "Links" ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "some" , Space , Str "randomsite" ]
+ ( "http://example.com" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "my" , Space , Str "email" , Space , Str "address" ]
+ ( "mailto:me@example.com" , "" )
+ , Str "."
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Macros" ]
+ , Para
+ [ Strong [ Str "Me" , Space , Str "Myself" ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "I."
+ , Space
+ , Emph
+ [ Str "The"
+ , Space
+ , Str "author"
+ , Space
+ , Str "is"
+ , Space
+ , Str "John"
+ , Space
+ , Str "Jones."
+ ]
+ , Space
+ , Str "It's"
+ , Space
+ , Str "The"
+ , Space
+ , Strong [ Str "Author" ]
+ , Str "."
+ ]
+ , Header 1 ( "" , [] , [] ) [ Str "Tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , Space , Emph [ Str "more" ] ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , Space , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , Space , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , Space
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidth 0.5 )
+ , ( AlignLeft , ColWidth 0.5 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "one" ] , Para [ Str "two" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ CodeBlock ( "" , [] , [] ) "some\n code" ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
]
diff --git a/test/markdown-citations.native b/test/markdown-citations.native
index bafdb0bbf..f37fd82fb 100644
--- a/test/markdown-citations.native
+++ b/test/markdown-citations.native
@@ -1,539 +1,522 @@
-[ Header 1
- ( "pandoc-with-citeproc-hs", [], [] )
- [ Str "Pandoc", Space, Str "with", Space, Str "citeproc-hs" ]
+[ Header
+ 1
+ ( "pandoc-with-citeproc-hs" , [] , [] )
+ [ Str "Pandoc"
+ , Space
+ , Str "with"
+ , Space
+ , Str "citeproc-hs"
+ ]
, BulletList
- [
- [ Para
- [ Cite
- [ Citation
- { citationId = "nonexistent"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = NormalCitation
- , citationNoteNum = 1
- , citationHash = 0
- }
- ]
- [ Str "[@nonexistent]" ]
- ]
- ]
- ,
- [ Para
- [ Cite
- [ Citation
- { citationId = "nonexistent"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = AuthorInText
- , citationNoteNum = 2
- , citationHash = 0
- }
- ]
- [ Str "@nonexistent" ]
- ]
- ]
- ,
- [ Para
- [ Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = AuthorInText
- , citationNoteNum = 3
- , citationHash = 0
- }
- ]
- [ Str "@item1" ]
- , Space
- , Str "says"
- , Space
- , Str "blah."
- ]
- ]
- ,
- [ Para
- [ Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix = []
- , citationSuffix =
- [ Str "p.\160\&30" ]
- , citationMode = AuthorInText
- , citationNoteNum = 4
- , citationHash = 0
- }
- ]
- [ Str "@item1", Space, Str "[p.", Space, Str "30]" ]
- , Space
- , Str "says"
- , Space
- , Str "blah."
- ]
- ]
- ,
- [ Para
- [ Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix = []
- , citationSuffix =
- [ Str "p.\160\&30,"
- , Space
- , Str "with"
- , Space
- , Str "suffix"
- ]
- , citationMode = AuthorInText
- , citationNoteNum = 5
- , citationHash = 0
- }
- ]
- [ Str "@item1"
- , Space
- , Str "[p."
- , Space
- , Str "30,"
- , Space
- , Str "with"
- , Space
- , Str "suffix]"
- ]
- , Space
- , Str "says"
- , Space
- , Str "blah."
- ]
- ]
- ,
- [ Para
- [ Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = AuthorInText
- , citationNoteNum = 6
- , citationHash = 0
- }
- , Citation
- { citationId = "item2"
- , citationPrefix = []
- , citationSuffix =
- [ Space, Str "p.\160\&30" ]
- , citationMode = SuppressAuthor
- , citationNoteNum = 6
- , citationHash = 0
- }
- , Citation
- { citationId = "\1087\1091\1085\1082\1090\&3"
- , citationPrefix =
- [ Str "see", Space, Str "also" ]
- , citationSuffix = []
- , citationMode = NormalCitation
- , citationNoteNum = 6
- , citationHash = 0
- }
- ]
- [ Str "@item1"
- , Space
- , Str "[-@item2"
- , Space
- , Str "p."
- , Space
- , Str "30;"
- , Space
- , Str "see"
- , Space
- , Str "also"
- , Space
- , Str "@\1087\1091\1085\1082\1090\&3]"
- ]
- , Space
- , Str "says"
- , Space
- , Str "blah."
- ]
- ]
- ,
- [ Para
- [ Str "In"
- , Space
- , Str "a"
- , Space
- , Str "note."
- , Note
- [ Para
+ [ [ Para
[ Cite
- [ Citation
- { citationId = "\1087\1091\1085\1082\1090\&3"
- , citationPrefix = []
- , citationSuffix =
- [ Str "p.\160\&12" ]
- , citationMode = AuthorInText
- , citationNoteNum = 7
- , citationHash = 0
- }
- ]
- [ Str "@\1087\1091\1085\1082\1090\&3"
- , Space
- , Str "[p."
- , Space
- , Str "12]"
- ]
+ [ Citation
+ { citationId = "nonexistent"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 1
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@nonexistent]" ]
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "nonexistent"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 2
+ , citationHash = 0
+ }
+ ]
+ [ Str "@nonexistent" ]
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 3
+ , citationHash = 0
+ }
+ ]
+ [ Str "@item1" ]
, Space
- , Str "and"
+ , Str "says"
+ , Space
+ , Str "blah."
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix = [ Str "p.\160\&30" ]
+ , citationMode = AuthorInText
+ , citationNoteNum = 4
+ , citationHash = 0
+ }
+ ]
+ [ Str "@item1" , Space , Str "[p." , Space , Str "30]" ]
+ , Space
+ , Str "says"
+ , Space
+ , Str "blah."
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Str "p.\160\&30,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "suffix"
+ ]
+ , citationMode = AuthorInText
+ , citationNoteNum = 5
+ , citationHash = 0
+ }
+ ]
+ [ Str "@item1"
+ , Space
+ , Str "[p."
+ , Space
+ , Str "30,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "suffix]"
+ ]
+ , Space
+ , Str "says"
+ , Space
+ , Str "blah."
+ ]
+ ]
+ , [ Para
+ [ Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = AuthorInText
+ , citationNoteNum = 6
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "item2"
+ , citationPrefix = []
+ , citationSuffix = [ Space , Str "p.\160\&30" ]
+ , citationMode = SuppressAuthor
+ , citationNoteNum = 6
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = [ Str "see" , Space , Str "also" ]
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 6
+ , citationHash = 0
+ }
+ ]
+ [ Str "@item1"
+ , Space
+ , Str "[-@item2"
+ , Space
+ , Str "p."
+ , Space
+ , Str "30;"
+ , Space
+ , Str "see"
+ , Space
+ , Str "also"
+ , Space
+ , Str "@\1087\1091\1085\1082\1090\&3]"
+ ]
+ , Space
+ , Str "says"
+ , Space
+ , Str "blah."
+ ]
+ ]
+ , [ Para
+ [ Str "In"
, Space
, Str "a"
, Space
+ , Str "note."
+ , Note
+ [ Para
+ [ Cite
+ [ Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = []
+ , citationSuffix = [ Str "p.\160\&12" ]
+ , citationMode = AuthorInText
+ , citationNoteNum = 7
+ , citationHash = 0
+ }
+ ]
+ [ Str "@\1087\1091\1085\1082\1090\&3"
+ , Space
+ , Str "[p."
+ , Space
+ , Str "12]"
+ ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Str "citation"
+ , Space
+ , Str "without"
+ , Space
+ , Str "locators"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 7
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@\1087\1091\1085\1082\1090\&3]" ]
+ , Str "."
+ ]
+ ]
+ ]
+ ]
+ , [ Para
+ [ Str "A"
+ , Space
, Str "citation"
, Space
- , Str "without"
- , Space
- , Str "locators"
+ , Str "group"
, Space
, Cite
- [ Citation
- { citationId = "\1087\1091\1085\1082\1090\&3"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = NormalCitation
- , citationNoteNum = 7
- , citationHash = 0
- }
- ]
- [ Str "[@\1087\1091\1085\1082\1090\&3]" ]
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = [ Str "see" ]
+ , citationSuffix = [ Space , Str "chap.\160\&3" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 8
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = [ Str "also" ]
+ , citationSuffix = [ Space , Str "p.\160\&34-35" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 8
+ , citationHash = 0
+ }
+ ]
+ [ Str "[see"
+ , Space
+ , Str "@item1"
+ , Space
+ , Str "chap."
+ , Space
+ , Str "3;"
+ , Space
+ , Str "also"
+ , Space
+ , Str "@\1087\1091\1085\1082\1090\&3"
+ , Space
+ , Str "p."
+ , Space
+ , Str "34-35]"
+ ]
, Str "."
]
- ]
]
- ]
- ,
- [ Para
- [ Str "A"
- , Space
- , Str "citation"
- , Space
- , Str "group"
- , Space
- , Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix =
- [ Str "see" ]
- , citationSuffix =
- [ Space, Str "chap.\160\&3" ]
- , citationMode = NormalCitation
- , citationNoteNum = 8
- , citationHash = 0
- }
- , Citation
- { citationId = "\1087\1091\1085\1082\1090\&3"
- , citationPrefix =
- [ Str "also" ]
- , citationSuffix =
- [ Space, Str "p.\160\&34-35" ]
- , citationMode = NormalCitation
- , citationNoteNum = 8
- , citationHash = 0
- }
- ]
- [ Str "[see"
- , Space
- , Str "@item1"
- , Space
- , Str "chap."
- , Space
- , Str "3;"
- , Space
- , Str "also"
- , Space
- , Str "@\1087\1091\1085\1082\1090\&3"
- , Space
- , Str "p."
- , Space
- , Str "34-35]"
- ]
- , Str "."
- ]
- ]
- ,
- [ Para
- [ Str "Another"
- , Space
- , Str "one"
- , Space
- , Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix =
- [ Str "see" ]
- , citationSuffix =
- [ Space, Str "p.\160\&34-35" ]
- , citationMode = NormalCitation
- , citationNoteNum = 9
- , citationHash = 0
- }
- ]
- [ Str "[see"
- , Space
- , Str "@item1"
- , Space
- , Str "p."
- , Space
- , Str "34-35]"
- ]
- , Str "."
- ]
- ]
- ,
- [ Para
- [ Str "And"
- , Space
- , Str "another"
- , Space
- , Str "one"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "note."
- , Note
- [ Para
- [ Str "Some"
+ , [ Para
+ [ Str "Another"
, Space
- , Str "citations"
+ , Str "one"
, Space
, Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix =
- [ Str "see" ]
- , citationSuffix =
- [ Space, Str "chap.\160\&3" ]
- , citationMode = NormalCitation
- , citationNoteNum = 10
- , citationHash = 0
- }
- , Citation
- { citationId = "\1087\1091\1085\1082\1090\&3"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = NormalCitation
- , citationNoteNum = 10
- , citationHash = 0
- }
- , Citation
- { citationId = "item2"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = NormalCitation
- , citationNoteNum = 10
- , citationHash = 0
- }
- ]
- [ Str "[see"
- , Space
- , Str "@item1"
- , Space
- , Str "chap."
- , Space
- , Str "3;"
- , Space
- , Str "@\1087\1091\1085\1082\1090\&3;"
- , Space
- , Str "@item2]"
- ]
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = [ Str "see" ]
+ , citationSuffix = [ Space , Str "p.\160\&34-35" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 9
+ , citationHash = 0
+ }
+ ]
+ [ Str "[see"
+ , Space
+ , Str "@item1"
+ , Space
+ , Str "p."
+ , Space
+ , Str "34-35]"
+ ]
, Str "."
]
- ]
]
- ]
- ,
- [ Para
- [ Str "Citation"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "suffix"
- , Space
- , Str "and"
- , Space
- , Str "locator"
- , Space
- , Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix = []
- , citationSuffix =
- [ Space
- , Str "pp.\160\&33,"
- , Space
- , Str "35-37,"
- , Space
- , Str "and"
- , Space
- , Str "nowhere"
- , Space
- , Str "else"
- ]
- , citationMode = NormalCitation
- , citationNoteNum = 11
- , citationHash = 0
- }
- ]
- [ Str "[@item1"
- , Space
- , Str "pp."
- , Space
- , Str "33,"
- , Space
- , Str "35-37,"
- , Space
- , Str "and"
- , Space
- , Str "nowhere"
- , Space
- , Str "else]"
- ]
- , Str "."
- ]
- ]
- ,
- [ Para
- [ Str "Citation"
- , Space
- , Str "with"
- , Space
- , Str "suffix"
- , Space
- , Str "only"
- , Space
- , Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix = []
- , citationSuffix =
- [ Space
- , Str "and"
- , Space
- , Str "nowhere"
- , Space
- , Str "else"
- ]
- , citationMode = NormalCitation
- , citationNoteNum = 12
- , citationHash = 0
- }
- ]
- [ Str "[@item1"
- , Space
- , Str "and"
- , Space
- , Str "nowhere"
- , Space
- , Str "else]"
- ]
- , Str "."
- ]
- ]
- ,
- [ Para
- [ Str "Now"
- , Space
- , Str "some"
- , Space
- , Str "modifiers."
- , Note
- [ Para
- [ Str "Like"
+ , [ Para
+ [ Str "And"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one"
+ , Space
+ , Str "in"
, Space
, Str "a"
, Space
- , Str "citation"
- , Space
- , Str "without"
- , Space
- , Str "author:"
- , Space
- , Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = SuppressAuthor
- , citationNoteNum = 13
- , citationHash = 0
- }
- ]
- [ Str "[-@item1]" ]
- , Str ","
- , Space
- , Str "and"
- , Space
- , Str "now"
- , Space
- , Str "Doe"
+ , Str "note."
+ , Note
+ [ Para
+ [ Str "Some"
+ , Space
+ , Str "citations"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = [ Str "see" ]
+ , citationSuffix =
+ [ Space , Str "chap.\160\&3" ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 10
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "\1087\1091\1085\1082\1090\&3"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 10
+ , citationHash = 0
+ }
+ , Citation
+ { citationId = "item2"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 10
+ , citationHash = 0
+ }
+ ]
+ [ Str "[see"
+ , Space
+ , Str "@item1"
+ , Space
+ , Str "chap."
+ , Space
+ , Str "3;"
+ , Space
+ , Str "@\1087\1091\1085\1082\1090\&3;"
+ , Space
+ , Str "@item2]"
+ ]
+ , Str "."
+ ]
+ ]
+ ]
+ ]
+ , [ Para
+ [ Str "Citation"
, Space
, Str "with"
, Space
, Str "a"
, Space
+ , Str "suffix"
+ , Space
+ , Str "and"
+ , Space
, Str "locator"
, Space
, Cite
- [ Citation
- { citationId = "item2"
- , citationPrefix = []
- , citationSuffix =
- [ Space, Str "p.\160\&44" ]
- , citationMode = SuppressAuthor
- , citationNoteNum = 13
- , citationHash = 0
- }
- ]
- [ Str "[-@item2", Space, Str "p.", Space, Str "44]" ]
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Space
+ , Str "pp.\160\&33,"
+ , Space
+ , Str "35-37,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "nowhere"
+ , Space
+ , Str "else"
+ ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 11
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@item1"
+ , Space
+ , Str "pp."
+ , Space
+ , Str "33,"
+ , Space
+ , Str "35-37,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "nowhere"
+ , Space
+ , Str "else]"
+ ]
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "Citation"
+ , Space
+ , Str "with"
+ , Space
+ , Str "suffix"
+ , Space
+ , Str "only"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Space
+ , Str "and"
+ , Space
+ , Str "nowhere"
+ , Space
+ , Str "else"
+ ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 12
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@item1"
+ , Space
+ , Str "and"
+ , Space
+ , Str "nowhere"
+ , Space
+ , Str "else]"
+ ]
+ , Str "."
+ ]
+ ]
+ , [ Para
+ [ Str "Now"
+ , Space
+ , Str "some"
+ , Space
+ , Str "modifiers."
+ , Note
+ [ Para
+ [ Str "Like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "citation"
+ , Space
+ , Str "without"
+ , Space
+ , Str "author:"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = SuppressAuthor
+ , citationNoteNum = 13
+ , citationHash = 0
+ }
+ ]
+ [ Str "[-@item1]" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "now"
+ , Space
+ , Str "Doe"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "locator"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item2"
+ , citationPrefix = []
+ , citationSuffix =
+ [ Space , Str "p.\160\&44" ]
+ , citationMode = SuppressAuthor
+ , citationNoteNum = 13
+ , citationHash = 0
+ }
+ ]
+ [ Str "[-@item2"
+ , Space
+ , Str "p."
+ , Space
+ , Str "44]"
+ ]
+ , Str "."
+ ]
+ ]
+ ]
+ ]
+ , [ Para
+ [ Str "With"
+ , Space
+ , Str "some"
+ , Space
+ , Str "markup"
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "item1"
+ , citationPrefix = [ Emph [ Str "see" ] ]
+ , citationSuffix =
+ [ Space , Str "p.\160" , Strong [ Str "32" ] ]
+ , citationMode = NormalCitation
+ , citationNoteNum = 14
+ , citationHash = 0
+ }
+ ]
+ [ Str "[*see*"
+ , Space
+ , Str "@item1"
+ , Space
+ , Str "p."
+ , Space
+ , Str "**32**]"
+ ]
, Str "."
]
- ]
]
]
- ,
- [ Para
- [ Str "With"
- , Space
- , Str "some"
- , Space
- , Str "markup"
- , Space
- , Cite
- [ Citation
- { citationId = "item1"
- , citationPrefix =
- [ Emph [ Str "see" ] ]
- , citationSuffix =
- [ Space, Str "p.\160", Strong [ Str "32" ] ]
- , citationMode = NormalCitation
- , citationNoteNum = 14
- , citationHash = 0
- }
- ]
- [ Str "[*see*"
- , Space
- , Str "@item1"
- , Space
- , Str "p."
- , Space
- , Str "**32**]"
- ]
- , Str "."
- ]
- ]
- ]
-, Header 1
- ( "references", [], [] )
- [ Str "References" ]
+, Header 1 ( "references" , [] , [] ) [ Str "References" ]
]
diff --git a/test/markdown-reader-more.native b/test/markdown-reader-more.native
index 99ab260ba..7c15f627a 100644
--- a/test/markdown-reader-more.native
+++ b/test/markdown-reader-more.native
@@ -1,501 +1,406 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "author"
- , MetaList
- [ MetaInlines
- [ Str "Author", Space, Str "One" ]
- , MetaInlines
- [ Str "Author", Space, Str "Two" ]
- , MetaInlines
- [ Str "Author", Space, Str "Three" ]
- , MetaInlines
- [ Str "Author", Space, Str "Four" ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "Author" , Space , Str "One" ]
+ , MetaInlines [ Str "Author" , Space , Str "Two" ]
+ , MetaInlines [ Str "Author" , Space , Str "Three" ]
+ , MetaInlines [ Str "Author" , Space , Str "Four" ]
+ ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Title"
+ , SoftBreak
+ , Str "spanning"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines"
+ ]
+ )
]
- )
- ,
- ( "title"
- , MetaInlines
- [ Str "Title"
- , SoftBreak
- , Str "spanning"
- , Space
- , Str "multiple"
- , Space
- , Str "lines"
- ]
- )
- ]
}
- )
- [ Header 1
- ( "additional-markdown-reader-tests", [], [] )
- [ Str "Additional"
- , Space
- , Str "markdown"
- , Space
- , Str "reader"
- , Space
- , Str "tests"
- ]
- , Header 2
- ( "blank-line-before-url-in-link-reference", [], [] )
- [ Str "Blank"
- , Space
- , Str "line"
- , Space
- , Str "before"
- , Space
- , Str "URL"
- , Space
- , Str "in"
- , Space
- , Str "link"
- , Space
- , Str "reference"
- ]
+ [ Header
+ 1
+ ( "additional-markdown-reader-tests" , [] , [] )
+ [ Str "Additional"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "reader"
+ , Space
+ , Str "tests"
+ ]
+ , Header
+ 2
+ ( "blank-line-before-url-in-link-reference" , [] , [] )
+ [ Str "Blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "before"
+ , Space
+ , Str "URL"
+ , Space
+ , Str "in"
+ , Space
+ , Str "link"
+ , Space
+ , Str "reference"
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "foo" ]
- ( "/url", "" )
- , Space
- , Str "and"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url", "title" )
- ]
- , Header 2
- ( "raw-context-environments", [], [] )
- [ Str "Raw", Space, Str "ConTeXt", Space, Str "environments" ]
+ [ Link ( "" , [] , [] ) [ Str "foo" ] ( "/url" , "" )
+ , Space
+ , Str "and"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url" , "title" )
+ ]
+ , Header
+ 2
+ ( "raw-context-environments" , [] , [] )
+ [ Str "Raw"
+ , Space
+ , Str "ConTeXt"
+ , Space
+ , Str "environments"
+ ]
+ , RawBlock (Format "tex") "\\placeformula \\startformula"
+ , Para
+ [ Str "L_{1}"
+ , Space
+ , Str "="
+ , Space
+ , Str "L_{2}"
+ , SoftBreak
+ , RawInline (Format "tex") "\\stopformula"
+ ]
, RawBlock
- ( Format "tex" ) "\\placeformula \\startformula"
- , Para
- [ Str "L_{1}"
- , Space
- , Str "="
- , Space
- , Str "L_{2}"
- , SoftBreak
- , RawInline
- ( Format "tex" ) "\\stopformula"
- ]
+ (Format "tex")
+ "\\start[a2]\n\\start[a2]\n\\stop[a2]\n\\stop[a2]"
+ , Header
+ 2
+ ( "raw-latex-environments" , [] , [] )
+ [ Str "Raw"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "environments"
+ ]
, RawBlock
- ( Format "tex" ) "\\start[a2]\n\\start[a2]\n\\stop[a2]\n\\stop[a2]"
- , Header 2
- ( "raw-latex-environments", [], [] )
- [ Str "Raw", Space, Str "LaTeX", Space, Str "environments" ]
- , RawBlock
- ( Format "tex" ) "\\begin{center}\n\\begin{tikzpicture}[baseline={([yshift=+-.5ex]current bounding box.center)}, level distance=24pt]\n\\Tree [.{S} [.NP John\\index{i} ] [.VP [.V likes ] [.NP himself\\index{i,*j} ]]]\n\\end{tikzpicture}\n\\end{center}"
- , Header 2
- ( "urls-with-spaces-and-punctuation", [], [] )
- [ Str "URLs"
- , Space
- , Str "with"
- , Space
- , Str "spaces"
- , Space
- , Str "and"
- , Space
- , Str "punctuation"
- ]
+ (Format "tex")
+ "\\begin{center}\n\\begin{tikzpicture}[baseline={([yshift=+-.5ex]current bounding box.center)}, level distance=24pt]\n\\Tree [.{S} [.NP John\\index{i} ] [.VP [.V likes ] [.NP himself\\index{i,*j} ]]]\n\\end{tikzpicture}\n\\end{center}"
+ , Header
+ 2
+ ( "urls-with-spaces-and-punctuation" , [] , [] )
+ [ Str "URLs"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "and"
+ , Space
+ , Str "punctuation"
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "foo" ]
- ( "/bar%20and%20baz", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "foo" ]
- ( "/bar%20and%20baz", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "foo" ]
- ( "/bar%20and%20baz", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "foo" ]
- ( "bar%20baz", "title" )
- ]
+ [ Link
+ ( "" , [] , [] ) [ Str "foo" ] ( "/bar%20and%20baz" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "foo" ] ( "/bar%20and%20baz" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "foo" ] ( "/bar%20and%20baz" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "foo" ] ( "bar%20baz" , "title" )
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "baz" ]
- ( "/foo%20foo", "" )
- , Space
- , Link
- ( "", [], [] )
- [ Str "bam" ]
- ( "/foo%20fee", "" )
- , Space
- , Link
- ( "", [], [] )
- [ Str "bork" ]
- ( "/foo/zee%20zob", "title" )
- ]
+ [ Link ( "" , [] , [] ) [ Str "baz" ] ( "/foo%20foo" , "" )
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bam" ] ( "/foo%20fee" , "" )
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "bork" ]
+ ( "/foo/zee%20zob" , "title" )
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "Ward\8217s", Space, Str "method." ]
- ( "http://en.wikipedia.org/wiki/Ward's_method", "" )
- ]
- , Header 2
- ( "horizontal-rules-with-spaces-at-end", [], [] )
- [ Str "Horizontal"
- , Space
- , Str "rules"
- , Space
- , Str "with"
- , Space
- , Str "spaces"
- , Space
- , Str "at"
- , Space
- , Str "end"
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Ward\8217s" , Space , Str "method." ]
+ ( "http://en.wikipedia.org/wiki/Ward's_method" , "" )
+ ]
+ , Header
+ 2
+ ( "horizontal-rules-with-spaces-at-end" , [] , [] )
+ [ Str "Horizontal"
+ , Space
+ , Str "rules"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "at"
+ , Space
+ , Str "end"
+ ]
, HorizontalRule
, HorizontalRule
- , Header 2
- ( "raw-html-before-header", [], [] )
- [ Str "Raw"
- , Space
- , Str "HTML"
- , Space
- , Str "before"
- , Space
- , Str "header"
- ]
- , Para
- [ RawInline
- ( Format "html" ) ""
- , RawInline
- ( Format "html" ) ""
- ]
- , Header 3
- ( "my-header", [], [] )
- [ Str "my", Space, Str "header" ]
- , Header 2
- ( "in-math", [], [] )
- [ Str "$", Space, Str "in", Space, Str "math" ]
- , Para
- [ Math InlineMath "\\$2 + \\$3" ]
- , Para
- [ Math InlineMath "x = \\text{the $n$th root of $y$}" ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "be"
- , Space
- , Str "math:"
- ]
- , Para
- [ Str "$PATH", Space, Str "90", Space, Str "$PATH" ]
- , Header 2
- ( "commented-out-list-item", [], [] )
- [ Str "Commented-out", Space, Str "list", Space, Str "item" ]
- , BulletList
- [
- [ Plain
- [ Str "one"
- , SoftBreak
- , RawInline
- ( Format "html" ) ""
- ]
+ , Header
+ 2
+ ( "raw-html-before-header" , [] , [] )
+ [ Str "Raw"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "before"
+ , Space
+ , Str "header"
]
- ,
- [ Plain [ Str "three" ] ]
- ]
- , Header 2
- ( "indented-code-at-beginning-of-list", [], [] )
- [ Str "Indented"
- , Space
- , Str "code"
- , Space
- , Str "at"
- , Space
- , Str "beginning"
- , Space
- , Str "of"
- , Space
- , Str "list"
- ]
- , BulletList
- [
- [ CodeBlock
- ( "", [], [] ) "code\ncode"
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ CodeBlock ( "", [], [] ) "code\ncode" ]
- ,
- [ CodeBlock ( "", [], [] ) "code\ncode" ]
- ]
- , BulletList
- [
- [ CodeBlock ( "", [], [] ) "code\ncode" ]
- ,
- [ Plain [ Str "no", Space, Str "code" ] ]
- ]
+ , Para
+ [ RawInline (Format "html") ""
+ , RawInline (Format "html") ""
]
- ]
- , Header 2
- ( "backslash-newline", [], [] )
- [ Str "Backslash", Space, Str "newline" ]
+ , Header
+ 3
+ ( "my-header" , [] , [] )
+ [ Str "my" , Space , Str "header" ]
+ , Header
+ 2
+ ( "in-math" , [] , [] )
+ [ Str "$" , Space , Str "in" , Space , Str "math" ]
+ , Para [ Math InlineMath "\\$2 + \\$3" ]
, Para
- [ Str "hi", LineBreak, Str "there" ]
- , Header 2
- ( "code-spans", [], [] )
- [ Str "Code", Space, Str "spans" ]
+ [ Math InlineMath "x = \\text{the $n$th root of $y$}" ]
, Para
- [ Code ( "", [], [] ) "hi\\" ]
- , Para
- [ Code ( "", [], [] ) "hi there" ]
- , Para
- [ Code ( "", [], [] ) "hi````there" ]
- , Para
- [ Str "`hi" ]
- , Para
- [ Str "there`" ]
- , Header 2
- ( "multilingual-urls", [], [] )
- [ Str "Multilingual", Space, Str "URLs" ]
- , Para
- [ Link
- ( "", [ "uri" ], [] )
- [ Str "http://\27979.com?\27979=\27979" ]
- ( "http://\27979.com?\27979=\27979", "" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "foo" ]
- ( "/bar/\27979?x=\27979", "title" )
- ]
- , Para
- [ Link
- ( "", [ "email" ], [] )
- [ Str "\27979@foo.\27979.baz" ]
- ( "mailto:\27979@foo.\27979.baz", "" )
- ]
- , Header 2
- ( "numbered-examples", [], [] )
- [ Str "Numbered", Space, Str "examples" ]
- , OrderedList
- ( 1, Example, TwoParens )
- [
- [ Plain [ Str "First", Space, Str "example." ] ]
- ,
- [ Plain [ Str "Second", Space, Str "example." ] ]
- ]
- , Para
- [ Str "Explanation"
- , Space
- , Str "of"
- , Space
- , Str "examples"
- , Space
- , Str "(2)"
- , Space
- , Str "and"
- , Space
- , Str "(3)."
- ]
- , OrderedList
- ( 3, Example, TwoParens )
- [ [ Plain [ Str "Third", Space, Str "example." ] ] ]
- , Header 2
- ( "macros", [], [] )
- [ Str "Macros" ]
- , RawBlock
- ( Format "tex" ) "\\newcommand{\\tuple}[1]{\\langle #1 \\rangle}"
- , Para
- [ Math InlineMath "\\langle x,y \\rangle" ]
- , Header 2
- ( "case-insensitive-references", [], [] )
- [ Str "Case-insensitive", Space, Str "references" ]
- , Para
- [ Link ( "", [], [] ) [ Str "Fum" ] ( "/fum", "" ) ]
- , Para
- [ Link ( "", [], [] ) [ Str "FUM" ] ( "/fum", "" ) ]
- , Para
- [ Link ( "", [], [] ) [ Str "bat" ] ( "/bat", "" ) ]
- , Header 2
- ( "curly-smart-quotes", [], [] )
- [ Str "Curly", Space, Str "smart", Space, Str "quotes" ]
- , Para
- [ Quoted DoubleQuote [ Str "Hi" ] ]
- , Para
- [ Quoted SingleQuote [ Str "Hi" ] ]
- , Header 2
- ( "consecutive-lists", [], [] )
- [ Str "Consecutive", Space, Str "lists" ]
- , BulletList
- [ [ Plain [ Str "one" ] ], [ Plain [ Str "two" ] ] ]
- , OrderedList
- ( 1, Decimal, Period )
- [ [ Plain [ Str "one" ] ], [ Plain [ Str "two" ] ] ]
- , OrderedList
- ( 1, LowerAlpha, Period )
- [ [ Plain [ Str "one" ] ], [ Plain [ Str "two" ] ] ]
- , Header 2
- ( "implicit-header-references", [], [] )
- [ Str "Implicit", Space, Str "header", Space, Str "references" ]
- , Header 3
- ( "my-header-1", [], [] )
- [ Str "My", Space, Str "header" ]
- , Header 3
- ( "my-other-header", [], [] )
- [ Str "My", Space, Str "other", Space, Str "header" ]
- , Para
- [ Str "A"
- , Space
- , Str "link"
- , Space
- , Str "to"
- , Space
- , Link
- ( "", [], [] )
- [ Str "My", Space, Str "header" ]
- ( "#my-header-1", "" )
- , Str "."
- ]
- , Para
- [ Str "Another"
- , Space
- , Str "link"
- , Space
- , Str "to"
- , Space
- , Link
- ( "", [], [] )
- [ Str "it" ]
- ( "#my-header-1", "" )
- , Str "."
- ]
- , Para
- [ Str "Should"
- , Space
- , Str "be"
- , Space
- , Link
- ( "", [], [] )
- [ Str "case", Space, Str "insensitive" ]
- ( "#my-header-1", "" )
- , Str "."
- ]
- , Para
- [ Str "Link"
- , Space
- , Str "to"
- , Space
- , Link
- ( "", [], [] )
- [ Str "Explicit", Space, Str "header", Space, Str "attributes" ]
- ( "#foobar", "" )
- , Str "."
- ]
- , Para
- [ Str "But"
- , Space
- , Str "this"
- , Space
- , Str "is"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "link"
- , Space
- , Str "to"
- , Space
- , Link
- ( "", [], [] )
- [ Str "My", Space, Str "other", Space, Str "header" ]
- ( "/foo", "" )
- , Str ","
- , Space
- , Str "since"
- , Space
- , Str "the"
- , Space
- , Str "reference"
- , Space
- , Str "is"
- , Space
- , Str "defined."
- ]
- , Header 2
- ( "foobar", [ "baz" ], [ ( "key", "val" ) ] )
- [ Str "Explicit", Space, Str "header", Space, Str "attributes" ]
- , BlockQuote
- [ Header 2
- ( "foobar", [ "baz" ], [ ( "key", "val" ) ] )
- [ Str "Header"
+ [ Str "This"
, Space
- , Str "attributes"
- , Space
- , Str "inside"
- , Space
- , Str "block"
- , Space
- , Str "quote"
- ]
- ]
- , Header 2
- ( "line-blocks", [], [] )
- [ Str "Line", Space, Str "blocks" ]
- , LineBlock
- [
- [ Str "But"
- , Space
- , Str "can"
- , Space
- , Str "a"
- , Space
- , Str "bee"
- , Space
- , Str "be"
- , Space
- , Str "said"
- , Space
- , Str "to"
- , Space
- , Str "be"
- ]
- ,
- [ Str "\160\160\160\160or"
+ , Str "should"
, Space
, Str "not"
, Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , Para
+ [ Str "$PATH" , Space , Str "90" , Space , Str "$PATH" ]
+ , Header
+ 2
+ ( "commented-out-list-item" , [] , [] )
+ [ Str "Commented-out"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "one"
+ , SoftBreak
+ , RawInline (Format "html") ""
+ ]
+ ]
+ , [ Plain [ Str "three" ] ]
+ ]
+ , Header
+ 2
+ ( "indented-code-at-beginning-of-list" , [] , [] )
+ [ Str "Indented"
+ , Space
+ , Str "code"
+ , Space
+ , Str "at"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "of"
+ , Space
+ , Str "list"
+ ]
+ , BulletList
+ [ [ CodeBlock ( "" , [] , [] ) "code\ncode"
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ CodeBlock ( "" , [] , [] ) "code\ncode" ]
+ , [ CodeBlock ( "" , [] , [] ) "code\ncode" ]
+ ]
+ , BulletList
+ [ [ CodeBlock ( "" , [] , [] ) "code\ncode" ]
+ , [ Plain [ Str "no" , Space , Str "code" ] ]
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "backslash-newline" , [] , [] )
+ [ Str "Backslash" , Space , Str "newline" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Header
+ 2
+ ( "code-spans" , [] , [] )
+ [ Str "Code" , Space , Str "spans" ]
+ , Para [ Code ( "" , [] , [] ) "hi\\" ]
+ , Para [ Code ( "" , [] , [] ) "hi there" ]
+ , Para [ Code ( "" , [] , [] ) "hi````there" ]
+ , Para [ Str "`hi" ]
+ , Para [ Str "there`" ]
+ , Header
+ 2
+ ( "multilingual-urls" , [] , [] )
+ [ Str "Multilingual" , Space , Str "URLs" ]
+ , Para
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://\27979.com?\27979=\27979" ]
+ ( "http://\27979.com?\27979=\27979" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "foo" ]
+ ( "/bar/\27979?x=\27979" , "title" )
+ ]
+ , Para
+ [ Link
+ ( "" , [ "email" ] , [] )
+ [ Str "\27979@foo.\27979.baz" ]
+ ( "mailto:\27979@foo.\27979.baz" , "" )
+ ]
+ , Header
+ 2
+ ( "numbered-examples" , [] , [] )
+ [ Str "Numbered" , Space , Str "examples" ]
+ , OrderedList
+ ( 1 , Example , TwoParens )
+ [ [ Plain [ Str "First" , Space , Str "example." ] ]
+ , [ Plain [ Str "Second" , Space , Str "example." ] ]
+ ]
+ , Para
+ [ Str "Explanation"
+ , Space
+ , Str "of"
+ , Space
+ , Str "examples"
+ , Space
+ , Str "(2)"
+ , Space
+ , Str "and"
+ , Space
+ , Str "(3)."
+ ]
+ , OrderedList
+ ( 3 , Example , TwoParens )
+ [ [ Plain [ Str "Third" , Space , Str "example." ] ] ]
+ , Header 2 ( "macros" , [] , [] ) [ Str "Macros" ]
+ , RawBlock
+ (Format "tex")
+ "\\newcommand{\\tuple}[1]{\\langle #1 \\rangle}"
+ , Para [ Math InlineMath "\\langle x,y \\rangle" ]
+ , Header
+ 2
+ ( "case-insensitive-references" , [] , [] )
+ [ Str "Case-insensitive" , Space , Str "references" ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Fum" ] ( "/fum" , "" ) ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "FUM" ] ( "/fum" , "" ) ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "bat" ] ( "/bat" , "" ) ]
+ , Header
+ 2
+ ( "curly-smart-quotes" , [] , [] )
+ [ Str "Curly" , Space , Str "smart" , Space , Str "quotes" ]
+ , Para [ Quoted DoubleQuote [ Str "Hi" ] ]
+ , Para [ Quoted SingleQuote [ Str "Hi" ] ]
+ , Header
+ 2
+ ( "consecutive-lists" , [] , [] )
+ [ Str "Consecutive" , Space , Str "lists" ]
+ , BulletList
+ [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
+ , OrderedList
+ ( 1 , LowerAlpha , Period )
+ [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
+ , Header
+ 2
+ ( "implicit-header-references" , [] , [] )
+ [ Str "Implicit"
+ , Space
+ , Str "header"
+ , Space
+ , Str "references"
+ ]
+ , Header
+ 3
+ ( "my-header-1" , [] , [] )
+ [ Str "My" , Space , Str "header" ]
+ , Header
+ 3
+ ( "my-other-header" , [] , [] )
+ [ Str "My" , Space , Str "other" , Space , Str "header" ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Space
, Str "to"
, Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "My" , Space , Str "header" ]
+ ( "#my-header-1" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Another"
+ , Space
+ , Str "link"
+ , Space
+ , Str "to"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "it" ] ( "#my-header-1" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Should"
+ , Space
, Str "be"
, Space
- , Str "an"
- , Space
- , Str "entire"
- , Space
- , Str "bee,"
+ , Link
+ ( "" , [] , [] )
+ [ Str "case" , Space , Str "insensitive" ]
+ ( "#my-header-1" , "" )
+ , Str "."
]
- ,
- [ Str "\160\160\160\160\160\160\160\160when"
+ , Para
+ [ Str "Link"
, Space
- , Str "half"
+ , Str "to"
, Space
- , Str "the"
+ , Link
+ ( "" , [] , [] )
+ [ Str "Explicit"
+ , Space
+ , Str "header"
+ , Space
+ , Str "attributes"
+ ]
+ ( "#foobar" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "But"
, Space
- , Str "bee"
+ , Str "this"
, Space
, Str "is"
, Space
@@ -503,725 +408,937 @@ Pandoc
, Space
, Str "a"
, Space
- , Str "bee,"
- ]
- ,
- [ Str "\160\160\160\160\160\160\160\160\160\160\160\160due"
+ , Str "link"
, Space
, Str "to"
, Space
- , Str "some"
+ , Link
+ ( "" , [] , [] )
+ [ Str "My" , Space , Str "other" , Space , Str "header" ]
+ ( "/foo" , "" )
+ , Str ","
, Space
- , Str "ancient"
+ , Str "since"
, Space
- , Str "injury?"
- ]
- , []
- ,
- [ Str "Continuation", Space, Str "line" ]
- ,
- [ Str "\160\160and", Space, Str "another" ]
- ]
- , Header 2
- ( "grid-tables", [], [] )
- [ Str "Grid", Space, Str "Tables" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.2638888888888889 )
- ,
- ( AlignDefault, ColWidth 0.16666666666666666 )
- ,
- ( AlignDefault, ColWidth 0.18055555555555555 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "3" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "r1"
- , Space
- , Str "a"
- , SoftBreak
- , Str "r1"
- , Space
- , Str "bis"
- ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b", SoftBreak, Str "b", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c", SoftBreak, Str "c", Space, Str "2" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Headless" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.2638888888888889 )
- ,
- ( AlignDefault, ColWidth 0.16666666666666666 )
- ,
- ( AlignDefault, ColWidth 0.18055555555555555 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "r1"
- , Space
- , Str "a"
- , SoftBreak
- , Str "r1"
- , Space
- , Str "bis"
- ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b", SoftBreak, Str "b", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c", SoftBreak, Str "c", Space, Str "2" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "With", Space, Str "alignments" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidth 0.2638888888888889 )
- ,
- ( AlignLeft, ColWidth 0.16666666666666666 )
- ,
- ( AlignCenter, ColWidth 0.18055555555555555 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "3" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "r1"
- , Space
- , Str "a"
- , SoftBreak
- , Str "r1"
- , Space
- , Str "bis"
- ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b", SoftBreak, Str "b", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c", SoftBreak, Str "c", Space, Str "2" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Headless", Space, Str "with", Space, Str "alignments" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidth 0.2638888888888889 )
- ,
- ( AlignLeft, ColWidth 0.16666666666666666 )
- ,
- ( AlignCenter, ColWidth 0.18055555555555555 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "r1"
- , Space
- , Str "a"
- , SoftBreak
- , Str "r1"
- , Space
- , Str "bis"
- ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b", SoftBreak, Str "b", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c", SoftBreak, Str "c", Space, Str "2" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Spaces"
- , Space
- , Str "at"
- , Space
- , Str "ends"
- , Space
- , Str "of"
- , Space
- , Str "lines"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.2638888888888889 )
- ,
- ( AlignDefault, ColWidth 0.16666666666666666 )
- ,
- ( AlignDefault, ColWidth 0.18055555555555555 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "r1"
- , Space
- , Str "a"
- , SoftBreak
- , Str "r1"
- , Space
- , Str "bis"
- ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b", SoftBreak, Str "b", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c", SoftBreak, Str "c", Space, Str "2" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Multiple"
- , Space
- , Str "blocks"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "cell"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.2638888888888889 )
- ,
- ( AlignDefault, ColWidth 0.16666666666666666 )
- ,
- ( AlignDefault, ColWidth 0.18055555555555555 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Header 1
- ( "col-1", [], [] )
- [ Str "col", Space, Str "1" ]
- , Plain
- [ Str "col", Space, Str "1" ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Header 1
- ( "col-2", [], [] )
- [ Str "col", Space, Str "2" ]
- , Plain
- [ Str "col", Space, Str "2" ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Header 1
- ( "col-3", [], [] )
- [ Str "col", Space, Str "3" ]
- , Plain
- [ Str "col", Space, Str "3" ]
- ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para
- [ Str "r1", Space, Str "a" ]
- , Para
- [ Str "r1", Space, Str "bis" ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ BulletList
- [
- [ Plain [ Str "b" ] ]
- ,
- [ Plain [ Str "b", Space, Str "2" ] ]
- ,
- [ Plain [ Str "b", Space, Str "2" ] ]
- ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "c"
- , SoftBreak
- , Str "c"
- , Space
- , Str "2"
- , SoftBreak
- , Str "c"
- , Space
- , Str "2"
- ]
- ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Empty", Space, Str "cells" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 5.555555555555555 e- 2 )
- ,
- ( AlignDefault, ColWidth 5.555555555555555 e- 2 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 2
- ( "entities-in-links-and-titles", [], [] )
- [ Str "Entities"
- , Space
- , Str "in"
- , Space
- , Str "links"
- , Space
- , Str "and"
- , Space
- , Str "titles"
- ]
- , Para
- [ Link ( "", [], [] ) [ Str "link" ] ( "/\252rl", "\246\246!" ) ]
- , Para
- [ Link
- ( "", [ "uri" ], [] )
- [ Str "http://g\246\246gle.com" ]
- ( "http://g\246\246gle.com", "" )
- ]
- , Para
- [ Link
- ( "", [ "email" ], [] )
- [ Str "me@ex\228mple.com" ]
- ( "mailto:me@ex\228mple.com", "" )
- ]
- , Para
- [ Link ( "", [], [] ) [ Str "foobar" ] ( "/\252rl", "\246\246!" ) ]
- , Header 2
- ( "parentheses-in-urls", [], [] )
- [ Str "Parentheses", Space, Str "in", Space, Str "URLs" ]
- , Para
- [ Link ( "", [], [] ) [ Str "link" ] ( "/hi(there)", "" ) ]
- , Para
- [ Link ( "", [], [] ) [ Str "link" ] ( "/hithere)", "" ) ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "linky" ]
- ( "hi_(there_(nested))", "" )
- ]
- , Header 2
- ( "backslashes-in-link-references", [], [] )
- [ Str "Backslashes"
- , Space
- , Str "in"
- , Space
- , Str "link"
- , Space
- , Str "references"
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "*", RawInline ( Format "tex" ) "\\a" ]
- ( "b", "" )
- ]
- , Header 2
- ( "reference-link-fallbacks", [], [] )
- [ Str "Reference", Space, Str "link", Space, Str "fallbacks" ]
- , Para
- [ Str "["
- , Emph
- [ Str "not", Space, Str "a", Space, Str "link" ]
- , Str "]"
- , Space
- , Str "["
- , Emph
- [ Str "nope" ]
- , Str "]\8230"
- ]
- , Header 2
- ( "reference-link-followed-by-a-citation", [], [] )
- [ Str "Reference"
- , Space
- , Str "link"
- , Space
- , Str "followed"
- , Space
- , Str "by"
- , Space
- , Str "a"
- , Space
- , Str "citation"
- ]
- , Para
- [ Str "MapReduce"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "paradigm"
- , Space
- , Str "popularized"
- , Space
- , Str "by"
- , Space
- , Link
- ( "", [], [] )
- [ Str "Google" ]
- ( "http://google.com", "" )
- , Space
- , Cite
- [ Citation
- { citationId = "mapreduce"
- , citationPrefix = []
- , citationSuffix = []
- , citationMode = NormalCitation
- , citationNoteNum = 2
- , citationHash = 0
- }
- ]
- [ Str "[@mapreduce]" ]
- , Space
- , Str "as"
- , Space
- , Str "its"
- , SoftBreak
- , Str "most"
- , Space
- , Str "vocal"
- , Space
- , Str "proponent."
- ]
- , Header 2
- ( "empty-reference-links", [], [] )
- [ Str "Empty", Space, Str "reference", Space, Str "links" ]
- , Para
- [ Str "bar" ]
- , Para
- [ Link ( "", [], [] ) [ Str "foo2" ] ( "", "" ) ]
- , Header 2
- ( "wrapping-shouldnt-introduce-new-list-items", [], [] )
- [ Str "Wrapping"
- , Space
- , Str "shouldn\8217t"
- , Space
- , Str "introduce"
- , Space
- , Str "new"
- , Space
- , Str "list"
- , Space
- , Str "items"
- ]
- , BulletList
- [
- [ Plain
- [ Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "blah"
- , Space
- , Str "2015."
- ]
- ]
- ]
- , Header 2
- ( "bracketed-spans", [], [] )
- [ Str "Bracketed", Space, Str "spans" ]
- , Para
- [ Span
- ( "id", [ "class" ], [ ( "key", "val" ) ] )
- [ Emph
- [ Str "foo" ]
+ , Str "the"
, Space
- , Str "bar"
+ , Str "reference"
, Space
- , Str "baz"
+ , Str "is"
+ , Space
+ , Str "defined."
+ ]
+ , Header
+ 2
+ ( "foobar" , [ "baz" ] , [ ( "key" , "val" ) ] )
+ [ Str "Explicit"
+ , Space
+ , Str "header"
+ , Space
+ , Str "attributes"
+ ]
+ , BlockQuote
+ [ Header
+ 2
+ ( "foobar" , [ "baz" ] , [ ( "key" , "val" ) ] )
+ [ Str "Header"
+ , Space
+ , Str "attributes"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote"
+ ]
+ ]
+ , Header
+ 2
+ ( "line-blocks" , [] , [] )
+ [ Str "Line" , Space , Str "blocks" ]
+ , LineBlock
+ [ [ Str "But"
+ , Space
+ , Str "can"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bee"
+ , Space
+ , Str "be"
+ , Space
+ , Str "said"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ ]
+ , [ Str "\160\160\160\160or"
+ , Space
+ , Str "not"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "entire"
+ , Space
+ , Str "bee,"
+ ]
+ , [ 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,"
+ ]
+ , [ 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?"
+ ]
+ , []
+ , [ Str "Continuation" , Space , Str "line" ]
+ , [ Str "\160\160and" , Space , Str "another" ]
+ ]
+ , Header
+ 2
+ ( "grid-tables" , [] , [] )
+ [ Str "Grid" , Space , Str "Tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2638888888888889 )
+ , ( AlignDefault , ColWidth 0.16666666666666666 )
+ , ( AlignDefault , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "Headless" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2638888888888889 )
+ , ( AlignDefault , ColWidth 0.16666666666666666 )
+ , ( AlignDefault , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "With" , Space , Str "alignments" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidth 0.2638888888888889 )
+ , ( AlignLeft , ColWidth 0.16666666666666666 )
+ , ( AlignCenter , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Headless"
+ , Space
+ , Str "with"
+ , Space
+ , Str "alignments"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidth 0.2638888888888889 )
+ , ( AlignLeft , ColWidth 0.16666666666666666 )
+ , ( AlignCenter , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Spaces"
+ , Space
+ , Str "at"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "of"
+ , Space
+ , Str "lines"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2638888888888889 )
+ , ( AlignDefault , ColWidth 0.16666666666666666 )
+ , ( AlignDefault , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "b"
+ , SoftBreak
+ , Str "b"
+ , Space
+ , Str "2"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "cell"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2638888888888889 )
+ , ( AlignDefault , ColWidth 0.16666666666666666 )
+ , ( AlignDefault , ColWidth 0.18055555555555555 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Header
+ 1
+ ( "col-1" , [] , [] )
+ [ Str "col" , Space , Str "1" ]
+ , Plain [ Str "col" , Space , Str "1" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Header
+ 1
+ ( "col-2" , [] , [] )
+ [ Str "col" , Space , Str "2" ]
+ , Plain [ Str "col" , Space , Str "2" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Header
+ 1
+ ( "col-3" , [] , [] )
+ [ Str "col" , Space , Str "3" ]
+ , Plain [ Str "col" , Space , Str "3" ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "r1" , Space , Str "a" ]
+ , Para [ Str "r1" , Space , Str "bis" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ BulletList
+ [ [ Plain [ Str "b" ] ]
+ , [ Plain [ Str "b" , Space , Str "2" ] ]
+ , [ Plain [ Str "b" , Space , Str "2" ] ]
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "Empty" , Space , Str "cells" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 5.555555555555555e-2 )
+ , ( AlignDefault , ColWidth 5.555555555555555e-2 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "entities-in-links-and-titles" , [] , [] )
+ [ Str "Entities"
+ , Space
+ , Str "in"
+ , Space
+ , Str "links"
+ , Space
+ , Str "and"
+ , Space
+ , Str "titles"
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] ) [ Str "link" ] ( "/\252rl" , "\246\246!" )
+ ]
+ , Para
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://g\246\246gle.com" ]
+ ( "http://g\246\246gle.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [ "email" ] , [] )
+ [ Str "me@ex\228mple.com" ]
+ ( "mailto:me@ex\228mple.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "foobar" ]
+ ( "/\252rl" , "\246\246!" )
+ ]
+ , Header
+ 2
+ ( "parentheses-in-urls" , [] , [] )
+ [ Str "Parentheses"
+ , Space
+ , Str "in"
+ , Space
+ , Str "URLs"
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "link" ] ( "/hi(there)" , "" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "link" ] ( "/hithere)" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "linky" ]
+ ( "hi_(there_(nested))" , "" )
+ ]
+ , Header
+ 2
+ ( "backslashes-in-link-references" , [] , [] )
+ [ Str "Backslashes"
+ , Space
+ , Str "in"
+ , Space
+ , Str "link"
+ , Space
+ , Str "references"
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "*" , RawInline (Format "tex") "\\a" ]
+ ( "b" , "" )
+ ]
+ , Header
+ 2
+ ( "reference-link-fallbacks" , [] , [] )
+ [ Str "Reference"
+ , Space
+ , Str "link"
+ , Space
+ , Str "fallbacks"
+ ]
+ , Para
+ [ Str "["
+ , Emph [ Str "not" , Space , Str "a" , Space , Str "link" ]
+ , Str "]"
+ , Space
+ , Str "["
+ , Emph [ Str "nope" ]
+ , Str "]\8230"
+ ]
+ , Header
+ 2
+ ( "reference-link-followed-by-a-citation" , [] , [] )
+ [ Str "Reference"
+ , Space
+ , Str "link"
+ , Space
+ , Str "followed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "citation"
+ ]
+ , Para
+ [ Str "MapReduce"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paradigm"
+ , Space
+ , Str "popularized"
+ , Space
+ , Str "by"
, Space
, Link
- ( "", [], [] )
- [ Str "link" ]
- ( "url", "" )
+ ( "" , [] , [] )
+ [ Str "Google" ]
+ ( "http://google.com" , "" )
+ , Space
+ , Cite
+ [ Citation
+ { citationId = "mapreduce"
+ , citationPrefix = []
+ , citationSuffix = []
+ , citationMode = NormalCitation
+ , citationNoteNum = 2
+ , citationHash = 0
+ }
+ ]
+ [ Str "[@mapreduce]" ]
+ , Space
+ , Str "as"
+ , Space
+ , Str "its"
+ , SoftBreak
+ , Str "most"
+ , Space
+ , Str "vocal"
+ , Space
+ , Str "proponent."
+ ]
+ , Header
+ 2
+ ( "empty-reference-links" , [] , [] )
+ [ Str "Empty"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "links"
+ ]
+ , Para [ Str "bar" ]
+ , Para [ Link ( "" , [] , [] ) [ Str "foo2" ] ( "" , "" ) ]
+ , Header
+ 2
+ ( "wrapping-shouldnt-introduce-new-list-items" , [] , [] )
+ [ Str "Wrapping"
+ , Space
+ , Str "shouldn\8217t"
+ , Space
+ , Str "introduce"
+ , Space
+ , Str "new"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "blah"
+ , Space
+ , Str "2015."
+ ]
+ ]
+ ]
+ , Header
+ 2
+ ( "bracketed-spans" , [] , [] )
+ [ Str "Bracketed" , Space , Str "spans" ]
+ , Para
+ [ Span
+ ( "id" , [ "class" ] , [ ( "key" , "val" ) ] )
+ [ Emph [ Str "foo" ]
+ , Space
+ , Str "bar"
+ , Space
+ , Str "baz"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "link" ] ( "url" , "" )
+ ]
]
- ]
]
diff --git a/test/mediawiki-reader.native b/test/mediawiki-reader.native
index 0a1e1c29d..184809ea6 100644
--- a/test/mediawiki-reader.native
+++ b/test/mediawiki-reader.native
@@ -1,1444 +1,1431 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
- [ 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, Str "level", Space, Str "3" ]
- , Header 4
- ( "header_level_four", [], [] )
- [ Str "header", Space, Emph [ Str "level" ], Space, Str "four" ]
- , Header 5
- ( "header_level_5", [], [] )
- [ Str "header", Space, 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
- [ Code ( "", [], [] ) "==\160not\160a\160header\160==" ]
- , Header 2
- ( "emph_and_strong", [], [] )
- [ Str "emph", Space, Str "and", Space, Str "strong" ]
- , Para
- [ Emph [ Str "emph" ], Space, Strong [ Str "strong" ] ]
- , Para
- [ Strong
- [ Emph [ Str "strong", Space, Str "and", Space, Str "emph" ] ]
- ]
- , Para
- [ Strong
- [ Emph [ Str "emph", Space, Str "inside" ], Space, Str "strong" ]
- ]
- , Para
- [ Strong
- [ Str "strong", Space, Str "with", Space, Emph [ Str "emph" ] ]
- ]
- , Para
- [ Emph
- [ Strong
- [ Str "strong", Space, Str "inside" ]
+ Meta { unMeta = fromList [] }
+ [ 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 , Str "level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "header_level_four" , [] , [] )
+ [ Str "header"
, Space
- , Str "emph"
+ , Emph [ Str "level" ]
+ , Space
+ , Str "four"
]
- ]
- , Header 2
- ( "horizontal_rule", [], [] )
- [ Str "horizontal", Space, Str "rule" ]
+ , Header
+ 5
+ ( "header_level_5" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "5" ]
+ , Header
+ 6
+ ( "header_level_6" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "6" ]
, Para
- [ Str "top" ]
- , HorizontalRule
- , Para
- [ Str "bottom" ]
- , HorizontalRule
- , Header 2
- ( "nowiki", [], [] )
- [ Str "nowiki" ]
- , Para
- [ Str "''not", Space, Str "emph''" ]
- , Header 2
- ( "strikeout", [], [] )
- [ Str "strikeout" ]
- , Para
- [ Strikeout
- [ Str "This"
+ [ Str "======="
, Space
- , Str "is"
- , Space
- , Emph
- [ Str "struck", Space, Str "out" ]
- ]
- ]
- , Header 2
- ( "entities", [], [] )
- [ Str "entities" ]
- , Para
- [ Str "hi", Space, Str "&", Space, Str "low" ]
- , Para
- [ Str "hi", Space, Str "&", Space, Str "low" ]
- , Para
- [ Str "G\246del" ]
- , Para
- [ Str "\777\2730" ]
- , Header 2
- ( "comments", [], [] )
- [ Str "comments" ]
- , Para
- [ Str "inline", Space, Str "comment" ]
- , Para
- [ Str "between", Space, Str "blocks" ]
- , Header 2
- ( "linebreaks", [], [] )
- [ Str "linebreaks" ]
- , Para
- [ Str "hi", LineBreak, Str "there" ]
- , Para
- [ Str "hi", LineBreak, Str "there" ]
- , Header 2
- ( "indents", [], [] )
- [ Str ":", Space, Str "indents" ]
- , Para
- [ Str "hi" ]
- , DefinitionList
- [ ( [], [ [ Plain [ Str "there" ] ] ] ) ]
- , Para
- [ Str "bud" ]
- , Para
- [ Str "hi" ]
- , DefinitionList
- [
- ( []
- ,
- [ [ DefinitionList [ ( [], [ [ Plain [ Str "there" ] ] ] ) ] ] ]
- )
- ]
- , Para
- [ Str "bud" ]
- , Header 2
- ( "p_tags", [], [] )
- [ Str "p", Space, Str "tags" ]
- , Para
- [ Str "hi", Space, Str "there" ]
- , Para
- [ Str "bud" ]
- , Para
- [ Str "another" ]
- , Header 2
- ( "raw_html", [], [] )
- [ Str "raw", Space, Str "html" ]
- , Para
- [ Str "hi"
- , Space
- , RawInline
- ( Format "html" ) ""
- , Emph
- [ Str "there" ]
- , RawInline
- ( Format "html" ) ""
- , Str "."
- ]
- , Para
- [ RawInline
- ( Format "html" ) ""
- , Str "inserted"
- , RawInline
- ( Format "html" ) ""
- ]
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "hi", Space, Emph [ Str "there" ] ]
- , RawBlock
- ( Format "html" ) ""
- , Header 2
- ( "sup_sub_del", [], [] )
- [ Str "sup,", Space, Str "sub,", Space, Str "del" ]
- , Para
- [ Str "H"
- , Subscript
- [ Str "2" ]
- , Str "O"
- , Space
- , Str "base"
- , Superscript
- [ Emph [ Str "exponent" ] ]
- , SoftBreak
- , Strikeout
- [ Str "hello" ]
- ]
- , Header 2
- ( "inline_code", [], [] )
- [ Str "inline", Space, Str "code" ]
- , Para
- [ Code
- ( "", [], [] ) "*\8594*"
- , Space
- , Code
- ( "", [], [] ) "typed"
- , Space
- , Code
- ( "", [ "haskell" ], [] ) ">>="
- ]
- , Header 2
- ( "code_blocks", [], [] )
- [ Str "code", Space, Str "blocks" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
- , CodeBlock
- ( ""
- , [ "haskell" ]
- , []
- ) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
- , CodeBlock
- ( ""
- ,
- [ "ruby", "numberLines" ]
- ,
- [ ( "startFrom", "100" ) ]
- ) "widgets.each do |w|\n print w.price\nend"
- , Header 2
- ( "block_quotes", [], [] )
- [ Str "block", Space, Str "quotes" ]
- , Para
- [ Str "Regular", Space, Str "paragraph" ]
- , BlockQuote
- [ Para
- [ Str "This"
- , Space
- , Str "is"
+ , Str "not"
, Space
, Str "a"
, Space
- , Str "block"
+ , Str "header"
, Space
- , Str "quote."
+ , Str "========"
]
- , Para
- [ Str "With", Space, Str "two", Space, Str "paragraphs." ]
- ]
, Para
- [ Str "Nother", Space, Str "paragraph." ]
- , Header 2
- ( "external_links", [], [] )
- [ Str "external", Space, Str "links" ]
+ [ Code ( "" , [] , [] ) "==\160not\160a\160header\160==" ]
+ , Header
+ 2
+ ( "emph_and_strong" , [] , [] )
+ [ Str "emph" , Space , Str "and" , Space , Str "strong" ]
+ , Para
+ [ Emph [ Str "emph" ] , Space , Strong [ Str "strong" ] ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "strong" , Space , Str "and" , Space , Str "emph" ]
+ ]
+ ]
+ , Para
+ [ Strong
+ [ Emph [ Str "emph" , Space , Str "inside" ]
+ , Space
+ , Str "strong"
+ ]
+ ]
+ , Para
+ [ Strong
+ [ Str "strong"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emph" ]
+ ]
+ ]
, Para
- [ Link
- ( "", [], [] )
[ Emph
- [ Str "Google" ]
- , Space
- , Str "search"
- , Space
- , Str "engine"
+ [ Strong [ Str "strong" , Space , Str "inside" ]
+ , Space
+ , Str "emph"
+ ]
]
- ( "http://google.com", "" )
- ]
+ , Header
+ 2
+ ( "horizontal_rule" , [] , [] )
+ [ Str "horizontal" , Space , Str "rule" ]
+ , Para [ Str "top" ]
+ , HorizontalRule
+ , Para [ Str "bottom" ]
+ , HorizontalRule
+ , Header 2 ( "nowiki" , [] , [] ) [ Str "nowiki" ]
+ , Para [ Str "''not" , Space , Str "emph''" ]
+ , Header 2 ( "strikeout" , [] , [] ) [ Str "strikeout" ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "http://pandoc.org" ]
- ( "http://pandoc.org", "" )
- ]
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "struck" , Space , Str "out" ]
+ ]
+ ]
+ , Header 2 ( "entities" , [] , [] ) [ Str "entities" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "G\246del" ]
+ , Para [ Str "\777\2730" ]
+ , Header 2 ( "comments" , [] , [] ) [ Str "comments" ]
+ , Para [ Str "inline" , Space , Str "comment" ]
+ , Para [ Str "between" , Space , Str "blocks" ]
+ , Header 2 ( "linebreaks" , [] , [] ) [ Str "linebreaks" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Header
+ 2
+ ( "indents" , [] , [] )
+ [ Str ":" , Space , Str "indents" ]
+ , Para [ Str "hi" ]
+ , DefinitionList [ ( [] , [ [ Plain [ Str "there" ] ] ] ) ]
+ , Para [ Str "bud" ]
+ , Para [ Str "hi" ]
+ , DefinitionList
+ [ ( []
+ , [ [ DefinitionList
+ [ ( [] , [ [ Plain [ Str "there" ] ] ] ) ]
+ ]
+ ]
+ )
+ ]
+ , Para [ Str "bud" ]
+ , Header
+ 2 ( "p_tags" , [] , [] ) [ Str "p" , Space , Str "tags" ]
+ , Para [ Str "hi" , Space , Str "there" ]
+ , Para [ Str "bud" ]
+ , Para [ Str "another" ]
+ , Header
+ 2
+ ( "raw_html" , [] , [] )
+ [ Str "raw" , Space , Str "html" ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "1" ]
- ( "http://google.com", "" )
- , Space
- , Link
- ( "", [], [] )
- [ Str "2" ]
- ( "http://yahoo.com", "" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "email", Space, Str "me" ]
- ( "mailto:info@example.org", "" )
- ]
- , Header 2
- ( "internal_links", [], [] )
- [ Str "internal", Space, Str "links" ]
- , Para
- [ Link ( "", [], [] ) [ Str "Help" ] ( "Help", "wikilink" ) ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "the", Space, Str "help", Space, Str "page" ]
- ( "Help", "wikilink" )
- ]
- , Para
- [ Link ( "", [], [] ) [ Str "Helpers" ] ( "Help", "wikilink" ) ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "Help" ]
- ( "Help", "wikilink" )
- , Str "ers"
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "Contents" ]
- ( "Help:Contents", "wikilink" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "#My", Space, Str "anchor" ]
- ( "#My_anchor", "wikilink" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "and", Space, Str "text" ]
- ( "Page#with_anchor", "wikilink" )
- ]
- , Header 2
- ( "images", [], [] )
- [ Str "images" ]
- , Para
- [ Image
- ( "", [], [] )
- [ Str "caption" ]
- ( "example.jpg", "fig:caption" )
- ]
- , Para
- [ Image
- ( "", [], [] )
- [ Str "the"
+ [ Str "hi"
, Space
- , Emph
- [ Str "caption" ]
+ , RawInline (Format "html") ""
+ , Emph [ Str "there" ]
+ , RawInline (Format "html") ""
+ , Str "."
+ ]
+ , Para
+ [ RawInline (Format "html") ""
+ , Str "inserted"
+ , RawInline (Format "html") ""
+ ]
+ , RawBlock (Format "html") ""
+ , Para [ Str "hi" , Space , Emph [ Str "there" ] ]
+ , RawBlock (Format "html") ""
+ , Header
+ 2
+ ( "sup_sub_del" , [] , [] )
+ [ Str "sup," , Space , Str "sub," , Space , Str "del" ]
+ , Para
+ [ Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O"
, Space
- , Str "with"
+ , Str "base"
+ , Superscript [ Emph [ Str "exponent" ] ]
+ , SoftBreak
+ , Strikeout [ Str "hello" ]
+ ]
+ , Header
+ 2
+ ( "inline_code" , [] , [] )
+ [ Str "inline" , Space , Str "code" ]
+ , Para
+ [ Code ( "" , [] , [] ) "*\8594*"
+ , Space
+ , Code ( "" , [] , [] ) "typed"
+ , Space
+ , Code ( "" , [ "haskell" ] , [] ) ">>="
+ ]
+ , Header
+ 2
+ ( "code_blocks" , [] , [] )
+ [ Str "code" , Space , Str "blocks" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
+ , CodeBlock
+ ( "" , [ "haskell" ] , [] )
+ "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
+ , CodeBlock
+ ( ""
+ , [ "ruby" , "numberLines" ]
+ , [ ( "startFrom" , "100" ) ]
+ )
+ "widgets.each do |w|\n print w.price\nend"
+ , Header
+ 2
+ ( "block_quotes" , [] , [] )
+ [ Str "block" , Space , Str "quotes" ]
+ , Para [ Str "Regular" , Space , Str "paragraph" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "two"
+ , Space
+ , Str "paragraphs."
+ ]
+ ]
+ , Para [ Str "Nother" , Space , Str "paragraph." ]
+ , 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 "1" ] ( "http://google.com" , "" )
, Space
, Link
- ( "", [], [] )
- [ Str "external", Space, Str "link" ]
- ( "http://google.com", "" )
+ ( "" , [] , [] ) [ Str "2" ] ( "http://yahoo.com" , "" )
]
- ( "example.jpg", "fig:the caption with external link" )
- ]
, Para
- [ Image
- ( "", [], [ ( "width", "30" ), ( "height", "40" ) ] )
- [ Str "caption" ]
- ( "example.jpg", "fig:caption" )
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "email" , Space , Str "me" ]
+ ( "mailto:info@example.org" , "" )
+ ]
+ , Header
+ 2
+ ( "internal_links" , [] , [] )
+ [ Str "internal" , Space , Str "links" ]
, Para
- [ Image
- ( "", [], [ ( "width", "30" ) ] )
- [ Str "caption" ]
- ( "example.jpg", "fig:caption" )
- ]
+ [ Link
+ ( "" , [] , [] ) [ Str "Help" ] ( "Help" , "wikilink" )
+ ]
, Para
- [ Image
- ( "", [], [ ( "width", "30" ) ] )
- [ Str "caption" ]
- ( "example.jpg", "fig:caption" )
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "the" , Space , Str "help" , Space , Str "page" ]
+ ( "Help" , "wikilink" )
+ ]
, Para
- [ Image
- ( "", [], [] )
- [ Str "example.jpg" ]
- ( "example.jpg", "fig:example.jpg" )
- ]
+ [ Link
+ ( "" , [] , [] ) [ Str "Helpers" ] ( "Help" , "wikilink" )
+ ]
, Para
- [ Image
- ( "", [], [] )
- [ Str "example_es.jpg" ]
- ( "example_es.jpg", "fig:example_es.jpg" )
- ]
- , Header 2
- ( "lists", [], [] )
- [ Str "lists" ]
+ [ Link
+ ( "" , [] , [] ) [ Str "Help" ] ( "Help" , "wikilink" )
+ , Str "ers"
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Contents" ]
+ ( "Help:Contents" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "#My" , Space , Str "anchor" ]
+ ( "#My_anchor" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "and" , Space , Str "text" ]
+ ( "Page#with_anchor" , "wikilink" )
+ ]
+ , Header 2 ( "images" , [] , [] ) [ Str "images" ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "caption" ]
+ ( "example.jpg" , "fig:caption" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "the"
+ , Space
+ , Emph [ Str "caption" ]
+ , Space
+ , Str "with"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "external" , Space , Str "link" ]
+ ( "http://google.com" , "" )
+ ]
+ ( "example.jpg" , "fig:the caption with external link" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "width" , "30" ) , ( "height" , "40" ) ] )
+ [ Str "caption" ]
+ ( "example.jpg" , "fig:caption" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "width" , "30" ) ] )
+ [ Str "caption" ]
+ ( "example.jpg" , "fig:caption" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "width" , "30" ) ] )
+ [ Str "caption" ]
+ ( "example.jpg" , "fig:caption" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "example.jpg" ]
+ ( "example.jpg" , "fig:example.jpg" )
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "example_es.jpg" ]
+ ( "example_es.jpg" , "fig:example_es.jpg" )
+ ]
+ , Header 2 ( "lists" , [] , [] ) [ Str "lists" ]
, BulletList
- [
- [ Plain [ Str "Start", Space, Str "each", Space, Str "line" ] ]
- ,
- [ Plain
- [ Str "with"
- , Space
- , Str "an"
- , Space
- , Str "asterisk"
- , Space
- , Str "(*)."
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
]
- , BulletList
- [
- [ Plain
- [ Str "More"
+ , [ Plain
+ [ Str "with"
, Space
- , Str "asterisks"
+ , Str "an"
, Space
- , Str "gives"
+ , Str "asterisk"
, Space
- , Str "deeper"
+ , Str "(*)."
]
- , BulletList
- [
- [ Plain
- [ Str "and", Space, Str "deeper", Space, Str "levels." ]
+ , BulletList
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "asterisks"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "deeper"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ ]
]
]
- ]
]
- ]
- ,
- [ Plain
- [ Str "Line"
- , Space
- , Str "breaks"
- , LineBreak
- , Str "don't"
- , Space
- , Str "break"
- , Space
- , Str "levels."
- ]
- , BulletList
- [
- [ BulletList
- [
- [ Plain
- [ Str "But"
- , Space
- , Str "jumping"
- , Space
- , Str "levels"
- , Space
- , Str "creates"
- , Space
- , Str "empty"
- , Space
- , Str "space."
- ]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ , BulletList
+ [ [ BulletList
+ [ [ Plain
+ [ Str "But"
+ , Space
+ , Str "jumping"
+ , Space
+ , Str "levels"
+ , Space
+ , Str "creates"
+ , Space
+ , Str "empty"
+ , Space
+ , Str "space."
+ ]
+ ]
+ ]
]
]
- ]
]
]
- ]
, Para
- [ Str "Any"
- , Space
- , Str "other"
- , Space
- , Str "start"
- , Space
- , Str "ends"
- , Space
- , Str "the"
- , Space
- , Str "list."
- ]
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
, BulletList
- [
- [ BulletList [ [ Plain [ Str "two" ] ] ] ]
- ,
- [ Plain [ Str "one" ] ]
- ]
+ [ [ BulletList [ [ Plain [ Str "two" ] ] ] ]
+ , [ Plain [ Str "one" ] ]
+ ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Start", Space, Str "each", Space, Str "line" ] ]
- ,
- [ Plain
- [ Str "with"
- , Space
- , Str "a"
- , Space
- , Str "number"
- , Space
- , Str "sign"
- , Space
- , Str "(#)."
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "More"
+ , [ Plain
+ [ Str "with"
+ , Space
+ , Str "a"
, Space
, Str "number"
, Space
- , Str "signs"
+ , Str "sign"
, Space
- , Str "gives"
- , Space
- , Str "deeper"
+ , Str "(#)."
]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "and", Space, Str "deeper" ] ]
- ,
- [ Plain [ Str "levels." ] ]
- ]
- ]
- ]
- ]
- ,
- [ Plain
- [ Str "Line"
- , Space
- , Str "breaks"
- , LineBreak
- , Str "don't"
- , Space
- , Str "break"
- , Space
- , Str "levels."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "But"
- , Space
- , Str "jumping"
- , Space
- , Str "levels"
- , Space
- , Str "creates"
- , Space
- , Str "empty"
- , Space
- , Str "space."
- ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "number"
+ , Space
+ , Str "signs"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "and" , Space , Str "deeper" ] ]
+ , [ Plain [ Str "levels." ] ]
+ ]
]
]
- ]
]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "But"
+ , Space
+ , Str "jumping"
+ , Space
+ , Str "levels"
+ , Space
+ , Str "creates"
+ , Space
+ , Str "empty"
+ , Space
+ , Str "space."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Blank" , Space , Str "lines" ] ]
]
- ,
- [ Plain [ Str "Blank", Space, Str "lines" ] ]
- ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "end"
- , Space
- , Str "the"
- , Space
- , Str "list"
- , Space
- , Str "and"
- , Space
- , Str "start"
- , Space
- , Str "another."
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "end"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "and"
+ , Space
+ , Str "start"
+ , Space
+ , Str "another."
+ ]
]
]
- ]
, Para
- [ Str "Any"
- , Space
- , Str "other"
- , Space
- , Str "start"
- , Space
- , Str "also"
- , SoftBreak
- , Str "ends"
- , Space
- , Str "the"
- , Space
- , Str "list."
- ]
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "also"
+ , SoftBreak
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
, DefinitionList
- [
- (
- [ Str "item", Space, Str "1" ]
- ,
- [ [ Plain [ Str "definition", Space, Str "1" ] ] ]
- )
- ,
- (
- [ Str "item", Space, Str "2" ]
- ,
- [
- [ Plain [ Str "definition", Space, Str "2-1" ] ]
- ,
- [ Plain [ Str "definition", Space, Str "2-2" ] ]
- ]
- )
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "one" ] ]
- ,
- [ Plain
- [ Str "two" ]
- , BulletList
- [
- [ Plain [ Str "two", Space, Str "point", Space, Str "one" ] ]
- ,
- [ Plain [ Str "two", Space, Str "point", Space, Str "two" ] ]
- ]
- ]
- ,
- [ Plain
- [ Str "three" ]
- , DefinitionList
- [
- (
- [ Str "three", Space, Str "item", Space, Str "one" ]
- ,
- [
- [ Plain
- [ Str "three", Space, Str "def", Space, Str "one" ]
- ]
- ]
- )
- ]
- ]
- ,
- [ Plain
- [ Str "four" ]
- , DefinitionList
- [
- ( []
- ,
- [
- [ Plain
- [ Str "four", Space, Str "def", Space, Str "one" ]
- ]
- ,
- [ Plain
- [ Str "this"
- , Space
- , Str "looks"
- , Space
- , Str "like"
- , Space
- , Str "a"
- , Space
- , Str "continuation"
- ]
- ]
- ,
- [ Plain
- [ Str "and"
- , Space
- , Str "is"
- , Space
- , Str "often"
- , Space
- , Str "used"
- ]
- ]
- ,
- [ Plain
- [ Str "instead"
- , LineBreak
- , Str "of"
- , Space
- , Str "
"
- ]
- ]
- ]
- )
- ]
- ]
- ,
- [ Plain
- [ RawInline
- ( Format "mediawiki" ) "{{{template\n|author=John\n|title=My Book\n}}}"
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "five", Space, Str "sub", Space, Str "1" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "five"
- , Space
- , Str "sub"
- , Space
- , Str "1"
- , Space
- , Str "sub"
- , Space
- , Str "1"
- ]
- ]
- ]
+ [ ( [ Str "item" , Space , Str "1" ]
+ , [ [ Plain [ Str "definition" , Space , Str "1" ] ] ]
+ )
+ , ( [ Str "item" , Space , Str "2" ]
+ , [ [ Plain [ Str "definition" , Space , Str "2-1" ] ]
+ , [ Plain [ Str "definition" , Space , Str "2-2" ] ]
]
- ,
- [ Plain [ Str "five", Space, Str "sub", Space, Str "2" ] ]
- ]
+ )
]
- ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "list", Space, Str "item", Space, Emph [ Str "emph" ] ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "list", Space, Str "item", Space, Str "B1" ] ]
- ,
- [ Plain [ Str "list", Space, Str "item", Space, Str "B2" ] ]
- ]
- , Para
- [ Str "continuing"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "A1"
- ]
- ]
- ,
- [ Plain [ Str "list", Space, Str "item", Space, Str "A2" ] ]
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "abc" ] ]
- ,
- [ Plain [ Str "def" ] ]
- ,
- [ Plain [ Str "ghi" ] ]
- ]
- , OrderedList
- ( 9, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Amsterdam" ] ]
- ,
- [ Plain [ Str "Rotterdam" ] ]
- ,
- [ Plain [ Str "The", Space, Str "Hague" ] ]
- ]
- , Header 2
- ( "math", [], [] )
- [ Str "math" ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Math InlineMath "x=\\frac{y^\\pi}{z}"
- , Str "."
- ]
- , Para
- [ Str "With"
- , Space
- , Str "spaces:"
- , Space
- , Math InlineMath "x=\\frac{y^\\pi}{z}"
- , Str "."
- ]
- , Header 2
- ( "preformatted_blocks", [], [] )
- [ Str "preformatted", Space, Str "blocks" ]
- , Para
- [ Code
- ( "", [], [] ) "Start\160each\160line\160with\160a\160space."
- , LineBreak
- , Code
- ( "", [], [] ) "Text\160is\160"
- , Strong
- [ Code ( "", [], [] ) "preformatted" ]
- , Code
- ( "", [], [] ) "\160and"
- , LineBreak
- , Emph
- [ Code ( "", [], [] ) "markups" ]
- , Code
- ( "", [], [] ) "\160"
- , Strong
- [ Emph [ Code ( "", [], [] ) "can" ] ]
- , Code
- ( "", [], [] ) "\160be\160done."
- ]
- , Para
- [ Code ( "", [], [] ) "\160hell\160\160\160\160\160\160yeah" ]
- , Para
- [ Code
- ( ""
- , []
- , []
- ) "Start\160with\160a\160space\160in\160the\160first\160column,"
- , LineBreak
- , Code
- ( "", [], [] ) "(before\160the\160)."
- , LineBreak
- , Code
- ( "", [], [] ) ""
- , LineBreak
- , Code
- ( "", [], [] ) "Then\160your\160block\160format\160will\160be"
- , LineBreak
- , Code
- ( "", [], [] ) "\160\160\160\160maintained."
- , LineBreak
- , Code
- ( "", [], [] ) ""
- , LineBreak
- , Code
- ( ""
- , []
- , []
- ) "This\160is\160good\160for\160copying\160in\160code\160blocks:"
- , LineBreak
- , Code
- ( "", [], [] ) ""
- , LineBreak
- , Code
- ( "", [], [] ) "def\160function():"
- , LineBreak
- , Code
- ( ""
- , []
- , []
- ) "\160\160\160\160\"\"\"documentation\160string\"\"\""
- , LineBreak
- , Code
- ( "", [], [] ) ""
- , LineBreak
- , Code
- ( "", [], [] ) "\160\160\160\160if\160True:"
- , LineBreak
- , Code
- ( "", [], [] ) "\160\160\160\160\160\160\160\160print\160True"
- , LineBreak
- , Code
- ( "", [], [] ) "\160\160\160\160else:"
- , LineBreak
- , Code
- ( "", [], [] ) "\160\160\160\160\160\160\160\160print\160False"
- ]
- , Para
- [ Str "Not" ]
- , RawBlock
- ( Format "html" ) "
"
- , Para
- [ Str "preformatted" ]
- , Para
- [ Str "Don't", Space, Str "need" ]
- , Para
- [ Code ( "", [], [] ) "a\160blank\160line" ]
- , Para
- [ Str "around"
- , Space
- , Str "a"
- , Space
- , Str "preformatted"
- , Space
- , Str "block."
- ]
- , Header 2
- ( "templates", [], [] )
- [ Str "templates" ]
- , RawBlock
- ( Format "mediawiki" ) "{{Welcome}}"
- , RawBlock
- ( Format "mediawiki" ) "{{Foo:Bar}}"
- , RawBlock
- ( Format "mediawiki" ) "{{Thankyou|all your effort|Me}}"
- , Para
- [ Str "Written"
- , Space
- , RawInline
- ( Format "mediawiki" ) "{{{date}}}"
- , Space
- , Str "by"
- , Space
- , RawInline
- ( Format "mediawiki" ) "{{{name}}}"
- , Str "."
- ]
- , Header 2
- ( "tables", [], [] )
- [ Str "tables" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Apple" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Bread" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Pie" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Butter" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Ice", Space, Str "cream" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain [ Str "Food", Space, Str "complements" ] ]
- )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Apple" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Bread" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Pie" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Butter" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Ice", Space, Str "cream" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain [ Str "Food", Space, Str "complements" ] ]
- )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Apple" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para
- [ Str "Bread" ]
- , Para
- [ Str "and", Space, Str "cheese" ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para
- [ Str "Pie" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Plain [ Str "apple" ] ], [ Plain [ Str "carrot" ] ] ]
- ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Apple" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "more" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Bread" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Pie" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "more" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Butter" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Ice", Space, Str "cream" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "and", Space, Str "more" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidth 0.25 )
- ,
- ( AlignRight, ColWidth 0.125 )
- ,
- ( AlignCenter, ColWidth 0.125 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Center" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "15.00" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "centered" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "more" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "2.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "more" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Apple" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Bread" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "fruit" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "topping" ] ]
- ]
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "one" ] ]
+ , [ Plain [ Str "two" ]
+ , BulletList
+ [ [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "one"
+ ]
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
+ , [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "two"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "three" ]
+ , DefinitionList
+ [ ( [ Str "three" , Space , Str "item" , Space , Str "one" ]
+ , [ [ Plain
+ [ Str "three"
+ , Space
+ , Str "def"
+ , Space
+ , Str "one"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ , [ Plain [ Str "four" ]
+ , DefinitionList
+ [ ( []
+ , [ [ Plain
+ [ Str "four"
+ , Space
+ , Str "def"
+ , Space
+ , Str "one"
+ ]
+ ]
+ , [ Plain
+ [ Str "this"
+ , Space
+ , Str "looks"
+ , Space
+ , Str "like"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ ]
+ , [ Plain
+ [ Str "and"
+ , Space
+ , Str "is"
+ , Space
+ , Str "often"
+ , Space
+ , Str "used"
+ ]
+ ]
+ , [ Plain
+ [ Str "instead"
+ , LineBreak
+ , Str "of"
+ , Space
+ , Str "
"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ , [ Plain
+ [ RawInline
+ (Format "mediawiki")
+ "{{{template\n|author=John\n|title=My Book\n}}}"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "1" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "2" ]
+ ]
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Emph [ Str "emph" ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "list" , Space , Str "item" , Space , Str "B1" ]
+ ]
+ , [ Plain
+ [ Str "list" , Space , Str "item" , Space , Str "B2" ]
+ ]
+ ]
+ , Para
+ [ Str "continuing"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "A1"
+ ]
+ ]
+ , [ Plain
+ [ Str "list" , Space , Str "item" , Space , Str "A2" ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "abc" ] ]
+ , [ Plain [ Str "def" ] ]
+ , [ Plain [ Str "ghi" ] ]
+ ]
+ , OrderedList
+ ( 9 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Amsterdam" ] ]
+ , [ Plain [ Str "Rotterdam" ] ]
+ , [ Plain [ Str "The" , Space , Str "Hague" ] ]
+ ]
+ , Header 2 ( "math" , [] , [] ) [ Str "math" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Math InlineMath "x=\\frac{y^\\pi}{z}"
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "spaces:"
+ , Space
+ , Math InlineMath "x=\\frac{y^\\pi}{z}"
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "preformatted_blocks" , [] , [] )
+ [ Str "preformatted" , Space , Str "blocks" ]
+ , Para
+ [ Code
+ ( "" , [] , [] )
+ "Start\160each\160line\160with\160a\160space."
+ , LineBreak
+ , Code ( "" , [] , [] ) "Text\160is\160"
+ , Strong [ Code ( "" , [] , [] ) "preformatted" ]
+ , Code ( "" , [] , [] ) "\160and"
+ , LineBreak
+ , Emph [ Code ( "" , [] , [] ) "markups" ]
+ , Code ( "" , [] , [] ) "\160"
+ , Strong [ Emph [ Code ( "" , [] , [] ) "can" ] ]
+ , Code ( "" , [] , [] ) "\160be\160done."
+ ]
+ , Para
+ [ Code
+ ( "" , [] , [] ) "\160hell\160\160\160\160\160\160yeah"
+ ]
+ , Para
+ [ Code
+ ( "" , [] , [] )
+ "Start\160with\160a\160space\160in\160the\160first\160column,"
+ , LineBreak
+ , Code ( "" , [] , [] ) "(before\160the\160)."
+ , LineBreak
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "Then\160your\160block\160format\160will\160be"
+ , LineBreak
+ , Code ( "" , [] , [] ) "\160\160\160\160maintained."
+ , LineBreak
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "This\160is\160good\160for\160copying\160in\160code\160blocks:"
+ , LineBreak
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code ( "" , [] , [] ) "def\160function():"
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "\160\160\160\160\"\"\"documentation\160string\"\"\""
+ , LineBreak
+ , Code ( "" , [] , [] ) ""
+ , LineBreak
+ , Code ( "" , [] , [] ) "\160\160\160\160if\160True:"
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "\160\160\160\160\160\160\160\160print\160True"
+ , LineBreak
+ , Code ( "" , [] , [] ) "\160\160\160\160else:"
+ , LineBreak
+ , Code
+ ( "" , [] , [] )
+ "\160\160\160\160\160\160\160\160print\160False"
+ ]
+ , Para [ Str "Not" ]
+ , RawBlock (Format "html") "
"
+ , Para [ Str "preformatted" ]
+ , Para [ Str "Don't" , Space , Str "need" ]
+ , Para [ Code ( "" , [] , [] ) "a\160blank\160line" ]
+ , Para
+ [ Str "around"
+ , Space
+ , Str "a"
+ , Space
+ , Str "preformatted"
+ , Space
+ , Str "block."
+ ]
+ , Header 2 ( "templates" , [] , [] ) [ Str "templates" ]
+ , RawBlock (Format "mediawiki") "{{Welcome}}"
+ , RawBlock (Format "mediawiki") "{{Foo:Bar}}"
+ , RawBlock
+ (Format "mediawiki") "{{Thankyou|all your effort|Me}}"
+ , Para
+ [ Str "Written"
+ , Space
+ , RawInline (Format "mediawiki") "{{{date}}}"
+ , Space
+ , Str "by"
+ , Space
+ , RawInline (Format "mediawiki") "{{{name}}}"
+ , Str "."
+ ]
+ , Header 2 ( "tables" , [] , [] ) [ Str "tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain [ Str "Food" , Space , Str "complements" ] ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain [ Str "Food" , Space , Str "complements" ] ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ]
+ , Para [ Str "and" , Space , Str "cheese" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Pie" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "apple" ] ]
+ , [ Plain [ Str "carrot" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Pie" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Ice" , Space , Str "cream" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "and" , Space , Str "more" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidth 0.25 )
+ , ( AlignRight , ColWidth 0.125 )
+ , ( AlignCenter , ColWidth 0.125 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Center" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "15.00" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "centered" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "more" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "2.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "more" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "fruit" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "topping" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para
+ [ Str "ice"
+ , Space
+ , Str "cream"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault ) ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Orange" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Paragraph"
+ , Space
+ , Str "after"
+ , Space
+ , Str "the"
+ , Space
+ , Str "table."
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "fruit" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "topping" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
[ Para [ Str "apple" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "ice", Space, Str "cream" ] ]
- ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "ice" , Space , Str "cream" ] ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Butter" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Ice", Space, Str "cream" ] ]
- ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignDefault, ColWidthDefault ) ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Orange" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 2 ( "notes" , [] , [] ) [ Str "notes" ]
, Para
- [ Str "Paragraph"
- , Space
- , Str "after"
- , Space
- , Str "the"
- , Space
- , Str "table."
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "fruit" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "topping" ] ]
- ]
+ [ Str "My"
+ , Space
+ , Str "note!"
+ , Note [ Plain [ Str "This." ] ]
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "apple" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "ice", Space, Str "cream" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 2
- ( "notes", [], [] )
- [ Str "notes" ]
, Para
- [ Str "My", Space, Str "note!", Note [ Plain [ Str "This." ] ] ]
- , Para
- [ Str "URL"
- , Space
- , Str "note."
- , Note
- [ Plain
- [ Link
- ( "", [], [] )
- [ Str "http://docs.python.org/library/functions.html#range" ]
- ( "http://docs.python.org/library/functions.html#range", "" )
- ]
+ [ Str "URL"
+ , Space
+ , Str "note."
+ , Note
+ [ Plain
+ [ Link
+ ( "" , [] , [] )
+ [ Str
+ "http://docs.python.org/library/functions.html#range"
+ ]
+ ( "http://docs.python.org/library/functions.html#range"
+ , ""
+ )
+ ]
+ ]
]
- ]
]
diff --git a/test/opml-reader.native b/test/opml-reader.native
index bbb54e068..29623d1fc 100644
--- a/test/opml-reader.native
+++ b/test/opml-reader.native
@@ -1,232 +1,123 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "author"
- , MetaList
- [ MetaInlines [ Str "Dave", Space, Str "Winer" ] ]
- )
- ,
- ( "date"
- , MetaInlines
- [ Str "Thu,"
- , Space
- , Str "14"
- , Space
- , Str "Jul"
- , Space
- , Str "2005"
- , Space
- , Str "23:41:05"
- , Space
- , Str "GMT"
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaList
+ [ MetaInlines [ Str "Dave" , Space , Str "Winer" ] ]
+ )
+ , ( "date"
+ , MetaInlines
+ [ Str "Thu,"
+ , Space
+ , Str "14"
+ , Space
+ , Str "Jul"
+ , Space
+ , Str "2005"
+ , Space
+ , Str "23:41:05"
+ , Space
+ , Str "GMT"
+ ]
+ )
+ , ( "title" , MetaInlines [ Str "States" ] )
]
- )
- ,
- ( "title", MetaInlines [ Str "States" ] )
- ]
}
- )
- [ Header 1
- ( "", [], [] )
- [ Str "United", Space, Str "States" ]
- , Header 2
- ( "", [], [] )
- [ Str "Far", Space, Str "West" ]
- , Header 3
- ( "", [], [] )
- [ Str "Alaska" ]
- , Header 3
- ( "", [], [] )
- [ Str "California" ]
- , Header 3
- ( "", [], [] )
- [ Str "Hawaii" ]
- , Header 3
- ( "", [], [] )
- [ Strong [ Str "Nevada" ] ]
+ [ Header
+ 1 ( "" , [] , [] ) [ Str "United" , Space , Str "States" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Far" , Space , Str "West" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Alaska" ]
+ , Header 3 ( "" , [] , [] ) [ Str "California" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Hawaii" ]
+ , Header 3 ( "" , [] , [] ) [ Strong [ Str "Nevada" ] ]
, Para
- [ Str "I"
- , Space
- , Str "lived"
- , Space
- , Str "here"
- , Space
- , Emph
- [ Str "once" ]
- , Str "."
- ]
- , Para
- [ Str "Loved", Space, Str "it." ]
- , Header 4
- ( "", [], [] )
- [ Link ( "", [], [] ) [ Str "Reno" ] ( "http://www.reno.gov", "" ) ]
- , Header 4
- ( "", [], [] )
- [ Str "Las", Space, Str "Vegas" ]
- , Header 4
- ( "", [], [] )
- [ Str "Ely" ]
- , Header 4
- ( "", [], [] )
- [ Str "Gerlach" ]
- , Header 3
- ( "", [], [] )
- [ Str "Oregon" ]
- , Header 3
- ( "", [], [] )
- [ Str "Washington" ]
- , Header 2
- ( "", [], [] )
- [ Str "Great", Space, Str "Plains" ]
- , Header 3
- ( "", [], [] )
- [ Str "Kansas" ]
- , Header 3
- ( "", [], [] )
- [ Str "Nebraska" ]
- , Header 3
- ( "", [], [] )
- [ Str "North", Space, Str "Dakota" ]
- , Header 3
- ( "", [], [] )
- [ Str "Oklahoma" ]
- , Header 3
- ( "", [], [] )
- [ Str "South", Space, Str "Dakota" ]
- , Header 2
- ( "", [], [] )
- [ Str "Mid-Atlantic" ]
- , Header 3
- ( "", [], [] )
- [ Str "Delaware" ]
- , Header 3
- ( "", [], [] )
- [ Str "Maryland" ]
- , Header 3
- ( "", [], [] )
- [ Str "New", Space, Str "Jersey" ]
- , Header 3
- ( "", [], [] )
- [ Str "New", Space, Str "York" ]
- , Header 3
- ( "", [], [] )
- [ Str "Pennsylvania" ]
- , Header 2
- ( "", [], [] )
- [ Str "Midwest" ]
- , Header 3
- ( "", [], [] )
- [ Str "Illinois" ]
- , Header 3
- ( "", [], [] )
- [ Str "Indiana" ]
- , Header 3
- ( "", [], [] )
- [ Str "Iowa" ]
- , Header 3
- ( "", [], [] )
- [ Str "Kentucky" ]
- , Header 3
- ( "", [], [] )
- [ Str "Michigan" ]
- , Header 3
- ( "", [], [] )
- [ Str "Minnesota" ]
- , Header 3
- ( "", [], [] )
- [ Str "Missouri" ]
- , Header 3
- ( "", [], [] )
- [ Str "Ohio" ]
- , Header 3
- ( "", [], [] )
- [ Str "West", Space, Str "Virginia" ]
- , Header 3
- ( "", [], [] )
- [ Str "Wisconsin" ]
- , Header 2
- ( "", [], [] )
- [ Str "Mountains" ]
- , Header 3
- ( "", [], [] )
- [ Str "Colorado" ]
- , Header 3
- ( "", [], [] )
- [ Str "Idaho" ]
- , Header 3
- ( "", [], [] )
- [ Str "Montana" ]
- , Header 3
- ( "", [], [] )
- [ Str "Utah" ]
- , Header 3
- ( "", [], [] )
- [ Str "Wyoming" ]
- , Header 2
- ( "", [], [] )
- [ Str "New", Space, Str "England" ]
- , Header 3
- ( "", [], [] )
- [ Str "Connecticut" ]
- , Header 3
- ( "", [], [] )
- [ Str "Maine" ]
- , Header 3
- ( "", [], [] )
- [ Str "Massachusetts" ]
- , Header 3
- ( "", [], [] )
- [ Str "New", Space, Str "Hampshire" ]
- , Header 3
- ( "", [], [] )
- [ Str "Rhode", Space, Str "Island" ]
- , Header 3
- ( "", [], [] )
- [ Str "Vermont" ]
- , Header 2
- ( "", [], [] )
- [ Str "South" ]
- , Header 3
- ( "", [], [] )
- [ Str "Alabama" ]
- , Header 3
- ( "", [], [] )
- [ Str "Arkansas" ]
- , Header 3
- ( "", [], [] )
- [ Str "Florida" ]
- , Header 3
- ( "", [], [] )
- [ Str "Georgia" ]
- , Header 3
- ( "", [], [] )
- [ Str "Louisiana" ]
- , Header 3
- ( "", [], [] )
- [ Str "Mississippi" ]
- , Header 3
- ( "", [], [] )
- [ Str "North", Space, Str "Carolina" ]
- , Header 3
- ( "", [], [] )
- [ Str "South", Space, Str "Carolina" ]
- , Header 3
- ( "", [], [] )
- [ Str "Tennessee" ]
- , Header 3
- ( "", [], [] )
- [ Str "Virginia" ]
- , Header 2
- ( "", [], [] )
- [ Str "Southwest" ]
- , Header 3
- ( "", [], [] )
- [ Str "Arizona" ]
- , Header 3
- ( "", [], [] )
- [ Str "New", Space, Str "Mexico" ]
- , Header 3
- ( "", [], [] )
- [ Str "Texas" ]
+ [ Str "I"
+ , Space
+ , Str "lived"
+ , Space
+ , Str "here"
+ , Space
+ , Emph [ Str "once" ]
+ , Str "."
+ ]
+ , Para [ Str "Loved" , Space , Str "it." ]
+ , Header
+ 4
+ ( "" , [] , [] )
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Reno" ]
+ ( "http://www.reno.gov" , "" )
+ ]
+ , Header
+ 4 ( "" , [] , [] ) [ Str "Las" , Space , Str "Vegas" ]
+ , Header 4 ( "" , [] , [] ) [ Str "Ely" ]
+ , Header 4 ( "" , [] , [] ) [ Str "Gerlach" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Oregon" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Washington" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Great" , Space , Str "Plains" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Kansas" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Nebraska" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "North" , Space , Str "Dakota" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Oklahoma" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "South" , Space , Str "Dakota" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Mid-Atlantic" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Delaware" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Maryland" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "New" , Space , Str "Jersey" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "New" , Space , Str "York" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Pennsylvania" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Midwest" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Illinois" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Indiana" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Iowa" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Kentucky" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Michigan" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Minnesota" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Missouri" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Ohio" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "West" , Space , Str "Virginia" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Wisconsin" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Mountains" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Colorado" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Idaho" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Montana" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Utah" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Wyoming" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "New" , Space , Str "England" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Connecticut" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Maine" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Massachusetts" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "New" , Space , Str "Hampshire" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "Rhode" , Space , Str "Island" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Vermont" ]
+ , Header 2 ( "" , [] , [] ) [ Str "South" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Alabama" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Arkansas" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Florida" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Georgia" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Louisiana" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Mississippi" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "North" , Space , Str "Carolina" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "South" , Space , Str "Carolina" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Tennessee" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Virginia" ]
+ , Header 2 ( "" , [] , [] ) [ Str "Southwest" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Arizona" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "New" , Space , Str "Mexico" ]
+ , Header 3 ( "" , [] , [] ) [ Str "Texas" ]
]
diff --git a/test/org-select-tags.native b/test/org-select-tags.native
index a94c70abe..9f2d84a9f 100644
--- a/test/org-select-tags.native
+++ b/test/org-select-tags.native
@@ -1,99 +1,103 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
- [ Header 1
- ( "will-appear-because-it-is-the-ancestor-of-something-tagged-yes"
- , []
- , []
- )
- [ Str "Will"
- , Space
- , Str "appear"
- , Space
- , Str "because"
- , Space
- , Str "it"
- , Space
- , Str "is"
- , Space
- , Str "the"
- , Space
- , Str "ancestor"
- , Space
- , Str "of"
- , Space
- , Str "something"
- , Space
- , Str "tagged"
- , Space
- , Str "\"yes\""
- ]
- , Header 2
- ( "will-appear", [], [] )
- [ Str "Will"
- , Space
- , Str "appear"
- , Space
- , Span
- ( "", [ "tag" ], [ ( "tag-name", "yes" ) ] )
- [ SmallCaps [ Str "yes" ] ]
- ]
- , Header 3
- ( "will-appear-since-the-entire-subtree-of-something-selected-will-appear"
- , []
- , []
- )
- [ Str "Will"
- , Space
- , Str "appear"
- , Space
- , Str "since"
- , Space
- , Str "the"
- , Space
- , Str "entire"
- , Space
- , Str "subtree"
- , Space
- , Str "of"
- , Space
- , Str "something"
- , Space
- , Str "selected"
- , Space
- , Str "will"
- , Space
- , Str "appear"
- ]
+ Meta { unMeta = fromList [] }
+ [ Header
+ 1
+ ( "will-appear-because-it-is-the-ancestor-of-something-tagged-yes"
+ , []
+ , []
+ )
+ [ Str "Will"
+ , Space
+ , Str "appear"
+ , Space
+ , Str "because"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ancestor"
+ , Space
+ , Str "of"
+ , Space
+ , Str "something"
+ , Space
+ , Str "tagged"
+ , Space
+ , Str "\"yes\""
+ ]
+ , Header
+ 2
+ ( "will-appear" , [] , [] )
+ [ Str "Will"
+ , Space
+ , Str "appear"
+ , Space
+ , Span
+ ( "" , [ "tag" ] , [ ( "tag-name" , "yes" ) ] )
+ [ SmallCaps [ Str "yes" ] ]
+ ]
+ , Header
+ 3
+ ( "will-appear-since-the-entire-subtree-of-something-selected-will-appear"
+ , []
+ , []
+ )
+ [ Str "Will"
+ , Space
+ , Str "appear"
+ , Space
+ , Str "since"
+ , Space
+ , Str "the"
+ , Space
+ , Str "entire"
+ , Space
+ , Str "subtree"
+ , Space
+ , Str "of"
+ , Space
+ , Str "something"
+ , Space
+ , Str "selected"
+ , Space
+ , Str "will"
+ , Space
+ , Str "appear"
+ ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Para [ Str "Will", Space, Str "appear" ] ] ]
- , Header 2
- ( "will-appear-because-it-is-the-ancestor-of-something-listed-in-select-tags"
- , []
- , []
- )
- [ Str "Will"
- , Space
- , Str "appear"
- , Space
- , Str "because"
- , Space
- , Str "it"
- , Space
- , Str "is"
- , Space
- , Str "the"
- , Space
- , Str "ancestor"
- , Space
- , Str "of"
- , Space
- , Str "something"
- , Space
- , Str "listed"
- , Space
- , Str "in"
- , Space
- , Str "SELECT-TAGS"
- ]
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Para [ Str "Will" , Space , Str "appear" ] ] ]
+ , Header
+ 2
+ ( "will-appear-because-it-is-the-ancestor-of-something-listed-in-select-tags"
+ , []
+ , []
+ )
+ [ Str "Will"
+ , Space
+ , Str "appear"
+ , Space
+ , Str "because"
+ , Space
+ , Str "it"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "ancestor"
+ , Space
+ , Str "of"
+ , Space
+ , Str "something"
+ , Space
+ , Str "listed"
+ , Space
+ , Str "in"
+ , Space
+ , Str "SELECT-TAGS"
+ ]
]
diff --git a/test/pipe-tables.native b/test/pipe-tables.native
index e678053d2..886a7e343 100644
--- a/test/pipe-tables.native
+++ b/test/pipe-tables.native
@@ -1,850 +1,927 @@
[ Para
- [ Str "Simplest"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "caption:"
- ]
+ [ Str "Simplest"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default3" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Simple", Space, Str "table", Space, Str "with", Space, Str "caption:" ]
-, Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ Str "Demonstration"
- , Space
- , Str "of"
- , Space
- , Str "simple"
- , Space
- , Str "table"
- , Space
- , Str "syntax."
- ]
- ]
- )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Simple"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "caption:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Headerless"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "caption:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Table", Space, Str "without", Space, Str "sides:" ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignDefault, ColWidthDefault ), ( AlignRight, ColWidthDefault ) ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Fruit" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Quantity" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "apple" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "17" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "pear" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "302" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "One-column:" ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignDefault, ColWidthDefault ) ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "hi" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "lo" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Header-less", Space, Str "one-column:" ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignCenter, ColWidthDefault ) ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "hi" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Indented", Space, Str "left", Space, Str "column:" ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignRight, ColWidthDefault ), ( AlignLeft, ColWidthDefault ) ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Number", Space, Str "of", Space, Str "siblings" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Salary" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "33" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "44" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Long"
- , Space
- , Str "pipe"
- , Space
- , Str "table"
- , Space
- , Str "with"
- , Space
- , Str "relative"
- , Space
- , Str "widths:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.15517241379310345 )
- ,
- ( AlignDefault, ColWidth 0.1724137931034483 )
- ,
- ( AlignDefault, ColWidth 0.6724137931034483 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default3" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "table"
- , Space
- , Str "cell"
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "and"
- , Space
- , Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "really"
- , Space
- , Str "long"
- , Space
- , Str "table"
- , Space
- , Str "cell"
- , Space
- , Str "that"
- , Space
- , Str "will"
- , Space
- , Str "probably"
- , Space
- , Str "need"
- , Space
- , Str "wrapping"
- ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Para
- [ Str "Pipe"
- , Space
- , Str "table"
- , Space
- , Str "with"
- , Space
- , Str "no"
- , Space
- , Str "body:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignDefault, ColWidthDefault ) ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Header" ] ]
- ]
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
]
- )
- [ TableBody ( "", [], [] ) ( RowHeadColumns 0 ) [] [] ]
- ( TableFoot ( "", [], [] ) [] )
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
, Para
- [ Str "Pipe"
- , Space
- , Str "table"
- , Space
- , Str "with"
- , Space
- , Str "tricky"
- , Space
- , Str "cell"
- , Space
- , Str "contents"
- , Space
- , Str "(see"
- , Space
- , Str "#2765):"
- ]
+ [ Str "Headerless"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignRight, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "IP_gene8-_1st" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "IP_gene8+_1st" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "IP_gene8-_1st" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1.0000000" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "0.4357325" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "IP_gene8+_1st" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "0.4357325" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1.0000000" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "foo", Code ( "", [], [] ) "bar|baz" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "and|escaped" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3.0000000" ] ]
- ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Table" , Space , Str "without" , Space , Str "sides:" ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Fruit" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Quantity" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "17" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "pear" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "302" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para [ Str "One-column:" ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault ) ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "hi" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "lo" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para [ Str "Header-less" , Space , Str "one-column:" ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "hi" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Indented" , Space , Str "left" , Space , Str "column:" ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Number" , Space , Str "of" , Space , Str "siblings" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Salary" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "33" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "44" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Long"
+ , Space
+ , Str "pipe"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "relative"
+ , Space
+ , Str "widths:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.15517241379310345 )
+ , ( AlignDefault , ColWidth 0.1724137931034483 )
+ , ( AlignDefault , ColWidth 0.6724137931034483 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table"
+ , Space
+ , Str "cell"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "really"
+ , Space
+ , Str "long"
+ , Space
+ , Str "table"
+ , Space
+ , Str "cell"
+ , Space
+ , Str "that"
+ , Space
+ , Str "will"
+ , Space
+ , Str "probably"
+ , Space
+ , Str "need"
+ , Space
+ , Str "wrapping"
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Pipe"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "body:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault ) ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Header" ] ]
+ ]
+ ])
+ [ TableBody ( "" , [] , [] ) (RowHeadColumns 0) [] [] ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Pipe"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tricky"
+ , Space
+ , Str "cell"
+ , Space
+ , Str "contents"
+ , Space
+ , Str "(see"
+ , Space
+ , Str "#2765):"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "IP_gene8-_1st" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "IP_gene8+_1st" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "IP_gene8-_1st" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1.0000000" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0.4357325" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "IP_gene8+_1st" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0.4357325" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1.0000000" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "foo" , Code ( "" , [] , [] ) "bar|baz" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "and|escaped" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3.0000000" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
]
diff --git a/test/rst-reader.native b/test/rst-reader.native
index 7a5c3d812..d3e7f6caa 100644
--- a/test/rst-reader.native
+++ b/test/rst-reader.native
@@ -1,1874 +1,1725 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "author"
- , MetaList
- [ MetaInlines
- [ Str "John", Space, Str "MacFarlane" ]
- , MetaInlines
- [ Str "Anonymous" ]
+ 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" ]
+ )
]
- )
- ,
- ( "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" ]
- )
- ]
}
- )
- [ Header 1
- ( "level-one-header", [], [] )
- [ Str "Level", Space, Str "one", Space, Str "header" ]
+ [ Header
+ 1
+ ( "level-one-header" , [] , [] )
+ [ Str "Level" , Space , Str "one" , Space , Str "header" ]
, 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."
- ]
- , Header 2
- ( "level-two-header", [], [] )
- [ Str "Level", Space, Str "two", Space, Str "header" ]
- , Header 3
- ( "level-three", [], [] )
- [ Str "Level", Space, Str "three" ]
- , Header 4
- ( "level-four-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "four"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 5
- ( "level-five", [], [] )
- [ Str "Level", Space, Str "five" ]
- , Header 1
- ( "paragraphs", [], [] )
- [ Str "Paragraphs" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "regular"
- , Space
- , Str "paragraph."
- ]
- , 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."
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "one"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "bullet."
- , SoftBreak
- , Str "*"
- , Space
- , Str "criminey."
- ]
- , Para
- [ Str "Horizontal", Space, Str "rule:" ]
- , HorizontalRule
- , Para
- [ Str "Another:" ]
- , HorizontalRule
- , Header 1
- ( "block-quotes", [], [] )
- [ Str "Block", Space, Str "Quotes" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "block"
- , Space
- , Str "quote:"
- ]
- , BlockQuote
- [ 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."
- ]
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "another,"
- , Space
- , Str "differently"
- , Space
- , Str "indented:"
- ]
- , BlockQuote
- [ 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."
- ]
- , Para
- [ Str "Code"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "block"
- , Space
- , Str "quote:"
- ]
- , CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- , Para
- [ Str "List"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "block"
- , Space
- , Str "quote:"
- ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "item", Space, Str "one" ] ]
- ,
- [ Plain [ Str "item", Space, Str "two" ] ]
- ]
- , Para
- [ Str "Nested", Space, Str "block", Space, Str "quotes:" ]
- , BlockQuote
- [ Para [ Str "nested" ], BlockQuote [ Para [ Str "nested" ] ] ]
- ]
- , Header 1
- ( "code-blocks", [], [] )
- [ Str "Code", Space, Str "Blocks" ]
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}"
- , CodeBlock
- ( "", [], [] ) "this code block is indented by one tab"
- , Para
- [ Str "And:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "this block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
- , Para
- [ Str "And:" ]
- , CodeBlock
- ( "", [ "python" ], [] ) "def my_function(x):\n return x + 1"
- , 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."
- ]
- , CodeBlock
- ( ""
- , [ "haskell" ]
- , []
- ) "-- this code is in haskell\ndata Tree = Leaf | Node Tree Tree"
- , CodeBlock
- ( ""
- , [ "haskell" ]
- , []
- ) "-- this code is in haskell too\ndata Nat = Zero | Succ Nat"
- , CodeBlock
- ( ""
- , [ "javascript" ]
- , []
- ) "-- this code is in javascript\nlet f = (x, y) => x + y"
- , Header 1
- ( "lists", [], [] )
- [ Str "Lists" ]
- , Header 2
- ( "unordered", [], [] )
- [ Str "Unordered" ]
- , Para
- [ Str "Asterisks", Space, Str "tight:" ]
- , BulletList
- [
- [ Plain [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Asterisks", Space, Str "loose:" ]
- , BulletList
- [
- [ Plain [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "tight:" ]
- , BulletList
- [
- [ Plain [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "loose:" ]
- , BulletList
- [
- [ Plain [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "tight:" ]
- , BulletList
- [
- [ Plain [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "loose:" ]
- , BulletList
- [
- [ Plain [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "3" ] ]
- ]
- , Header 2
- ( "ordered", [], [] )
- [ Str "Ordered" ]
- , Para
- [ Str "Tight:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "First" ] ]
- ,
- [ Plain [ Str "Second" ] ]
- ,
- [ Plain [ Str "Third" ] ]
- ]
- , Para
- [ Str "and:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "One" ] ]
- ,
- [ Plain [ Str "Two" ] ]
- ,
- [ Plain [ Str "Three" ] ]
- ]
- , Para
- [ Str "Loose", Space, Str "using", Space, Str "tabs:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "First" ] ]
- ,
- [ Plain [ Str "Second" ] ]
- ,
- [ Plain [ Str "Third" ] ]
- ]
- , Para
- [ Str "and", Space, Str "using", Space, Str "spaces:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "One" ] ]
- ,
- [ Plain [ Str "Two" ] ]
- ,
- [ Plain [ Str "Three" ] ]
- ]
- , Para
- [ Str "Multiple", Space, Str "paragraphs:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para
- [ Str "Item", Space, Str "1,", Space, Str "graf", Space, Str "one." ]
- , 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."
- ]
- ]
- ,
- [ Para [ Str "Item", Space, Str "2." ] ]
- ,
- [ Para [ Str "Item", Space, Str "3." ] ]
- ]
- , Para
- [ Str "Nested:" ]
- , BulletList
- [
- [ Plain
- [ Str "Tab" ]
- , BulletList
- [ [ Plain [ Str "Tab" ], BulletList [ [ Plain [ Str "Tab" ] ] ] ] ]
- ]
- ]
- , Para
- [ Str "Here\8217s", Space, Str "another:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BlockQuote
- [ BulletList
- [
- [ Plain [ Str "Fee" ] ]
- ,
- [ Plain [ Str "Fie" ] ]
- ,
- [ Plain [ Str "Foe" ] ]
- ]
- ]
- ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Header 2
- ( "fancy-list-markers", [], [] )
- [ Str "Fancy", Space, Str "list", Space, Str "markers" ]
- , OrderedList
- ( 2, Decimal, TwoParens )
- [
- [ Para [ Str "begins", Space, Str "with", Space, Str "2" ] ]
- ,
- [ Para
- [ Str "and", Space, Str "now", Space, Str "3" ]
- , Para
- [ Str "with", Space, Str "a", Space, Str "continuation" ]
- , OrderedList
- ( 4, LowerRoman, Period )
- [
- [ Plain
- [ Str "sublist"
- , Space
- , Str "with"
- , Space
- , Str "roman"
- , Space
- , Str "numerals,"
- , Space
- , Str "starting"
- , Space
- , Str "with"
- , Space
- , Str "4"
- ]
- ]
- ,
- [ Plain
- [ Str "more", Space, Str "items" ]
- , OrderedList
- ( 1, UpperAlpha, TwoParens )
- [
- [ Plain [ Str "a", Space, Str "subsublist" ] ]
- ,
- [ Plain [ Str "a", Space, Str "subsublist" ] ]
- ]
- ]
- ]
- ]
- ]
- , Para
- [ Str "Nesting:" ]
- , OrderedList
- ( 1, UpperAlpha, Period )
- [
- [ Plain
- [ Str "Upper", Space, Str "Alpha" ]
- , OrderedList
- ( 1, UpperRoman, Period )
- [
- [ Plain
- [ Str "Upper", Space, Str "Roman." ]
- , OrderedList
- ( 6, Decimal, TwoParens )
- [
- [ Plain
- [ Str "Decimal"
- , Space
- , Str "start"
- , Space
- , Str "with"
- , Space
- , Str "6"
- ]
- , OrderedList
- ( 3, LowerAlpha, OneParen )
- [
- [ Plain
- [ Str "Lower"
- , Space
- , Str "alpha"
- , Space
- , Str "with"
- , Space
- , Str "paren"
- ]
- ]
- ]
- ]
- ]
- ]
- ]
- ]
- ]
- , Para
- [ Str "Autonumbering:" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Autonumber." ] ]
- ,
- [ Plain
- [ Str "More." ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Plain [ Str "Nested." ] ] ]
- ]
- ]
- , Para
- [ Str "Autonumbering"
- , Space
- , Str "with"
- , Space
- , Str "explicit"
- , Space
- , Str "start:"
- ]
- , OrderedList
- ( 4, LowerAlpha, TwoParens )
- [
- [ Plain [ Str "item", Space, Str "1" ] ]
- ,
- [ Plain [ Str "item", Space, Str "2" ] ]
- ]
- , Header 2
- ( "definition", [], [] )
- [ Str "Definition" ]
- , DefinitionList
- [
- (
- [ Str "term", Space, Str "1" ]
- ,
- [ [ Para [ Str "Definition", Space, Str "1." ] ] ]
- )
- ,
- (
- [ Str "term", Space, Str "2" ]
- ,
- [
- [ Para
- [ Str "Definition"
- , Space
- , Str "2,"
- , Space
- , Str "paragraph"
- , Space
- , Str "1."
- ]
- , Para
- [ Str "Definition"
- , Space
- , Str "2,"
- , Space
- , Str "paragraph"
- , Space
- , Str "2."
- ]
- ]
- ]
- )
- ,
- (
- [ Str "term", Space, Str "with", Space, Emph [ Str "emphasis" ] ]
- ,
- [ [ Para [ Str "Definition", Space, Str "3." ] ] ]
- )
- ]
- , Header 1
- ( "field-lists", [], [] )
- [ Str "Field", Space, Str "Lists" ]
- , BlockQuote
- [ DefinitionList
- [
- (
- [ Str "address" ]
- ,
- [ [ Para [ Str "61", Space, Str "Main", Space, Str "St." ] ] ]
- )
- ,
- (
- [ Str "city" ]
- ,
- [
- [ Para
- [ Emph
- [ Str "Nowhere" ]
- , Str ","
- , Space
- , Str "MA,"
- , SoftBreak
- , Str "USA"
- ]
- ]
- ]
- )
- ,
- ( [ Str "phone" ], [ [ Para [ Str "123-4567" ] ] ] )
- ]
- ]
- , DefinitionList
- [
- (
- [ Str "address" ]
- ,
- [ [ Para [ Str "61", Space, Str "Main", Space, Str "St." ] ] ]
- )
- ,
- (
- [ Str "city" ]
- ,
- [
- [ Para
- [ Emph
- [ Str "Nowhere" ]
- , Str ","
- , Space
- , Str "MA,"
- , SoftBreak
- , Str "USA"
- ]
- ]
- ]
- )
- ,
- ( [ Str "phone" ], [ [ Para [ Str "123-4567" ] ] ] )
- ]
- , Header 1
- ( "html-blocks", [], [] )
- [ Str "HTML", Space, Str "Blocks" ]
- , Para
- [ Str "Simple"
- , Space
- , Str "block"
- , Space
- , Str "on"
- , Space
- , Str "one"
- , Space
- , Str "line:"
- ]
- , RawBlock
- ( Format "html" ) "foo"
- , Para
- [ Str "Now,", Space, Str "nested:" ]
- , RawBlock
- ( Format "html" ) "\n \n \n foo\n \n \n"
- , Header 1
- ( "latex-block", [], [] )
- [ Str "LaTeX", Space, Str "Block" ]
- , RawBlock
- ( Format "latex" ) "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
- , Header 1
- ( "inline-markup", [], [] )
- [ Str "Inline", Space, Str "Markup" ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Emph
- [ Str "emphasized" ]
- , Str "."
- , Space
- , Str "This"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Str "strong" ]
- , Str "."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "code:"
- , Space
- , Code
- ( "", [], [] ) ">"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) ""
- , Str "."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Subscript
- [ Str "subscripted" ]
- , Space
- , Str "and"
- , Space
- , Str "this"
- , Space
- , Str "is"
- , Space
- , Superscript
- [ Str "superscripted" ]
- , Str "."
- ]
- , Header 1
- ( "special-characters", [], [] )
- [ Str "Special", Space, Str "Characters" ]
- , Para
- [ Str "Here", Space, Str "is", Space, Str "some", Space, Str "unicode:" ]
- , BulletList
- [
- [ Plain [ Str "I", Space, Str "hat:", Space, Str "\206" ] ]
- ,
- [ Plain [ Str "o", Space, Str "umlaut:", Space, Str "\246" ] ]
- ,
- [ Plain [ Str "section:", Space, Str "\167" ] ]
- ,
- [ Plain [ Str "set", Space, Str "membership:", Space, Str "\8712" ] ]
- ,
- [ Plain [ Str "copyright:", Space, Str "\169" ] ]
- ]
- , Para
- [ Str "AT&T"
- , Space
- , Str "has"
- , Space
- , Str "an"
- , Space
- , Str "ampersand"
- , Space
- , Str "in"
- , Space
- , Str "their"
- , Space
- , Str "name."
- ]
- , Para
- [ Str "This", Space, Str "&", Space, Str "that." ]
- , Para
- [ Str "4", Space, Str "<", Space, Str "5." ]
- , Para
- [ Str "6", Space, Str ">", Space, Str "5." ]
- , Para
- [ Str "Backslash:", Space, Str "\\" ]
- , Para
- [ Str "Backtick:", Space, Str "`" ]
- , Para
- [ Str "Asterisk:", Space, Str "*" ]
- , Para
- [ Str "Underscore:", Space, Str "_" ]
- , Para
- [ Str "Left", Space, Str "brace:", Space, Str "{" ]
- , Para
- [ Str "Right", Space, Str "brace:", Space, Str "}" ]
- , Para
- [ Str "Left", Space, Str "bracket:", Space, Str "[" ]
- , Para
- [ Str "Right", Space, Str "bracket:", Space, Str "]" ]
- , Para
- [ Str "Left", Space, Str "paren:", Space, Str "(" ]
- , Para
- [ Str "Right", Space, Str "paren:", Space, Str ")" ]
- , Para
- [ Str "Greater-than:", Space, Str ">" ]
- , Para
- [ Str "Hash:", Space, Str "#" ]
- , Para
- [ Str "Period:", Space, Str "." ]
- , Para
- [ Str "Bang:", Space, Str "!" ]
- , Para
- [ Str "Plus:", Space, Str "+" ]
- , Para
- [ Str "Minus:", Space, Str "-" ]
- , Header 1
- ( "links", [], [] )
- [ Str "Links" ]
- , Para
- [ Str "Explicit:"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "URL" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "Explicit"
- , Space
- , Str "with"
- , Space
- , Str "no"
- , Space
- , Str "label:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "foo" ]
- ( "foo", "" )
- , Str "."
- ]
- , 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/", "" )
- ]
- , 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."
- ]
- , Para
- [ Str "Another"
- , Space
- , Link
- ( "", [], [] )
- [ Str "style"
+ , Str "set"
, Space
, Str "of"
, Space
- , Str "reference"
+ , Str "tests"
, Space
- , Str "link"
+ , 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."
]
- ( "/url1/", "" )
- , Str "."
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "link"
+ , Header
+ 2
+ ( "level-two-header" , [] , [] )
+ [ Str "Level" , Space , Str "two" , Space , Str "header" ]
+ , Header
+ 3 ( "level-three" , [] , [] ) [ Str "Level" , Space , Str "three" ]
+ , Header
+ 4
+ ( "level-four-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "four"
, Space
, Str "with"
, Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 5 ( "level-five" , [] , [] ) [ Str "Level" , Space , Str "five" ]
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , 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."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , SoftBreak
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para [ Str "Horizontal" , Space , Str "rule:" ]
+ , HorizontalRule
+ , Para [ Str "Another:" ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , BlockQuote
+ [ 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."
+ ]
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "another,"
+ , Space
+ , Str "differently"
+ , Space
+ , Str "indented:"
+ ]
+ , BlockQuote
+ [ 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."
+ ]
+ , Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para
+ [ Str "List"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "item" , Space , Str "one" ] ]
+ , [ Plain [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested" , Space , Str "block" , Space , Str "quotes:" ]
+ , BlockQuote
+ [ Para [ Str "nested" ] , BlockQuote [ Para [ Str "nested" ] ] ]
+ ]
+ , Header
+ 1 ( "code-blocks" , [] , [] ) [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}"
+ , CodeBlock
+ ( "" , [] , [] ) "this code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "this block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [ "python" ] , [] ) "def my_function(x):\n return x + 1"
+ , 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."
+ ]
+ , CodeBlock
+ ( "" , [ "haskell" ] , [] )
+ "-- this code is in haskell\ndata Tree = Leaf | Node Tree Tree"
+ , CodeBlock
+ ( "" , [ "haskell" ] , [] )
+ "-- this code is in haskell too\ndata Nat = Zero | Succ Nat"
+ , CodeBlock
+ ( "" , [ "javascript" ] , [] )
+ "-- this code is in javascript\nlet f = (x, y) => x + y"
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
+ , BulletList
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
+ , Para [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , 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."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Para [ Str "Nested:" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ] , BulletList [ [ Plain [ Str "Tab" ] ] ] ]
+ ]
+ ]
+ ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BlockQuote
+ [ BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
+ ]
+ ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
+ , OrderedList
+ ( 2 , Decimal , TwoParens )
+ [ [ Para [ Str "begins" , Space , Str "with" , Space , Str "2" ] ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with" , Space , Str "a" , Space , Str "continuation" ]
+ , OrderedList
+ ( 4 , LowerRoman , Period )
+ [ [ Plain
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , Space
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Plain [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , TwoParens )
+ [ [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Plain
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Plain
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Autonumber." ] ]
+ , [ Plain [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim ) [ [ Plain [ Str "Nested." ] ] ]
+ ]
+ ]
+ , Para
+ [ Str "Autonumbering"
+ , Space
+ , Str "with"
+ , Space
+ , Str "explicit"
+ , Space
+ , Str "start:"
+ ]
+ , OrderedList
+ ( 4 , LowerAlpha , TwoParens )
+ [ [ Plain [ Str "item" , Space , Str "1" ] ]
+ , [ Plain [ Str "item" , Space , Str "2" ] ]
+ ]
+ , Header 2 ( "definition" , [] , [] ) [ Str "Definition" ]
+ , DefinitionList
+ [ ( [ Str "term" , Space , Str "1" ]
+ , [ [ Para [ Str "Definition" , Space , Str "1." ] ] ]
+ )
+ , ( [ Str "term" , Space , Str "2" ]
+ , [ [ Para
+ [ Str "Definition"
+ , Space
+ , Str "2,"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "1."
+ ]
+ , Para
+ [ Str "Definition"
+ , Space
+ , Str "2,"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "2."
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "term"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , [ [ Para [ Str "Definition" , Space , Str "3." ] ] ]
+ )
+ ]
+ , Header
+ 1 ( "field-lists" , [] , [] ) [ Str "Field" , Space , Str "Lists" ]
+ , BlockQuote
+ [ DefinitionList
+ [ ( [ Str "address" ]
+ , [ [ Para [ Str "61" , Space , Str "Main" , Space , Str "St." ] ]
+ ]
+ )
+ , ( [ Str "city" ]
+ , [ [ Para
+ [ Emph [ Str "Nowhere" ]
+ , Str ","
+ , Space
+ , Str "MA,"
+ , SoftBreak
+ , Str "USA"
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "phone" ] , [ [ Para [ Str "123-4567" ] ] ] )
+ ]
+ ]
+ , DefinitionList
+ [ ( [ Str "address" ]
+ , [ [ Para [ Str "61" , Space , Str "Main" , Space , Str "St." ] ]
+ ]
+ )
+ , ( [ Str "city" ]
+ , [ [ Para
+ [ Emph [ Str "Nowhere" ]
+ , Str ","
+ , Space
+ , Str "MA,"
+ , SoftBreak
+ , Str "USA"
+ ]
+ ]
+ ]
+ )
+ , ( [ Str "phone" ] , [ [ Para [ Str "123-4567" ] ] ] )
+ ]
+ , Header
+ 1 ( "html-blocks" , [] , [] ) [ Str "HTML" , Space , Str "Blocks" ]
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "block"
+ , Space
+ , Str "on"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line:"
+ ]
+ , RawBlock (Format "html") "foo"
+ , Para [ Str "Now," , Space , Str "nested:" ]
+ , RawBlock
+ (Format "html")
+ "\n \n \n foo\n \n \n"
+ , Header
+ 1 ( "latex-block" , [] , [] ) [ Str "LaTeX" , Space , Str "Block" ]
+ , RawBlock
+ (Format "latex")
+ "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "emphasized" ]
+ , Str "."
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Str "strong" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) ""
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Subscript [ Str "subscripted" ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Superscript [ Str "superscripted" ]
+ , Str "."
+ ]
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Plain [ Str "I" , Space , Str "hat:" , Space , Str "\206" ] ]
+ , [ Plain [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Plain [ Str "section:" , Space , Str "\167" ] ]
+ , [ Plain
+ [ Str "set" , Space , Str "membership:" , Space , Str "\8712" ]
+ ]
+ , [ Plain [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
, Str "an"
, Space
, Str "ampersand"
, Space
, Str "in"
, Space
- , Str "the"
+ , Str "their"
, Space
- , Str "URL"
+ , Str "name."
]
- ( "http://example.com/?foo=1&bar=2", "" )
- , Str "."
- ]
+ , Para [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
, 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 "."
- ]
- , 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 "."
- ]
- , Para
- [ Str "But", Space, Str "not", Space, Str "here:" ]
- , CodeBlock
- ( "", [], [] ) "http://example.com/"
- , Header 1
- ( "images", [], [] )
- [ Str "Images" ]
- , 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):"
- ]
- , Para
- [ Image ( "", [], [] ) [ Str "image" ] ( "lalune.jpg", "" ) ]
- , Para
- [ Image
- ( "", [], [ ( "height", "2343px" ) ] )
- [ Str "Voyage dans la Lune" ]
- ( "lalune.jpg", "" )
- ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "movie"
- , Space
- , Image
- ( "", [], [] )
- [ Str "movie" ]
- ( "movie.jpg", "" )
- , Space
- , Str "icon."
- ]
- , Para
- [ Str "And"
- , Space
- , Str "an"
- , Space
- , Link
- ( "", [], [] )
- [ Image ( "", [], [] ) [ Str "A movie" ] ( "movie.jpg", "" ) ]
- ( "/url", "" )
- , Str "."
- ]
- , Header 1
- ( "comments", [], [] )
- [ Str "Comments" ]
- , Para
- [ Str "First", Space, Str "paragraph" ]
- , Para
- [ Str "Another", Space, Str "paragraph" ]
- , Para
- [ Str "A", Space, Str "third", Space, Str "paragraph" ]
- , Header 1
- ( "line-blocks", [], [] )
- [ Str "Line", Space, Str "blocks" ]
- , LineBlock
- [
- [ Str "But"
- , Space
- , Str "can"
+ [ Str "Explicit:"
, Space
, Str "a"
, Space
- , Str "bee"
- , Space
- , Str "be"
- , Space
- , Str "said"
- , Space
- , Str "to"
- , Space
- , Str "be"
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
]
- ,
- [ Str "\160\160\160\160or"
+ , Para
+ [ Str "Explicit"
, Space
- , Str "not"
+ , Str "with"
, Space
- , Str "to"
+ , Str "no"
, Space
- , Str "be"
+ , Str "label:"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "foo" ] ( "foo" , "" )
+ , Str "."
+ ]
+ , 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/" , "" )
+ ]
+ , 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."
+ ]
+ , Para
+ [ Str "Another"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "style"
+ , Space
+ , Str "of"
+ , Space
+ , Str "reference"
+ , Space
+ , Str "link"
+ ]
+ ( "/url1/" , "" )
+ , Str "."
+ ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link"
+ , Space
+ , Str "with"
, Space
, Str "an"
, Space
- , Str "entire"
+ , Str "amersand"
, Space
- , Str "bee,"
- ]
- ,
- [ Str "\160\160\160\160\160\160\160\160when"
- , Space
- , Str "half"
+ , Str "in"
, Space
, Str "the"
, Space
- , Str "bee"
+ , Str "link"
+ , Space
+ , Str "text:"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "AT&T" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , 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 "."
+ ]
+ , Para [ Str "But" , Space , Str "not" , Space , Str "here:" ]
+ , CodeBlock ( "" , [] , [] ) "http://example.com/"
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , 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):"
+ ]
+ , Para
+ [ Image ( "" , [] , [] ) [ Str "image" ] ( "lalune.jpg" , "" ) ]
+ , Para
+ [ Image
+ ( "" , [] , [ ( "height" , "2343px" ) ] )
+ [ Str "Voyage dans la Lune" ]
+ ( "lalune.jpg" , "" )
+ ]
+ , Para
+ [ Str "Here"
, Space
, Str "is"
, Space
- , Str "not"
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Image ( "" , [] , [] ) [ Str "A movie" ] ( "movie.jpg" , "" ) ]
+ ( "/url" , "" )
+ , Str "."
+ ]
+ , Header 1 ( "comments" , [] , [] ) [ Str "Comments" ]
+ , Para [ Str "First" , Space , Str "paragraph" ]
+ , Para [ Str "Another" , Space , Str "paragraph" ]
+ , Para [ Str "A" , Space , Str "third" , Space , Str "paragraph" ]
+ , Header
+ 1 ( "line-blocks" , [] , [] ) [ Str "Line" , Space , Str "blocks" ]
+ , LineBlock
+ [ [ Str "But"
+ , Space
+ , Str "can"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bee"
+ , Space
+ , Str "be"
+ , Space
+ , Str "said"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ ]
+ , [ Str "\160\160\160\160or"
+ , Space
+ , Str "not"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "entire"
+ , Space
+ , Str "bee,"
+ ]
+ , [ 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,"
+ ]
+ , [ 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?"
+ ]
+ , []
+ , [ Str "Continuation" , Space , Str "line" ]
+ , [ Str "\160\160and" , Space , Str "another" ]
+ ]
+ , Header
+ 1
+ ( "simple-tables" , [] , [] )
+ [ Str "Simple" , Space , Str "Tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r1" , Space , Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "Headless" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r1" , Space , Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 1 ( "grid-tables" , [] , [] ) [ Str "Grid" , Space , Str "Tables" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2375 )
+ , ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "col" , Space , Str "3" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" , SoftBreak , Str "b" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" , SoftBreak , Str "c" , Space , Str "2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "Headless" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2375 )
+ , ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" , SoftBreak , Str "b" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" , SoftBreak , Str "c" , Space , Str "2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Spaces"
+ , Space
+ , Str "at"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "of"
+ , Space
+ , Str "lines"
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2375 )
+ , ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "r1"
+ , Space
+ , Str "a"
+ , SoftBreak
+ , Str "r1"
+ , Space
+ , Str "bis"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" , SoftBreak , Str "b" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" , SoftBreak , Str "c" , Space , Str "2" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "r2" , Space , Str "d" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "in"
, Space
, Str "a"
, Space
- , Str "bee,"
+ , Str "cell"
]
- ,
- [ Str "\160\160\160\160\160\160\160\160\160\160\160\160due"
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.2375 )
+ , ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "r1" , Space , Str "a" ]
+ , Para [ Str "r1" , Space , Str "bis" ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ BulletList
+ [ [ Plain [ Str "b" ] ]
+ , [ Plain [ Str "b" , Space , Str "2" ] ]
+ , [ Plain [ Str "b" , Space , Str "2" ] ]
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "c"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ , SoftBreak
+ , Str "c"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , Para
+ [ Note
+ [ Para
+ [ Str "Note"
+ , Space
+ , Str "with"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line."
+ ]
+ ]
+ ]
+ , Para
+ [ Note
+ [ Para
+ [ Str "Note"
+ , Space
+ , Str "with"
+ , SoftBreak
+ , Str "continuation"
+ , Space
+ , Str "line."
+ ]
+ ]
+ ]
+ , Para
+ [ Note
+ [ Para [ Str "Note" , Space , Str "with" ]
+ , Para [ Str "continuation" , Space , Str "block." ]
+ ]
+ ]
+ , 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."
+ ]
+ ]
+ ]
+ , Para [ Str "Not" , Space , Str "in" , Space , Str "note." ]
+ , Header 1 ( "math" , [] , [] ) [ Str "Math" ]
+ , 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:"
+ ]
+ , Para [ Math DisplayMath "E=mc^2" ]
+ , Para [ Math DisplayMath "E = mc^2" ]
+ , Para
+ [ Math DisplayMath "E = mc^2"
+ , Math DisplayMath "\\alpha = \\beta"
+ ]
+ , Para
+ [ Math
+ DisplayMath
+ "\\begin{aligned}\nE &= mc^2\\\\\nF &= \\pi E\n\\end{aligned}"
+ , Math DisplayMath "F &= \\gamma \\alpha^2"
+ ]
+ , Para [ Str "All" , Space , Str "done." ]
+ , Header 1 ( "default-role" , [] , [] ) [ Str "Default-Role" ]
+ , 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."
+ ]
+ , Header
+ 2
+ ( "doesnt-break-title-parsing" , [] , [] )
+ [ Str "Doesn\8217t"
+ , Space
+ , Str "Break"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "Parsing"
+ ]
+ , 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 "."
+ ]
+ , Para
+ [ Math DisplayMath "\\alpha = beta" , Math DisplayMath "E = mc^2" ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "Reset"
+ , Space
+ , Str "default-role"
+ , Space
+ , Str "to"
+ , Space
+ , Str "the"
+ , Space
+ , Str "default"
+ , Space
+ , Str "default."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "now"
+ , Space
+ , Span
+ ( "" , [ "title-ref" ] , [] ) [ Str "some-invalid-string-3231231" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "nonsense."
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "now"
+ , Space
+ , Str "with"
+ , Space
+ , RawInline
+ (Format "html") "inline HTML"
+ , Str "."
+ ]
+ , Para
+ [ Str "And"
+ , Space
, Str "some"
, Space
- , Str "ancient"
+ , Str "inline"
, Space
- , Str "injury?"
+ , Str "haskell"
+ , Space
+ , Code ( "" , [ "haskell" ] , [] ) "fmap id [1,2..10]"
+ , Str "."
]
- , []
- ,
- [ Str "Continuation", Space, Str "line" ]
- ,
- [ Str "\160\160and", Space, Str "another" ]
- ]
- , Header 1
- ( "simple-tables", [], [] )
- [ Str "Simple", Space, Str "Tables" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "3" ] ]
- ]
+ , 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 "."
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r1", Space, Str "a" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
+ , Para
+ [ Str "Different"
+ , Space
+ , Str "indirect"
+ , Space
+ , Str "C"
+ , Space
+ , Code ( "" , [ "c" , "different-indirect" ] , [] ) "int x = 15;"
+ , Str "."
]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Headless" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r1", Space, Str "a" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 1
- ( "grid-tables", [], [] )
- [ Str "Grid", Space, Str "Tables" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.2375 )
- ,
- ( AlignDefault, ColWidth 0.15 )
- ,
- ( AlignDefault, ColWidth 0.1625 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "col", Space, Str "3" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "r1", Space, Str "a", SoftBreak, Str "r1", Space, Str "bis" ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b", SoftBreak, Str "b", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c", SoftBreak, Str "c", Space, Str "2" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Headless" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.2375 )
- ,
- ( AlignDefault, ColWidth 0.15 )
- ,
- ( AlignDefault, ColWidth 0.1625 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "r1", Space, Str "a", SoftBreak, Str "r1", Space, Str "bis" ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b", SoftBreak, Str "b", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c", SoftBreak, Str "c", Space, Str "2" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Spaces"
- , Space
- , Str "at"
- , Space
- , Str "ends"
- , Space
- , Str "of"
- , Space
- , Str "lines"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.2375 )
- ,
- ( AlignDefault, ColWidth 0.15 )
- ,
- ( AlignDefault, ColWidth 0.1625 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "r1", Space, Str "a", SoftBreak, Str "r1", Space, Str "bis" ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b", SoftBreak, Str "b", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c", SoftBreak, Str "c", Space, Str "2" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "r2", Space, Str "d" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "Multiple"
- , Space
- , Str "blocks"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "cell"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.2375 )
- ,
- ( AlignDefault, ColWidth 0.15 )
- ,
- ( AlignDefault, ColWidth 0.1625 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para
- [ Str "r1", Space, Str "a" ]
- , Para
- [ Str "r1", Space, Str "bis" ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ BulletList
- [
- [ Plain [ Str "b" ] ]
- ,
- [ Plain [ Str "b", Space, Str "2" ] ]
- ,
- [ Plain [ Str "b", Space, Str "2" ] ]
- ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "c"
- , SoftBreak
- , Str "c"
- , Space
- , Str "2"
- , SoftBreak
- , Str "c"
- , Space
- , Str "2"
- ]
- ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 1
- ( "footnotes", [], [] )
- [ Str "Footnotes" ]
- , Para
- [ Note
- [ Para
- [ Str "Note", Space, Str "with", Space, Str "one", Space, Str "line." ]
- ]
- ]
- , Para
- [ Note
- [ Para
- [ Str "Note"
- , Space
- , Str "with"
- , SoftBreak
- , Str "continuation"
- , Space
- , Str "line."
- ]
- ]
- ]
- , Para
- [ Note
- [ Para
- [ Str "Note", Space, Str "with" ]
- , Para
- [ Str "continuation", Space, Str "block." ]
- ]
- ]
- , 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." ]
- ]
- ]
- , Para
- [ Str "Not", Space, Str "in", Space, Str "note." ]
- , Header 1
- ( "math", [], [] )
- [ Str "Math" ]
- , 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:"
- ]
- , Para
- [ Math DisplayMath "E=mc^2" ]
- , Para
- [ Math DisplayMath "E = mc^2" ]
- , Para
- [ Math DisplayMath "E = mc^2", Math DisplayMath "\\alpha = \\beta" ]
- , Para
- [ Math DisplayMath "\\begin{aligned}\nE &= mc^2\\\\\nF &= \\pi E\n\\end{aligned}"
- , Math DisplayMath "F &= \\gamma \\alpha^2"
- ]
- , Para
- [ Str "All", Space, Str "done." ]
- , Header 1
- ( "default-role", [], [] )
- [ Str "Default-Role" ]
- , 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."
- ]
- , Header 2
- ( "doesnt-break-title-parsing", [], [] )
- [ Str "Doesn\8217t"
- , Space
- , Str "Break"
- , Space
- , Str "Title"
- , Space
- , Str "Parsing"
- ]
- , 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 "."
- ]
- , Para
- [ Math DisplayMath "\\alpha = beta", Math DisplayMath "E = mc^2" ]
- , 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 "."
- ]
- , Para
- [ Str "Reset"
- , Space
- , Str "default-role"
- , Space
- , Str "to"
- , Space
- , Str "the"
- , Space
- , Str "default"
- , Space
- , Str "default."
- ]
- , Para
- [ Str "And"
- , Space
- , Str "now"
- , Space
- , Span
- ( "", [ "title-ref" ], [] )
- [ Str "some-invalid-string-3231231" ]
- , Space
- , Str "is"
- , Space
- , Str "nonsense."
- ]
- , Para
- [ Str "And"
- , Space
- , Str "now"
- , Space
- , Str "with"
- , Space
- , RawInline
- ( Format "html" ) "inline HTML"
- , Str "."
- ]
- , Para
- [ Str "And"
- , Space
- , Str "some"
- , Space
- , Str "inline"
- , Space
- , Str "haskell"
- , Space
- , Code
- ( "", [ "haskell" ], [] ) "fmap id [1,2..10]"
- , Str "."
- ]
- , 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 "."
- ]
- , Para
- [ Str "Different"
- , Space
- , Str "indirect"
- , Space
- , Str "C"
- , Space
- , Code
- ( "", [ "c", "different-indirect" ], [] ) "int x = 15;"
- , Str "."
- ]
- , Header 2
- ( "literal-symbols", [], [] )
- [ Str "Literal", Space, Str "symbols" ]
- , Para
- [ Str "2*2", Space, Str "=", Space, Str "4*1" ]
+ , Header
+ 2
+ ( "literal-symbols" , [] , [] )
+ [ Str "Literal" , Space , Str "symbols" ]
+ , Para [ Str "2*2" , Space , Str "=" , Space , Str "4*1" ]
]
diff --git a/test/rtf/accent.native b/test/rtf/accent.native
index 67eb654fe..115620aff 100644
--- a/test/rtf/accent.native
+++ b/test/rtf/accent.native
@@ -1,18 +1,18 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Para
- [ Str "le"
- , Space
- , Str "caf\233"
- , Space
- , Str "o\249"
- , Space
- , Str "on"
- , Space
- , Str "ne"
- , Space
- , Str "fume"
- , Space
- , Str "pas"
- ]
+ [ Str "le"
+ , Space
+ , Str "caf\233"
+ , Space
+ , Str "o\249"
+ , Space
+ , Str "on"
+ , Space
+ , Str "ne"
+ , Space
+ , Str "fume"
+ , Space
+ , Str "pas"
+ ]
]
diff --git a/test/rtf/bookmark.native b/test/rtf/bookmark.native
index 765bf29d0..8f6df567c 100644
--- a/test/rtf/bookmark.native
+++ b/test/rtf/bookmark.native
@@ -1,11 +1,11 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Para
- [ Span ( "bookmark_1", [], [] ) [ Str "Bookmark_1" ] ]
+ [ Span ( "bookmark_1" , [] , [] ) [ Str "Bookmark_1" ] ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "click", Space, Str "me" ]
- ( "#bookmark_1", "" )
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "click" , Space , Str "me" ]
+ ( "#bookmark_1" , "" )
+ ]
]
diff --git a/test/rtf/footnote.native b/test/rtf/footnote.native
index cfea5f4a1..70f8453a9 100644
--- a/test/rtf/footnote.native
+++ b/test/rtf/footnote.native
@@ -1,130 +1,130 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Para
- [ Str "Mead's"
- , Space
- , Str "landmark"
- , Space
- , Str "study"
- , Space
- , Str "has"
- , Space
- , Str "been"
- , Space
- , Str "amply"
- , Space
- , Str "annotated."
- , Note
- [ Para
- [ Str "See"
- , Space
- , Str "Sahlins,"
- , Space
- , Str "Bateson,"
- , Space
- , Str "and"
- , Space
- , Str "Geertz"
- , Space
- , Str "for"
- , Space
- , Str "a"
- , Space
- , Str "complete"
- , Space
- , Str "bibliography."
- ]
+ [ Str "Mead's"
+ , Space
+ , Str "landmark"
+ , Space
+ , Str "study"
+ , Space
+ , Str "has"
+ , Space
+ , Str "been"
+ , Space
+ , Str "amply"
+ , Space
+ , Str "annotated."
+ , Note
+ [ Para
+ [ Str "See"
+ , Space
+ , Str "Sahlins,"
+ , Space
+ , Str "Bateson,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Geertz"
+ , Space
+ , Str "for"
+ , Space
+ , Str "a"
+ , Space
+ , Str "complete"
+ , Space
+ , Str "bibliography."
+ ]
+ ]
+ , Space
+ , Str "It"
+ , Space
+ , Str "was"
+ , Space
+ , Str "her"
+ , Space
+ , Str "work"
+ , Space
+ , Str "in"
+ , Space
+ , Str "America"
+ , Space
+ , Str "during"
+ , Space
+ , Str "the"
+ , Space
+ , Str "Second"
+ , Space
+ , Str "World"
+ , Space
+ , Str "War,"
+ , Space
+ , Str "however,"
+ , Space
+ , Str "that"
+ , Space
+ , Str "forms"
+ , Space
+ , Str "the"
+ , Space
+ , Str "basis"
+ , Space
+ , Str "for"
+ , Space
+ , Str "the"
+ , Space
+ , Str "paper."
+ , Space
+ , Str "As"
+ , Space
+ , Str "others"
+ , Space
+ , Str "have"
+ , Space
+ , Str "noted,"
+ , Note
+ [ Para
+ [ Str "A"
+ , Space
+ , Str "complete"
+ , Space
+ , Str "bibliography"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "found"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "this"
+ , Space
+ , Str "chapter."
+ ]
+ ]
+ , Space
+ , Str "this"
+ , Space
+ , Str "period"
+ , Space
+ , Str "was"
+ , Space
+ , Str "a"
+ , Space
+ , Str "turning"
+ , Space
+ , Str "point"
+ , Space
+ , Str "for"
+ , Space
+ , Str "Margaret"
+ , Space
+ , Str "Mead."
]
- , Space
- , Str "It"
- , Space
- , Str "was"
- , Space
- , Str "her"
- , Space
- , Str "work"
- , Space
- , Str "in"
- , Space
- , Str "America"
- , Space
- , Str "during"
- , Space
- , Str "the"
- , Space
- , Str "Second"
- , Space
- , Str "World"
- , Space
- , Str "War,"
- , Space
- , Str "however,"
- , Space
- , Str "that"
- , Space
- , Str "forms"
- , Space
- , Str "the"
- , Space
- , Str "basis"
- , Space
- , Str "for"
- , Space
- , Str "the"
- , Space
- , Str "paper."
- , Space
- , Str "As"
- , Space
- , Str "others"
- , Space
- , Str "have"
- , Space
- , Str "noted,"
- , Note
- [ Para
- [ Str "A"
- , Space
- , Str "complete"
- , Space
- , Str "bibliography"
- , Space
- , Str "will"
- , Space
- , Str "be"
- , Space
- , Str "found"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "end"
- , Space
- , Str "of"
- , Space
- , Str "this"
- , Space
- , Str "chapter."
- ]
- ]
- , Space
- , Str "this"
- , Space
- , Str "period"
- , Space
- , Str "was"
- , Space
- , Str "a"
- , Space
- , Str "turning"
- , Space
- , Str "point"
- , Space
- , Str "for"
- , Space
- , Str "Margaret"
- , Space
- , Str "Mead."
- ]
]
diff --git a/test/rtf/formatting.native b/test/rtf/formatting.native
index 6e5001de3..7035ccb91 100644
--- a/test/rtf/formatting.native
+++ b/test/rtf/formatting.native
@@ -1,51 +1,45 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "operator"
- , MetaInlines
- [ Str "John", Space, Str "MacFarlane" ]
- )
- ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "operator"
+ , MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ )
+ ]
}
- )
[ Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "test"
- , Space
- , Str "of"
- , Space
- , Str "FORMATTING."
- , Space
- , Str "This"
- , Space
- , Str "is"
- , Space
- , Str "hidden:"
- , Space
- , Str "."
- ]
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "test"
+ , Space
+ , Str "of"
+ , Space
+ , Str "FORMATTING."
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "hidden:"
+ , Space
+ , Str "."
+ ]
+ , Para [ SmallCaps [ Str "Small" , Space , Str "Caps" ] ]
+ , Para [ Strong [ Str "bold" ] ]
+ , Para [ Emph [ Str "italics" ] ]
, Para
- [ SmallCaps [ Str "Small", Space, Str "Caps" ] ]
- , Para
- [ Strong [ Str "bold" ] ]
- , Para
- [ Emph [ Str "italics" ] ]
- , Para
- [ Strong
- [ Str "bold", Space, Emph [ Str "and", Space, Str "italics" ] ]
- ]
- , Para
- [ Underline [ Str "underlined" ] ]
- , Para
- [ Strikeout [ Str "strikeout" ] ]
- , Para
- [ Str "x", Superscript [ Str "superscript" ] ]
- , Para
- [ Str "x", Subscript [ Str "subscript" ] ]
+ [ Strong
+ [ Str "bold"
+ , Space
+ , Emph [ Str "and" , Space , Str "italics" ]
+ ]
+ ]
+ , Para [ Underline [ Str "underlined" ] ]
+ , Para [ Strikeout [ Str "strikeout" ] ]
+ , Para [ Str "x" , Superscript [ Str "superscript" ] ]
+ , Para [ Str "x" , Subscript [ Str "subscript" ] ]
]
diff --git a/test/rtf/heading.native b/test/rtf/heading.native
index 27d5d455e..5a076424b 100644
--- a/test/rtf/heading.native
+++ b/test/rtf/heading.native
@@ -1,14 +1,10 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
- [ Header 1
- ( "", [], [] )
- [ Str "Heading", Space, Str "1" ]
- , Header 2
- ( "", [], [] )
- [ Str "Heading", Space, Str "2" ]
- , Header 3
- ( "", [], [] )
- [ Str "Heading", Space, Str "3" ]
- , Para
- [ Str "Paragraph" ]
+ Meta { unMeta = fromList [] }
+ [ Header
+ 1 ( "" , [] , [] ) [ Str "Heading" , Space , Str "1" ]
+ , Header
+ 2 ( "" , [] , [] ) [ Str "Heading" , Space , Str "2" ]
+ , Header
+ 3 ( "" , [] , [] ) [ Str "Heading" , Space , Str "3" ]
+ , Para [ Str "Paragraph" ]
]
diff --git a/test/rtf/image.native b/test/rtf/image.native
index 551a0f95c..1efe9d4aa 100644
--- a/test/rtf/image.native
+++ b/test/rtf/image.native
@@ -1,9 +1,12 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Para
- [ Image
- ( "", [], [ ( "width", "2.0in" ), ( "height", "2.0in" ) ] )
- [ Str "image" ]
- ( "f9d88c3dbe18f6a7f5670e994a947d51216cdf0e.jpg", "" )
- ]
+ [ Image
+ ( ""
+ , []
+ , [ ( "width" , "2.0in" ) , ( "height" , "2.0in" ) ]
+ )
+ [ Str "image" ]
+ ( "f9d88c3dbe18f6a7f5670e994a947d51216cdf0e.jpg" , "" )
+ ]
]
diff --git a/test/rtf/link.native b/test/rtf/link.native
index 9902760e1..63a0d19ff 100644
--- a/test/rtf/link.native
+++ b/test/rtf/link.native
@@ -1,5 +1,9 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Para
- [ Link ( "", [], [] ) [ Str "pandoc" ] ( "http://pandoc.org", "" ) ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "pandoc" ]
+ ( "http://pandoc.org" , "" )
+ ]
]
diff --git a/test/rtf/list_complex.native b/test/rtf/list_complex.native
index 73e2e14f8..9dfd17755 100644
--- a/test/rtf/list_complex.native
+++ b/test/rtf/list_complex.native
@@ -1,84 +1,64 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "author"
- , MetaInlines
- [ Str "Cynthia", Space, Str "Johnson" ]
- )
- ,
- ( "operator"
- , MetaInlines
- [ Str "John", Space, Str "MacFarlane" ]
- )
- ,
- ( "title"
- , MetaInlines
- [ Str "Text", Space, Str "before", Space, Str "list" ]
- )
- ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author"
+ , MetaInlines [ Str "Cynthia" , Space , Str "Johnson" ]
+ )
+ , ( "operator"
+ , MetaInlines [ Str "John" , Space , Str "MacFarlane" ]
+ )
+ , ( "title"
+ , MetaInlines
+ [ Str "Text"
+ , Space
+ , Str "before"
+ , Space
+ , Str "list"
+ ]
+ )
+ ]
}
- )
[ OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "One" ] ]
- ,
- [ Para
- [ Str "Two" ]
- , OrderedList
- ( 1, LowerAlpha, Period )
- [
- [ Para [ Str "Three" ] ]
- ,
- [ Para
- [ Str "Four" ]
- , OrderedList
- ( 1, LowerRoman, Period )
- [
- [ Para [ Str "Five" ] ]
- ,
- [ Para
- [ Str "Six" ]
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ]
+ , OrderedList
+ ( 1 , LowerAlpha , Period )
+ [ [ Para [ Str "Three" ] ]
+ , [ Para [ Str "Four" ]
, OrderedList
- ( 1, UpperAlpha, Period )
- [
- [ Para [ Str "Seven" ] ]
- ,
- [ Para
- [ Str "Eight" ]
- , OrderedList
- ( 1, UpperRoman, Period )
- [
- [ Para [ Str "Nine" ] ]
- ,
- [ Para
- [ Str "Ten" ]
- , BulletList
- [
- [ Para [ Str "Eleven" ] ]
- ,
- [ Para [ Str "Twelve" ] ]
+ ( 1 , LowerRoman , Period )
+ [ [ Para [ Str "Five" ] ]
+ , [ Para [ Str "Six" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Para [ Str "Seven" ] ]
+ , [ Para [ Str "Eight" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Para [ Str "Nine" ] ]
+ , [ Para [ Str "Ten" ]
+ , BulletList
+ [ [ Para [ Str "Eleven" ] ]
+ , [ Para [ Str "Twelve" ] ]
+ ]
+ ]
+ ]
+ ]
]
- ]
]
]
- ]
]
]
- ]
]
]
- ]
, Para
- [ Str "Out", Space, Str "of", Space, Str "list!" ]
- , Para
- [ Str "Start", Space, Str "with" ]
+ [ Str "Out" , Space , Str "of" , Space , Str "list!" ]
+ , Para [ Str "Start" , Space , Str "with" ]
, OrderedList
- ( 7, Decimal, Period )
- [
- [ Para [ Str "Seven", Space, Str "Start" ] ]
- ,
- [ Para [ Str "Eight", Space, Str "Continue" ] ]
- ]
+ ( 7 , Decimal , Period )
+ [ [ Para [ Str "Seven" , Space , Str "Start" ] ]
+ , [ Para [ Str "Eight" , Space , Str "Continue" ] ]
+ ]
]
diff --git a/test/rtf/list_simple.native b/test/rtf/list_simple.native
index dc5b65b97..10d9dede2 100644
--- a/test/rtf/list_simple.native
+++ b/test/rtf/list_simple.native
@@ -1,11 +1,10 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ BulletList
- [
- [ Para [ Str "one" ] ]
- ,
- [ Para [ Str "two" ], BulletList [ [ Para [ Str "sub" ] ] ] ]
- ]
- , BulletList
- [ [ Para [ Str "new", Space, Str "list" ] ] ]
+ [ [ Para [ Str "one" ] ]
+ , [ Para [ Str "two" ]
+ , BulletList [ [ Para [ Str "sub" ] ] ]
+ ]
+ ]
+ , BulletList [ [ Para [ Str "new" , Space , Str "list" ] ] ]
]
diff --git a/test/rtf/table_error_codes.native b/test/rtf/table_error_codes.native
index 35d774065..33c143933 100644
--- a/test/rtf/table_error_codes.native
+++ b/test/rtf/table_error_codes.native
@@ -1,369 +1,422 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Code" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "Error" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocFailOnWarningError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocAppError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocTemplateError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "6" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocOptionError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "21" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocUnknownReaderError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "22" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocUnknownWriterError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "23" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocUnsupportedExtensionError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "24" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocCiteprocError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "31" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocEpubSubdirectoryError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "43" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocPDFError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "44" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocXMLError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "47" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocPDFProgramNotFoundError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "61" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocHttpError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "62" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocShouldNeverHappenError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "63" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocSomeError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "64" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocParseError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "65" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocParsecError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "66" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocMakePDFError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "67" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocSyntaxMapError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "83" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocFilterError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "91" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocMacroLoop" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "92" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocUTF8DecodingError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "93" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocIpynbDecodingError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "94" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocUnsupportedCharsetError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "97" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocCouldNotFindDataFileError" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "99" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "PandocResourceNotFound" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Code" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "Error" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocFailOnWarningError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocAppError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocTemplateError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "6" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocOptionError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "21" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUnknownReaderError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "22" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUnknownWriterError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "23" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUnsupportedExtensionError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "24" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocCiteprocError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "31" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocEpubSubdirectoryError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "43" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocPDFError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "44" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocXMLError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "47" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocPDFProgramNotFoundError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "61" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocHttpError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "62" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocShouldNeverHappenError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "63" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocSomeError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "64" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocParseError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "65" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocParsecError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "66" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocMakePDFError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "67" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocSyntaxMapError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "83" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocFilterError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "91" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocMacroLoop" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "92" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUTF8DecodingError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "93" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocIpynbDecodingError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "94" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocUnsupportedCharsetError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "97" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocCouldNotFindDataFileError" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "99" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "PandocResourceNotFound" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
]
diff --git a/test/rtf/table_simple.native b/test/rtf/table_simple.native
index 05e736829..dce03cf25 100644
--- a/test/rtf/table_simple.native
+++ b/test/rtf/table_simple.native
@@ -1,68 +1,73 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "A" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "B" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "C" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "D" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "E" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "F" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "G" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Para [ Str "H" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "B" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "C" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "D" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "E" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "F" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "G" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Para [ Str "H" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
]
diff --git a/test/rtf/unicode.native b/test/rtf/unicode.native
index 4e2340b84..ed21b4f47 100644
--- a/test/rtf/unicode.native
+++ b/test/rtf/unicode.native
@@ -1,3 +1,3 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ Para [ Str "\8220hi\8221\8216hi\8217\61623\945\228" ] ]
diff --git a/test/tables-rstsubset.native b/test/tables-rstsubset.native
index dce2c9406..ba3fb211a 100644
--- a/test/tables-rstsubset.native
+++ b/test/tables-rstsubset.native
@@ -1,913 +1,973 @@
[ Para
- [ Str "Simple", Space, Str "table", Space, Str "with", Space, Str "caption:" ]
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
, Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ Str "Demonstration"
- , Space
- , Str "of"
- , Space
- , Str "simple"
- , Space
- , Str "table"
- , Space
- , Str "syntax."
- ]
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Simple"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "caption:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Simple"
- , Space
- , Str "table"
- , Space
- , Str "indented"
- , Space
- , Str "two"
- , Space
- , Str "spaces:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ Str "Demonstration"
- , Space
- , Str "of"
- , Space
- , Str "simple"
- , Space
- , Str "table"
- , Space
- , Str "syntax."
- ]
- ]
- )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Multiline"
- , Space
- , Str "table"
- , Space
- , Str "with"
- , Space
- , Str "caption:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "the"
- , Space
- , Str "caption."
- , Space
- , Str "It"
- , Space
- , Str "may"
- , Space
- , Str "span"
- , Space
- , Str "multiple"
- , Space
- , Str "lines."
- ]
- ]
- )
- [
- ( AlignDefault, ColWidth 0.15 )
- ,
- ( AlignDefault, ColWidth 0.1375 )
- ,
- ( AlignDefault, ColWidth 0.1625 )
- ,
- ( AlignDefault, ColWidth 0.35 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Centered", SoftBreak, Str "Header" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left", SoftBreak, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right", SoftBreak, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default", Space, Str "aligned" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , SoftBreak
- , Str "spans"
- , Space
- , Str "multiple"
- , Space
- , Str "lines."
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "another"
- , Space
- , Str "one."
- , Space
- , Str "Note"
- , SoftBreak
- , Str "the"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "between"
- , SoftBreak
- , Str "rows."
- ]
- ]
- ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Para
- [ Str "Multiline"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "caption:"
- ]
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.15 )
- ,
- ( AlignDefault, ColWidth 0.1375 )
- ,
- ( AlignDefault, ColWidth 0.1625 )
- ,
- ( AlignDefault, ColWidth 0.35 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Centered", SoftBreak, Str "Header" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left", SoftBreak, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right", SoftBreak, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default", Space, Str "aligned" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , SoftBreak
- , Str "spans"
- , Space
- , Str "multiple"
- , Space
- , Str "lines."
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "another"
- , Space
- , Str "one."
- , Space
- , Str "Note"
- , SoftBreak
- , Str "the"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "between"
- , SoftBreak
- , Str "rows."
- ]
- ]
- ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Para
- [ Str "Table"
- , Space
- , Str "without"
- , Space
- , Str "column"
- , Space
- , Str "headers:"
- ]
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "two"
+ , Space
+ , Str "spaces:"
+ ]
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Para
- [ Str "Multiline"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "column"
- , Space
- , Str "headers:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidth 0.15 )
- ,
- ( AlignDefault, ColWidth 0.1375 )
- ,
- ( AlignDefault, ColWidth 0.1625 )
- ,
- ( AlignDefault, ColWidth 0.35 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , SoftBreak
- , Str "spans"
- , Space
- , Str "multiple"
- , Space
- , Str "lines."
- ]
- ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "another"
- , Space
- , Str "one."
- , Space
- , Str "Note"
- , SoftBreak
- , Str "the"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "between"
- , SoftBreak
- , Str "rows."
- ]
- ]
- ]
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "the"
+ , Space
+ , Str "caption."
+ , Space
+ , Str "It"
+ , Space
+ , Str "may"
+ , Space
+ , Str "span"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ])
+ [ ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1375 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ , ( AlignDefault , ColWidth 0.35 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , SoftBreak , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , SoftBreak
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1375 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ , ( AlignDefault , ColWidth 0.35 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , SoftBreak , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , SoftBreak
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidth 0.15 )
+ , ( AlignDefault , ColWidth 0.1375 )
+ , ( AlignDefault , ColWidth 0.1625 )
+ , ( AlignDefault , ColWidth 0.35 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , SoftBreak
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
]
diff --git a/test/tables.native b/test/tables.native
index c3a2537cb..de46ce368 100644
--- a/test/tables.native
+++ b/test/tables.native
@@ -1,891 +1,964 @@
[ Para
- [ Str "Simple", Space, Str "table", Space, Str "with", Space, Str "caption:" ]
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
, Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ Str "Demonstration"
- , Space
- , Str "of"
- , Space
- , Str "simple"
- , Space
- , Str "table"
- , Space
- , Str "syntax."
- ]
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Simple"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "caption:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Simple"
- , Space
- , Str "table"
- , Space
- , Str "indented"
- , Space
- , Str "two"
- , Space
- , Str "spaces:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ Str "Demonstration"
- , Space
- , Str "of"
- , Space
- , Str "simple"
- , Space
- , Str "table"
- , Space
- , Str "syntax."
- ]
- ]
- )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Center" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
-, Para
- [ Str "Multiline"
- , Space
- , Str "table"
- , Space
- , Str "with"
- , Space
- , Str "caption:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "the"
- , Space
- , Str "caption."
- , SoftBreak
- , Str "It"
- , Space
- , Str "may"
- , Space
- , Str "span"
- , Space
- , Str "multiple"
- , Space
- , Str "lines."
- ]
- ]
- )
- [
- ( AlignCenter, ColWidth 0.15 )
- ,
- ( AlignLeft, ColWidth 0.1375 )
- ,
- ( AlignRight, ColWidth 0.1625 )
- ,
- ( AlignLeft, ColWidth 0.35 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Centered", SoftBreak, Str "Header" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left", SoftBreak, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right", SoftBreak, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default", Space, Str "aligned" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , Space
- , Str "spans"
- , SoftBreak
- , Str "multiple"
- , Space
- , Str "lines."
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "another"
- , Space
- , Str "one."
- , Space
- , Str "Note"
- , SoftBreak
- , Str "the"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "between"
- , Space
- , Str "rows."
- ]
- ]
- ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Para
- [ Str "Multiline"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "caption:"
- ]
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidth 0.15 )
- ,
- ( AlignLeft, ColWidth 0.1375 )
- ,
- ( AlignRight, ColWidth 0.1625 )
- ,
- ( AlignLeft, ColWidth 0.35 )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Centered", SoftBreak, Str "Header" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Left", SoftBreak, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Right", SoftBreak, Str "Aligned" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Default", Space, Str "aligned" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , Space
- , Str "spans"
- , SoftBreak
- , Str "multiple"
- , Space
- , Str "lines."
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "another"
- , Space
- , Str "one."
- , Space
- , Str "Note"
- , SoftBreak
- , Str "the"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "between"
- , Space
- , Str "rows."
- ]
- ]
- ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Para
- [ Str "Table"
- , Space
- , Str "without"
- , Space
- , Str "column"
- , Space
- , Str "headers:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignRight, ColWidthDefault )
- ,
- ( AlignLeft, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignRight, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "123" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- ]
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "two"
+ , Space
+ , Str "spaces:"
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
, Para
- [ Str "Multiline"
- , Space
- , Str "table"
- , Space
- , Str "without"
- , Space
- , Str "column"
- , Space
- , Str "headers:"
- ]
-, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidth 0.15 )
- ,
- ( AlignLeft, ColWidth 0.1375 )
- ,
- ( AlignRight, ColWidth 0.1625 )
- ,
- ( AlignDefault, ColWidth 0.35 )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "First" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "12.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Example"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "row"
- , Space
- , Str "that"
- , Space
- , Str "spans"
- , SoftBreak
- , Str "multiple"
- , Space
- , Str "lines."
- ]
- ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Second" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "row" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5.0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "another"
- , Space
- , Str "one."
- , Space
- , Str "Note"
- , SoftBreak
- , Str "the"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "between"
- , Space
- , Str "rows."
- ]
- ]
- ]
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+, Table
+ ( "" , [] , [] )
+ (Caption
+ Nothing
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "the"
+ , Space
+ , Str "caption."
+ , SoftBreak
+ , Str "It"
+ , Space
+ , Str "may"
+ , Space
+ , Str "span"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ])
+ [ ( AlignCenter , ColWidth 0.15 )
+ , ( AlignLeft , ColWidth 0.1375 )
+ , ( AlignRight , ColWidth 0.1625 )
+ , ( AlignLeft , ColWidth 0.35 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , SoftBreak , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , SoftBreak
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidth 0.15 )
+ , ( AlignLeft , ColWidth 0.1375 )
+ , ( AlignRight , ColWidth 0.1625 )
+ , ( AlignLeft , ColWidth 0.35 )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Centered" , SoftBreak , Str "Header" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Left" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Right" , SoftBreak , Str "Aligned" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Default" , Space , Str "aligned" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , SoftBreak
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidth 0.15 )
+ , ( AlignLeft , ColWidth 0.1375 )
+ , ( AlignRight , ColWidth 0.1625 )
+ , ( AlignDefault , ColWidth 0.35 )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , Space
+ , Str "spans"
+ , SoftBreak
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
]
diff --git a/test/testsuite.native b/test/testsuite.native
index d6b91ca69..5f9be452f 100644
--- a/test/testsuite.native
+++ b/test/testsuite.native
@@ -1,632 +1,509 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "author"
- , MetaList
- [ MetaInlines
- [ Str "John", Space, Str "MacFarlane" ]
- , MetaInlines
- [ Str "Anonymous" ]
+ 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"
+ ]
+ )
]
- )
- ,
- ( "date"
- , MetaInlines
- [ Str "July", Space, Str "17,", Space, Str "2006" ]
- )
- ,
- ( "title"
- , MetaInlines
- [ Str "Pandoc", Space, Str "Test", Space, Str "Suite" ]
- )
- ]
}
- )
[ 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."
- ]
- , HorizontalRule
- , Header 1
- ( "headers", [], [] )
- [ Str "Headers" ]
- , 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", "" )
- ]
- , Header 3
- ( "level-3-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "3"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 4
- ( "level-4", [], [] )
- [ Str "Level", Space, Str "4" ]
- , Header 5
- ( "level-5", [], [] )
- [ Str "Level", Space, Str "5" ]
- , Header 1
- ( "level-1", [], [] )
- [ Str "Level", Space, Str "1" ]
- , Header 2
- ( "level-2-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 3
- ( "level-3", [], [] )
- [ Str "Level", Space, Str "3" ]
- , Para
- [ Str "with"
- , Space
- , Str "no"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- ]
- , Header 2
- ( "level-2", [], [] )
- [ Str "Level", Space, Str "2" ]
- , Para
- [ Str "with"
- , Space
- , Str "no"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- ]
- , HorizontalRule
- , Header 1
- ( "paragraphs", [], [] )
- [ Str "Paragraphs" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "regular"
- , Space
- , Str "paragraph."
- ]
- , 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."
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "one"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "bullet."
- , SoftBreak
- , Str "*"
- , Space
- , Str "criminey."
- ]
- , Para
- [ Str "There"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "hard"
- , Space
- , Str "line"
- , Space
- , Str "break"
- , LineBreak
- , Str "here."
- ]
- , HorizontalRule
- , Header 1
- ( "block-quotes", [], [] )
- [ Str "Block", Space, Str "Quotes" ]
- , Para
- [ Str "E-mail", Space, Str "style:" ]
- , BlockQuote
- [ Para
[ Str "This"
, Space
, Str "is"
, Space
, Str "a"
, Space
- , Str "block"
+ , Str "set"
, Space
- , Str "quote."
+ , 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 "It"
+ , Str "John"
, Space
- , Str "is"
+ , Str "Gruber\8217s"
, Space
- , Str "pretty"
+ , Str "markdown"
, Space
- , Str "short."
+ , Str "test"
+ , Space
+ , Str "suite."
]
- ]
- , BlockQuote
- [ Para
- [ Str "Code"
+ , HorizontalRule
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , 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" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , HorizontalRule
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , 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."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , SoftBreak
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ 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."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "item" , Space , Str "one" ] ]
+ , [ Plain [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quotes:"
+ ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
, Str "a"
, Space
, Str "block"
, Space
, Str "quote:"
+ , Space
+ , Str "2"
+ , SoftBreak
+ , Str ">"
+ , Space
+ , Str "1."
]
- , CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- , Para
- [ Str "A", Space, Str "list:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "item", Space, Str "one" ] ]
- ,
- [ Plain [ Str "item", Space, Str "two" ] ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
]
- , Para
- [ Str "Nested", Space, Str "block", Space, Str "quotes:" ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "block"
- , Space
- , Str "quote:"
- , Space
- , Str "2"
- , SoftBreak
- , Str ">"
- , Space
- , Str "1."
- ]
- , Para
- [ Str "And"
- , Space
- , Str "a"
- , Space
- , Str "following"
- , Space
- , Str "paragraph."
- ]
, HorizontalRule
- , Header 1
- ( "code-blocks", [], [] )
- [ Str "Code", Space, Str "Blocks" ]
- , Para
- [ Str "Code:" ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
, CodeBlock
- ( ""
- , []
- , []
- ) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
- , Para
- [ Str "And:" ]
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
, CodeBlock
- ( ""
- , []
- , []
- ) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
, HorizontalRule
- , Header 1
- ( "lists", [], [] )
- [ Str "Lists" ]
- , Header 2
- ( "unordered", [], [] )
- [ Str "Unordered" ]
- , Para
- [ Str "Asterisks", Space, Str "tight:" ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
, BulletList
- [
- [ Plain [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Asterisks", Space, Str "loose:" ]
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
, BulletList
- [
- [ Para [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "tight:" ]
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
, BulletList
- [
- [ Plain [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "loose:" ]
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
, BulletList
- [
- [ Para [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "tight:" ]
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
, BulletList
- [
- [ Plain [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "loose:" ]
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
, BulletList
- [
- [ Para [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "3" ] ]
- ]
- , Header 2
- ( "ordered", [], [] )
- [ Str "Ordered" ]
- , Para
- [ Str "Tight:" ]
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "First" ] ]
- ,
- [ Plain [ Str "Second" ] ]
- ,
- [ Plain [ Str "Third" ] ]
- ]
- , Para
- [ Str "and:" ]
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "One" ] ]
- ,
- [ Plain [ Str "Two" ] ]
- ,
- [ Plain [ Str "Three" ] ]
- ]
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
, Para
- [ Str "Loose", Space, Str "using", Space, Str "tabs:" ]
+ [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para [ Str "Second" ] ]
- ,
- [ Para [ Str "Third" ] ]
- ]
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
, Para
- [ Str "and", Space, Str "using", Space, Str "spaces:" ]
+ [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "One" ] ]
- ,
- [ Para [ Str "Two" ] ]
- ,
- [ Para [ Str "Three" ] ]
- ]
- , Para
- [ Str "Multiple", Space, Str "paragraphs:" ]
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Para
- [ Str "Item"
- , Space
- , Str "1,"
- , Space
- , Str "graf"
- , Space
- , Str "one."
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , 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."
+ ]
]
- , 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."
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList [ [ Plain [ Str "Tab" ] ] ]
+ ]
+ ]
]
]
- ,
- [ Para [ Str "Item", Space, Str "2." ] ]
- ,
- [ Para [ Str "Item", Space, Str "3." ] ]
- ]
- , Header 2
- ( "nested", [], [] )
- [ Str "Nested" ]
- , BulletList
- [
- [ Plain
- [ Str "Tab" ]
- , BulletList
- [
- [ Plain
- [ Str "Tab" ]
- , BulletList
- [ [ Plain [ Str "Tab" ] ] ]
- ]
- ]
- ]
- ]
- , Para
- [ Str "Here\8217s", Space, Str "another:" ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "First" ] ]
- ,
- [ Plain
- [ Str "Second:" ]
- , BulletList
- [
- [ Plain [ Str "Fee" ] ]
- ,
- [ Plain [ Str "Fie" ] ]
- ,
- [ Plain [ Str "Foe" ] ]
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
]
+ , [ Plain [ Str "Third" ] ]
]
- ,
- [ Plain [ Str "Third" ] ]
- ]
, Para
- [ Str "Same"
- , Space
- , Str "thing"
- , Space
- , Str "but"
- , Space
- , Str "with"
- , Space
- , Str "paragraphs:"
- ]
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Plain [ Str "Fee" ] ]
- ,
- [ Plain [ Str "Fie" ] ]
- ,
- [ Plain [ Str "Foe" ] ]
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
]
+ , [ Para [ Str "Third" ] ]
]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Header 2
- ( "tabs-and-spaces", [], [] )
- [ Str "Tabs", Space, Str "and", Space, Str "spaces" ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
, BulletList
- [
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , SoftBreak
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "tabs"
- ]
- ]
- ,
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , SoftBreak
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "spaces"
- ]
- , BulletList
- [
- [ Para
+ [ [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -638,16 +515,13 @@ Pandoc
, Space
, Str "tabs"
]
- ]
- ,
- [ Para
+ ]
+ , [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -659,1833 +533,1702 @@ Pandoc
, Space
, Str "spaces"
]
- ]
- ]
- ]
- ]
- , Header 2
- ( "fancy-list-markers", [], [] )
- [ Str "Fancy", Space, Str "list", Space, Str "markers" ]
- , OrderedList
- ( 2, Decimal, TwoParens )
- [
- [ Para [ Str "begins", Space, Str "with", Space, Str "2" ] ]
- ,
- [ Para
- [ Str "and", Space, Str "now", Space, Str "3" ]
- , Para
- [ Str "with", Space, Str "a", Space, Str "continuation" ]
- , OrderedList
- ( 4, LowerRoman, Period )
- [
- [ Plain
- [ Str "sublist"
- , Space
- , Str "with"
- , Space
- , Str "roman"
- , Space
- , Str "numerals,"
- , SoftBreak
- , Str "starting"
- , Space
- , Str "with"
- , Space
- , Str "4"
- ]
- ]
- ,
- [ Plain
- [ Str "more", Space, Str "items" ]
- , OrderedList
- ( 1, UpperAlpha, TwoParens )
- [
- [ Plain [ Str "a", Space, Str "subsublist" ] ]
- ,
- [ Plain [ Str "a", Space, Str "subsublist" ] ]
- ]
- ]
- ]
- ]
- ]
- , Para
- [ Str "Nesting:" ]
- , OrderedList
- ( 1, UpperAlpha, Period )
- [
- [ Plain
- [ Str "Upper", Space, Str "Alpha" ]
- , OrderedList
- ( 1, UpperRoman, Period )
- [
- [ Plain
- [ Str "Upper", Space, Str "Roman." ]
- , OrderedList
- ( 6, Decimal, TwoParens )
- [
- [ Plain
- [ Str "Decimal"
- , Space
- , Str "start"
- , Space
- , Str "with"
- , Space
- , Str "6"
- ]
- , OrderedList
- ( 3, LowerAlpha, OneParen )
- [
- [ Plain
- [ Str "Lower"
- , Space
- , Str "alpha"
- , Space
- , Str "with"
- , Space
- , Str "paren"
- ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
]
- ]
]
]
- ]
]
]
- ]
- , Para
- [ Str "Autonumbering:" ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Autonumber." ] ]
- ,
- [ Plain
- [ Str "More." ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Plain [ Str "Nested." ] ] ]
+ ( 2 , Decimal , TwoParens )
+ [ [ Para
+ [ Str "begins" , Space , Str "with" , Space , Str "2" ]
+ ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ , OrderedList
+ ( 4 , LowerRoman , Period )
+ [ [ Plain
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , SoftBreak
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Plain [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , TwoParens )
+ [ [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Plain
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Plain
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Autonumber." ] ]
+ , [ Plain [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Nested." ] ] ]
+ ]
]
- ]
, Para
- [ Str "Should"
- , Space
- , Str "not"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item:"
- ]
- , Para
- [ Str "M.A.\160\&2007" ]
- , Para
- [ Str "B.", Space, Str "Williams" ]
+ [ Str "Should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item:"
+ ]
+ , Para [ Str "M.A.\160\&2007" ]
+ , Para [ Str "B." , Space , Str "Williams" ]
, HorizontalRule
- , Header 1
- ( "definition-lists", [], [] )
- [ Str "Definition", Space, Str "Lists" ]
+ , Header
+ 1
+ ( "definition-lists" , [] , [] )
+ [ Str "Definition" , Space , Str "Lists" ]
, Para
- [ Str "Tight", Space, Str "using", Space, Str "spaces:" ]
+ [ Str "Tight"
+ , Space
+ , Str "using"
+ , Space
+ , Str "spaces:"
+ ]
, DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [ [ Plain [ Str "red", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [ [ Plain [ Str "orange", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "banana" ]
- ,
- [ [ Plain [ Str "yellow", Space, Str "fruit" ] ] ]
- )
- ]
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Plain [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
, Para
- [ Str "Tight", Space, Str "using", Space, Str "tabs:" ]
+ [ Str "Tight" , Space , Str "using" , Space , Str "tabs:" ]
, DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [ [ Plain [ Str "red", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [ [ Plain [ Str "orange", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "banana" ]
- ,
- [ [ Plain [ Str "yellow", Space, Str "fruit" ] ] ]
- )
- ]
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Plain [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para [ Str "Loose:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
, Para
- [ Str "Loose:" ]
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "with"
+ , Space
+ , Str "italics:"
+ ]
, DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [ [ Para [ Str "red", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [ [ Para [ Str "orange", Space, Str "fruit" ] ] ]
- )
- ,
- (
- [ Str "banana" ]
- ,
- [ [ Para [ Str "yellow", Space, Str "fruit" ] ] ]
- )
- ]
- , Para
- [ Str "Multiple"
- , Space
- , Str "blocks"
- , Space
- , Str "with"
- , Space
- , Str "italics:"
- ]
- , DefinitionList
- [
- (
- [ Emph [ Str "apple" ] ]
- ,
- [
- [ Para
- [ Str "red", Space, Str "fruit" ]
- , Para
- [ Str "contains"
- , Space
- , Str "seeds,"
- , SoftBreak
- , Str "crisp,"
- , Space
- , Str "pleasant"
- , Space
- , Str "to"
- , Space
- , Str "taste"
+ [ ( [ Emph [ Str "apple" ] ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ]
+ , Para
+ [ Str "contains"
+ , Space
+ , Str "seeds,"
+ , SoftBreak
+ , Str "crisp,"
+ , Space
+ , Str "pleasant"
+ , Space
+ , Str "to"
+ , Space
+ , Str "taste"
+ ]
]
]
- ]
- )
- ,
- (
- [ Emph [ Str "orange" ] ]
- ,
- [
- [ Para
- [ Str "orange", Space, Str "fruit" ]
- , CodeBlock
- ( "", [], [] ) "{ orange code block }"
- , BlockQuote
- [ Para
- [ Str "orange", Space, Str "block", Space, Str "quote" ]
+ )
+ , ( [ Emph [ Str "orange" ] ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , CodeBlock ( "" , [] , [] ) "{ orange code block }"
+ , BlockQuote
+ [ Para
+ [ Str "orange"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote"
+ ]
+ ]
]
]
- ]
- )
- ]
+ )
+ ]
, Para
- [ Str "Multiple", Space, Str "definitions,", Space, Str "tight:" ]
+ [ Str "Multiple"
+ , Space
+ , Str "definitions,"
+ , Space
+ , Str "tight:"
+ ]
, DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [
- [ Plain [ Str "red", Space, Str "fruit" ] ]
- ,
- [ Plain [ Str "computer" ] ]
- ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [
- [ Plain [ Str "orange", Space, Str "fruit" ] ]
- ,
- [ Plain [ Str "bank" ] ]
- ]
- )
- ]
- , Para
- [ Str "Multiple", Space, Str "definitions,", Space, Str "loose:" ]
- , DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [
- [ Para [ Str "red", Space, Str "fruit" ] ]
- ,
- [ Para [ Str "computer" ] ]
- ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [
- [ Para [ Str "orange", Space, Str "fruit" ] ]
- ,
- [ Para [ Str "bank" ] ]
- ]
- )
- ]
- , Para
- [ Str "Blank"
- , Space
- , Str "line"
- , Space
- , Str "after"
- , Space
- , Str "term,"
- , Space
- , Str "indented"
- , Space
- , Str "marker,"
- , Space
- , Str "alternate"
- , Space
- , Str "markers:"
- ]
- , DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [
- [ Para [ Str "red", Space, Str "fruit" ] ]
- ,
- [ Para [ Str "computer" ] ]
- ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [
- [ Para
- [ Str "orange", Space, Str "fruit" ]
- , OrderedList
- ( 1, Decimal, Period )
- [ [ Plain [ Str "sublist" ] ], [ Plain [ Str "sublist" ] ] ]
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ]
+ , [ Plain [ Str "computer" ] ]
]
- ]
- )
- ]
- , Header 1
- ( "html-blocks", [], [] )
- [ Str "HTML", Space, Str "Blocks" ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ]
+ , [ Plain [ Str "bank" ] ]
+ ]
+ )
+ ]
, Para
- [ Str "Simple"
- , Space
- , Str "block"
- , Space
- , Str "on"
- , Space
- , Str "one"
- , Space
- , Str "line:"
- ]
+ [ Str "Multiple"
+ , Space
+ , Str "definitions,"
+ , Space
+ , Str "loose:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ]
+ , [ Para [ Str "bank" ] ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "after"
+ , Space
+ , Str "term,"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "marker,"
+ , Space
+ , Str "alternate"
+ , Space
+ , Str "markers:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "sublist" ] ]
+ , [ Plain [ Str "sublist" ] ]
+ ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1
+ ( "html-blocks" , [] , [] )
+ [ Str "HTML" , Space , Str "Blocks" ]
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "block"
+ , Space
+ , Str "on"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line:"
+ ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "without"
+ , Space
+ , Str "indentation:"
+ ]
, Div
- ( "", [], [] )
- [ Plain [ Str "foo" ] ]
+ ( "" , [] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Div ( "" , [] , [] ) [ Para [ Str "foo" ] ] ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "bar" ] ]
+ ]
, Para
- [ Str "And"
- , Space
- , Str "nested"
- , Space
- , Str "without"
- , Space
- , Str "indentation:"
- ]
- , Div
- ( "", [], [] )
- [ Div
- ( "", [], [] )
- [ Div ( "", [], [] ) [ Para [ Str "foo" ] ] ]
- , Div
- ( "", [], [] )
- [ Plain [ Str "bar" ] ]
- ]
- , Para
- [ Str "Interpreted"
- , Space
- , Str "markdown"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "table:"
- ]
- , RawBlock
- ( Format "html" ) ""
- , RawBlock
- ( Format "html" ) ""
- , RawBlock
- ( Format "html" ) ""
+ [ Str "Interpreted"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table:"
+ ]
+ , RawBlock (Format "html") ""
+ , RawBlock (Format "html") ""
+ , RawBlock (Format "html") ""
, Plain
- [ Str "This", Space, Str "is", Space, Emph [ Str "emphasized" ] ]
- , RawBlock
- ( Format "html" ) " "
- , RawBlock
- ( Format "html" ) ""
- , Plain
- [ Str "And"
- , Space
- , Str "this"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Str "strong" ]
- ]
- , RawBlock
- ( Format "html" ) " "
- , RawBlock
- ( Format "html" ) " "
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "simple"
- , Space
- , Str "block:"
- ]
- , Div
- ( "", [], [] )
- [ Para [ Str "foo" ] ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "code"
- , Space
- , Str "block,"
- , Space
- , Str "though:"
- ]
- , CodeBlock
- ( "", [], [] ) "\n foo\n"
- , Para
- [ Str "As", Space, Str "should", Space, Str "this:" ]
- , CodeBlock
- ( "", [], [] ) "foo"
- , Para
- [ Str "Now,", Space, Str "nested:" ]
- , Div
- ( "", [], [] )
- [ Div
- ( "", [], [] )
- [ Div ( "", [], [] ) [ Plain [ Str "foo" ] ] ]
- ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "just"
- , Space
- , Str "be"
- , Space
- , Str "an"
- , Space
- , Str "HTML"
- , Space
- , Str "comment:"
- ]
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "Multiline:" ]
- , RawBlock
- ( Format "html" ) ""
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "Code", Space, Str "block:" ]
- , CodeBlock
- ( "", [], [] ) ""
- , 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:"
- ]
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( "", [], [] ) "
"
- , Para
- [ Str "Hr\8217s:" ]
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , HorizontalRule
- , Header 1
- ( "inline-markup", [], [] )
- [ Str "Inline", Space, Str "Markup" ]
- , 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 "."
- ]
- , 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 "."
- ]
- , Para
- [ Str "An"
- , Space
- , Emph
- [ Link
- ( "", [], [] )
- [ Str "emphasized", Space, Str "link" ]
- ( "/url", "" )
- ]
- , Str "."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
- ]
- ]
- , Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
- ]
- ]
- , Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "code:"
- , Space
- , Code
- ( "", [], [] ) ">"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) ""
- , Str "."
- ]
- , Para
- [ Strikeout
[ Str "This"
, Space
, Str "is"
, Space
- , Emph
- [ Str "strikeout" ]
- , Str "."
+ , Emph [ Str "emphasized" ]
]
- ]
- , Para
- [ Str "Superscripts:"
- , Space
- , Str "a"
- , Superscript
- [ Str "bc" ]
- , Str "d"
- , Space
- , Str "a"
- , Superscript
- [ Emph [ Str "hello" ] ]
- , Space
- , Str "a"
- , Superscript
- [ Str "hello\160there" ]
- , Str "."
- ]
- , Para
- [ Str "Subscripts:"
- , Space
- , Str "H"
- , Subscript
- [ Str "2" ]
- , Str "O,"
- , Space
- , Str "H"
- , Subscript
- [ Str "23" ]
- , Str "O,"
- , Space
- , Str "H"
- , Subscript
- [ Str "many\160of\160them" ]
- , Str "O."
- ]
- , Para
- [ Str "These"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "be"
- , Space
- , Str "superscripts"
- , Space
- , Str "or"
- , Space
- , Str "subscripts,"
- , SoftBreak
- , Str "because"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "unescaped"
- , Space
- , Str "spaces:"
- , Space
- , Str "a^b"
- , Space
- , Str "c^d,"
- , Space
- , Str "a~b"
- , Space
- , Str "c~d."
- ]
- , HorizontalRule
- , Header 1
- ( "smart-quotes-ellipses-dashes", [], [] )
- [ Str "Smart"
- , Space
- , Str "quotes,"
- , Space
- , Str "ellipses,"
- , Space
- , Str "dashes"
- ]
- , Para
- [ Quoted DoubleQuote
- [ Str "Hello," ]
- , Space
- , Str "said"
- , Space
- , Str "the"
- , Space
- , Str "spider."
- , Space
- , Quoted DoubleQuote
- [ Quoted SingleQuote
- [ Str "Shelob" ]
+ , RawBlock (Format "html") " "
+ , RawBlock (Format "html") ""
+ , Plain
+ [ Str "And"
+ , Space
+ , Str "this"
, Space
, Str "is"
, Space
- , Str "my"
- , Space
- , Str "name."
+ , Strong [ Str "strong" ]
]
- ]
- , 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."
- ]
- , 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."
- , SoftBreak
- , Str "So"
- , Space
- , Str "is"
- , Space
- , Quoted SingleQuote
- [ Str "pine." ]
- ]
- , Para
- [ Quoted SingleQuote
- [ Str "He"
- , Space
- , Str "said,"
- , Space
- , Quoted DoubleQuote
- [ 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?"
- ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Str "quoted"
- , Space
- , Quoted SingleQuote
- [ Code ( "", [], [] ) "code" ]
- , Space
- , Str "and"
- , Space
- , Str "a"
- , Space
- , Quoted DoubleQuote
- [ Link
- ( "", [], [] )
- [ Str "quoted", Space, Str "link" ]
- ( "http://example.com/?foo=1&bar=2", "" )
- ]
- , Str "."
- ]
- , Para
- [ Str "Some"
- , Space
- , Str "dashes:"
- , Space
- , Str "one\8212two"
- , Space
- , Str "\8212"
- , Space
- , Str "three\8212four"
- , Space
- , Str "\8212"
- , Space
- , Str "five."
- ]
- , Para
- [ Str "Dashes"
- , Space
- , Str "between"
- , Space
- , Str "numbers:"
- , Space
- , Str "5\8211\&7,"
- , Space
- , Str "255\8211\&66,"
- , Space
- , Str "1987\8211\&1999."
- ]
- , Para
- [ Str "Ellipses\8230and\8230and\8230." ]
- , HorizontalRule
- , Header 1
- ( "latex", [], [] )
- [ Str "LaTeX" ]
- , BulletList
- [
- [ Plain
- [ RawInline ( Format "tex" ) "\\cite[22-23]{smith.1899}" ]
- ]
- ,
- [ Plain [ Math InlineMath "2+2=4" ] ]
- ,
- [ Plain [ Math InlineMath "x \\in y" ] ]
- ,
- [ Plain [ Math InlineMath "\\alpha \\wedge \\omega" ] ]
- ,
- [ Plain [ Math InlineMath "223" ] ]
- ,
- [ Plain [ Math InlineMath "p", Str "-Tree" ] ]
- ,
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "some"
- , Space
- , Str "display"
- , Space
- , Str "math:"
- , SoftBreak
- , Math DisplayMath "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"
- ]
- ]
- ,
- [ Plain
- [ 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:"
- , Space
- , Math InlineMath "\\alpha + \\omega \\times x^2"
- , Str "."
- ]
- ]
- ]
- , Para
- [ Str "These"
- , Space
- , Str "shouldn\8217t"
- , Space
- , Str "be"
- , Space
- , Str "math:"
- ]
- , BulletList
- [
- [ Plain
- [ Str "To"
- , Space
- , Str "get"
- , Space
- , Str "the"
- , Space
- , Str "famous"
- , Space
- , Str "equation,"
- , Space
- , Str "write"
- , Space
- , Code
- ( "", [], [] ) "$e = mc^2$"
- , Str "."
- ]
- ]
- ,
- [ Plain
- [ 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."
- , SoftBreak
- , Str "(It"
- , Space
- , Str "worked"
- , Space
- , Str "if"
- , Space
- , Quoted DoubleQuote
- [ Str "lot" ]
- , Space
- , Str "is"
- , Space
- , Str "emphasized.)"
- ]
- ]
- ,
- [ Plain
- [ Str "Shoes"
- , Space
- , Str "($20)"
- , Space
- , Str "and"
- , Space
- , Str "socks"
- , Space
- , Str "($5)."
- ]
- ]
- ,
- [ Plain
- [ Str "Escaped"
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ":"
- , Space
- , Str "$73"
- , Space
- , Emph
- [ Str "this"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "emphasized"
- ]
- , Space
- , Str "23$."
- ]
- ]
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "LaTeX"
- , Space
- , Str "table:"
- ]
+ , RawBlock (Format "html") " "
+ , RawBlock (Format "html") " "
+ , RawBlock (Format "html") "
"
, RawBlock
- ( Format "tex" ) "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
- , HorizontalRule
- , Header 1
- ( "special-characters", [], [] )
- [ Str "Special", Space, Str "Characters" ]
+ (Format "html")
+ ""
, Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Str "unicode:"
- ]
- , BulletList
- [
- [ Plain [ Str "I", Space, Str "hat:", Space, Str "\206" ] ]
- ,
- [ Plain [ Str "o", Space, Str "umlaut:", Space, Str "\246" ] ]
- ,
- [ Plain [ Str "section:", Space, Str "\167" ] ]
- ,
- [ Plain
- [ Str "set", Space, Str "membership:", Space, Str "\8712" ]
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "block:"
]
- ,
- [ Plain [ Str "copyright:", Space, Str "\169" ] ]
- ]
+ , Div ( "" , [] , [] ) [ Para [ Str "foo" ] ]
, Para
- [ Str "AT&T"
- , Space
- , Str "has"
- , Space
- , Str "an"
- , Space
- , Str "ampersand"
- , Space
- , Str "in"
- , Space
- , Str "their"
- , Space
- , Str "name."
- ]
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block,"
+ , Space
+ , Str "though:"
+ ]
+ , CodeBlock ( "" , [] , [] ) "\n foo\n"
, Para
- [ Str "AT&T"
- , Space
- , Str "is"
- , Space
- , Str "another"
- , Space
- , Str "way"
- , Space
- , Str "to"
- , Space
- , Str "write"
- , Space
- , Str "it."
- ]
+ [ Str "As" , Space , Str "should" , Space , Str "this:" ]
+ , CodeBlock ( "" , [] , [] ) "foo"
+ , Para [ Str "Now," , Space , Str "nested:" ]
+ , Div
+ ( "" , [] , [] )
+ [ Div
+ ( "" , [] , [] )
+ [ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ]
+ ]
, Para
- [ Str "This", Space, Str "&", Space, Str "that." ]
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "just"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "comment:"
+ ]
+ , RawBlock (Format "html") ""
+ , Para [ Str "Multiline:" ]
+ , RawBlock (Format "html") ""
+ , RawBlock
+ (Format "html") ""
+ , Para [ Str "Code" , Space , Str "block:" ]
+ , CodeBlock ( "" , [] , [] ) ""
, Para
- [ Str "4", Space, Str "<", Space, Str "5." ]
- , Para
- [ Str "6", Space, Str ">", Space, Str "5." ]
- , Para
- [ Str "Backslash:", Space, Str "\\" ]
- , Para
- [ Str "Backtick:", Space, Str "`" ]
- , Para
- [ Str "Asterisk:", Space, Str "*" ]
- , Para
- [ Str "Underscore:", Space, Str "_" ]
- , Para
- [ Str "Left", Space, Str "brace:", Space, Str "{" ]
- , Para
- [ Str "Right", Space, Str "brace:", Space, Str "}" ]
- , Para
- [ Str "Left", Space, Str "bracket:", Space, Str "[" ]
- , Para
- [ Str "Right", Space, Str "bracket:", Space, Str "]" ]
- , Para
- [ Str "Left", Space, Str "paren:", Space, Str "(" ]
- , Para
- [ Str "Right", Space, Str "paren:", Space, Str ")" ]
- , Para
- [ Str "Greater-than:", Space, Str ">" ]
- , Para
- [ Str "Hash:", Space, Str "#" ]
- , Para
- [ Str "Period:", Space, Str "." ]
- , Para
- [ Str "Bang:", Space, Str "!" ]
- , Para
- [ Str "Plus:", Space, Str "+" ]
- , Para
- [ Str "Minus:", Space, Str "-" ]
- , HorizontalRule
- , Header 1
- ( "links", [], [] )
- [ Str "Links" ]
- , Header 2
- ( "explicit", [], [] )
- [ Str "Explicit" ]
- , Para
- [ Str "Just"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "URL" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title preceded by two spaces" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title preceded by a tab" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title with \"quotes\" in it" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title with single quotes" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "with_underscore" ]
- ( "/url/with_underscore", "" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "Email", Space, Str "link" ]
- ( "mailto:nobody@nowhere.net", "" )
- ]
- , Para
- [ Link ( "", [], [] ) [ Str "Empty" ] ( "", "" ), Str "." ]
- , Header 2
- ( "reference", [], [] )
- [ Str "Reference" ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "With"
- , Space
- , Link
- ( "", [], [] )
- [ Str "embedded", Space, Str "[brackets]" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "b" ]
- ( "/url/", "" )
- , Space
- , Str "by"
- , Space
- , Str "itself"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "once" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "twice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "thrice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "[not][]"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , CodeBlock
- ( "", [], [] ) "[not]: /url"
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "Title with \"quotes\" inside" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "biz" ]
- ( "/url/", "Title with \"quote\" inside" )
- , Str "."
- ]
- , Header 2
- ( "with-ampersands", [], [] )
- [ Str "With", Space, Str "ampersands" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "link"
+ [ 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:"
+ ]
+ , RawBlock (Format "html") ""
+ , Para [ Str "Code:" ]
+ , CodeBlock ( "" , [] , [] ) "
"
+ , Para [ Str "Hr\8217s:" ]
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , HorizontalRule
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , 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 "."
+ ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) ""
+ , Str "."
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "strikeout" ]
+ , Str "."
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , Space
+ , Str "a"
+ , Superscript [ Emph [ Str "hello" ] ]
+ , Space
+ , Str "a"
+ , Superscript [ Str "hello\160there" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Subscripts:"
+ , Space
+ , Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "23" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "many\160of\160them" ]
+ , Str "O."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "superscripts"
+ , Space
+ , Str "or"
+ , Space
+ , Str "subscripts,"
+ , SoftBreak
+ , Str "because"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "unescaped"
+ , Space
+ , Str "spaces:"
+ , Space
+ , Str "a^b"
+ , Space
+ , Str "c^d,"
+ , Space
+ , Str "a~b"
+ , Space
+ , Str "c~d."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , 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"
+ , Space
+ , Str "name."
+ ]
+ ]
+ , 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."
+ ]
+ , 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."
+ , SoftBreak
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Quoted SingleQuote [ Str "pine." ]
+ ]
+ , Para
+ [ Quoted
+ SingleQuote
+ [ Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ 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?"
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "quoted"
+ , Space
+ , Quoted SingleQuote [ Code ( "" , [] , [] ) "code" ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Link
+ ( "" , [] , [] )
+ [ Str "quoted" , Space , Str "link" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one\8212two"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "three\8212four"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5\8211\&7,"
+ , Space
+ , Str "255\8211\&66,"
+ , Space
+ , Str "1987\8211\&1999."
+ ]
+ , Para [ Str "Ellipses\8230and\8230and\8230." ]
+ , HorizontalRule
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ Plain
+ [ RawInline (Format "tex") "\\cite[22-23]{smith.1899}" ]
+ ]
+ , [ Plain [ Math InlineMath "2+2=4" ] ]
+ , [ Plain [ Math InlineMath "x \\in y" ] ]
+ , [ Plain [ Math InlineMath "\\alpha \\wedge \\omega" ] ]
+ , [ Plain [ Math InlineMath "223" ] ]
+ , [ Plain [ Math InlineMath "p" , Str "-Tree" ] ]
+ , [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "some"
+ , Space
+ , Str "display"
+ , Space
+ , Str "math:"
+ , SoftBreak
+ , Math
+ DisplayMath
+ "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"
+ ]
+ ]
+ , [ Plain
+ [ 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:"
+ , Space
+ , Math InlineMath "\\alpha + \\omega \\times x^2"
+ , Str "."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn\8217t"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , Space
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ Plain
+ [ 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."
+ , SoftBreak
+ , Str "(It"
+ , Space
+ , Str "worked"
+ , Space
+ , Str "if"
+ , Space
+ , Quoted DoubleQuote [ Str "lot" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "emphasized.)"
+ ]
+ ]
+ , [ Plain
+ [ Str "Shoes"
+ , Space
+ , Str "($20)"
+ , Space
+ , Str "and"
+ , Space
+ , Str "socks"
+ , Space
+ , Str "($5)."
+ ]
+ ]
+ , [ Plain
+ [ Str "Escaped"
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ":"
+ , Space
+ , Str "$73"
+ , Space
+ , Emph
+ [ Str "this"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "emphasized"
+ ]
+ , Space
+ , Str "23$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , RawBlock
+ (Format "tex")
+ "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
+ , HorizontalRule
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "I" , Space , Str "hat:" , Space , Str "\206" ]
+ ]
+ , [ Plain
+ [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Plain [ Str "section:" , Space , Str "\167" ] ]
+ , [ Plain
+ [ Str "set"
+ , Space
+ , Str "membership:"
+ , Space
+ , Str "\8712"
+ ]
+ ]
+ , [ Plain [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
, Str "an"
, Space
, Str "ampersand"
, Space
, Str "in"
, Space
- , Str "the"
+ , Str "their"
, Space
- , Str "URL"
+ , Str "name."
]
- ( "http://example.com/?foo=1&bar=2", "" )
- , Str "."
- ]
, 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" ]
- ( "http://att.com/", "AT&T" )
- , Str "."
- ]
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
, Para
- [ Str "Here\8217s"
- , Space
- , Str "an"
- , Space
- , Link
- ( "", [], [] )
- [ Str "inline", Space, Str "link" ]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
+ [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
, Para
- [ Str "Here\8217s"
- , Space
- , Str "an"
- , Space
- , Link
- ( "", [], [] )
- [ Str "inline"
+ [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para
+ [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para
+ [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para
+ [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para
+ [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para
+ [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , HorizontalRule
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by two spaces" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by a tab" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with \"quotes\" in it" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with single quotes" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "with_underscore" ]
+ ( "/url/with_underscore" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
+ , Str "."
+ ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not][]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "bar" ]
+ ( "/url/" , "Title with \"quotes\" inside" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "biz" ]
+ ( "/url/" , "Title with \"quote\" inside" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
, Space
, Str "link"
, Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
, Str "in"
, Space
- , Str "pointy"
+ , Str "the"
, Space
- , Str "braces"
- ]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
- , Header 2
- ( "autolinks", [], [] )
- [ Str "Autolinks" ]
- , Para
- [ Str "With"
- , Space
- , Str "an"
- , Space
- , Str "ampersand:"
- , Space
- , Link
- ( "", [ "uri" ], [] )
- [ Str "http://example.com/?foo=1&bar=2" ]
- ( "http://example.com/?foo=1&bar=2", "" )
- ]
- , BulletList
- [
- [ Plain [ Str "In", Space, Str "a", Space, Str "list?" ] ]
- ,
- [ Plain
- [ Link
- ( "", [ "uri" ], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
- ]
- ]
- ,
- [ Plain [ Str "It", Space, Str "should." ] ]
- ]
- , Para
- [ Str "An"
- , Space
- , Str "e-mail"
- , Space
- , Str "address:"
- , Space
- , Link
- ( "", [ "email" ], [] )
- [ Str "nobody@nowhere.net" ]
- ( "mailto:nobody@nowhere.net", "" )
- ]
- , BlockQuote
- [ Para
- [ Str "Blockquoted:"
+ , Str "link"
+ , Space
+ , Str "text:"
, Space
, Link
- ( "", [ "uri" ], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
+ ( "" , [] , [] )
+ [ Str "AT&T" ]
+ ( "http://att.com/" , "AT&T" )
+ , Str "."
]
- ]
, Para
- [ Str "Auto-links"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "occur"
- , Space
- , Str "here:"
- , Space
- , Code
- ( "", [], [] ) " "
- ]
- , CodeBlock
- ( "", [], [] ) "or here: "
- , HorizontalRule
- , Header 1
- ( "images", [], [] )
- [ Str "Images" ]
- , Para
- [ Str "From"
- , Space
- , Quoted DoubleQuote
- [ Str "Voyage"
+ [ Str "Here\8217s"
, Space
- , Str "dans"
+ , Str "an"
, Space
- , Str "la"
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , Space , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Here\8217s"
, Space
- , Str "Lune"
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
]
- , Space
- , Str "by"
- , Space
- , Str "Georges"
- , Space
- , Str "Melies"
- , Space
- , Str "(1902):"
- ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
, Para
- [ Image
- ( "", [], [] )
- [ Str "lalune" ]
- ( "lalune.jpg", "fig:Voyage dans la Lune" )
- ]
+ [ Str "With"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "In" , Space , Str "a" , Space , Str "list?" ]
+ ]
+ , [ Plain
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Plain [ Str "It" , Space , Str "should." ] ]
+ ]
, Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "movie"
- , Space
- , Image
- ( "", [], [] )
- [ Str "movie" ]
- ( "movie.jpg", "" )
- , Space
- , Str "icon."
- ]
- , HorizontalRule
- , Header 1
- ( "footnotes", [], [] )
- [ Str "Footnotes" ]
- , 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"
- , 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."
- ]
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Link
+ ( "" , [ "email" ] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
]
- , 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"
- , SoftBreak
- , 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
- ( "", [], [] ) " { }"
- , 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"
- , SoftBreak
- , Str "lazy"
- , Space
- , 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"
- , SoftBreak
- , 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"
- , SoftBreak
- , 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]."
- ]
- ]
- ]
, BlockQuote
- [ Para
- [ Str "Notes"
- , Space
- , Str "can"
- , Space
- , Str "go"
- , Space
- , Str "in"
- , Space
- , Str "quotes."
- , Note
- [ Para [ Str "In", Space, Str "quote." ] ]
+ [ Para
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , Space
+ , Code ( "" , [] , [] ) " "
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "or here: "
+ , HorizontalRule
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , 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):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune" ]
+ ( "lalune.jpg" , "fig:Voyage dans la Lune" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image
+ ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , HorizontalRule
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , 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"
+ , 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."
+ ]
+ ]
+ , 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"
+ , SoftBreak
+ , 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 ( "" , [] , [] ) " { }"
+ , 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"
+ , SoftBreak
+ , Str "lazy"
+ , Space
+ , 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"
+ , SoftBreak
+ , 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"
+ , SoftBreak
+ , 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]."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Notes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "in"
+ , Space
+ , Str "quotes."
+ , Note [ Para [ Str "In" , Space , Str "quote." ] ]
+ ]
]
- ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain
- [ Str "And"
- , Space
- , Str "in"
- , Space
- , Str "list"
- , Space
- , Str "items."
- , Note
- [ Para [ Str "In", Space, Str "list." ] ]
+ ( 1 , Decimal , Period )
+ [ [ Plain
+ [ Str "And"
+ , Space
+ , Str "in"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ , Note [ Para [ Str "In" , Space , Str "list." ] ]
+ ]
]
]
- ]
, 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."
- ]
+ [ 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."
+ ]
]
diff --git a/test/textile-reader.native b/test/textile-reader.native
index 34dfa7ca3..a9c78ec8f 100644
--- a/test/textile-reader.native
+++ b/test/textile-reader.native
@@ -1,1317 +1,1260 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
+ Meta { unMeta = fromList [] }
[ 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."
- , Space
- , Str "Part"
- , Space
- , Str "of"
- , Space
- , Str "it"
- , Space
- , Str "comes"
- , LineBreak
- , Str "from"
- , Space
- , Str "John"
- , Space
- , Str "Gruber\8217s"
- , Space
- , Str "markdown"
- , Space
- , Str "test"
- , Space
- , Str "suite."
- ]
- , HorizontalRule
- , Header 1
- ( "headers", [], [] )
- [ Str "Headers" ]
- , 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" ]
- ( "http://www.example.com", "" )
- ]
- , Header 3
- ( "level-3-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "3"
- , Space
- , Str "with"
- , Space
- , Strong
- [ Str "emphasis" ]
- ]
- , Header 4
- ( "level-4", [], [] )
- [ Str "Level", Space, Str "4" ]
- , Header 5
- ( "level-5", [], [] )
- [ Str "Level", Space, Str "5" ]
- , Header 6
- ( "level-6", [], [] )
- [ Str "Level", Space, Str "6" ]
- , Header 1
- ( "paragraphs", [], [] )
- [ Str "Paragraphs" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "regular"
- , Space
- , Str "paragraph."
- ]
- , Para
- [ Str "Line"
- , Space
- , Str "breaks"
- , Space
- , Str "are"
- , Space
- , Str "preserved"
- , Space
- , Str "in"
- , Space
- , Str "textile,"
- , 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."
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "one"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "bullet."
- ]
- , BulletList
- [ [ Plain [ Str "criminey." ] ] ]
- , Para
- [ Str "There"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "paragraph"
- , Space
- , Str "break"
- , Space
- , Str "between"
- , Space
- , Str "here"
- ]
- , Para
- [ Str "and", Space, Str "here." ]
- , Para
- [ Str "pandoc", Space, Str "converts", Space, Str "textile." ]
- , Header 1
- ( "block-quotes", [], [] )
- [ Str "Block", Space, Str "Quotes" ]
- , BlockQuote
- [ Para
[ Str "This"
, Space
, Str "is"
, Space
, Str "a"
, Space
- , Str "famous"
- , Space
- , Str "quote"
- , Space
- , Str "from"
- , Space
- , Str "somebody."
- , Space
- , Str "He"
- , Space
- , Str "had"
- , Space
- , Str "a"
- , Space
- , Str "lot"
+ , Str "set"
, Space
, Str "of"
, Space
- , Str "things"
+ , Str "tests"
, Space
- , Str "to"
+ , Str "for"
+ , Space
+ , Str "pandoc"
+ , Space
+ , Str "Textile"
+ , Space
+ , Str "Reader."
+ , Space
+ , Str "Part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "it"
+ , Space
+ , Str "comes"
, LineBreak
- , Str "say,"
+ , Str "from"
+ , Space
+ , Str "John"
+ , Space
+ , Str "Gruber\8217s"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "test"
+ , Space
+ , Str "suite."
+ ]
+ , HorizontalRule
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , 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" ]
+ ( "http://www.example.com" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Strong [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 6 ( "level-6" , [] , [] ) [ Str "Level" , Space , Str "6" ]
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , Space
+ , Str "are"
+ , Space
+ , Str "preserved"
+ , Space
+ , Str "in"
+ , Space
+ , Str "textile,"
, Space
, Str "so"
, Space
- , Str "the"
+ , 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 "is"
- , Space
- , Str "really"
- , Space
- , Str "really"
- , Space
- , Str "long"
+ , Str "editor"
, Space
, Str "and"
, Space
- , Str "spans"
+ , Str "have"
, Space
- , Str "on"
+ , Str "it"
, Space
- , Str "multiple"
+ , Str "rendered"
+ , LineBreak
+ , Str "with"
, Space
- , Str "lines."
+ , Str "no"
+ , Space
+ , Str "break."
]
- ]
, Para
- [ Str "And"
- , Space
- , Str "a"
- , Space
- , Str "following"
- , Space
- , Str "paragraph."
- ]
- , Header 1
- ( "code-blocks", [], [] )
- [ Str "Code", Space, Str "Blocks" ]
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) " ---- (should be four hyphens)\n\n sub status {\n print \"working\";\n }\n\n this code block is indented by one tab"
- , Para
- [ Str "And:" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) " this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{"
- , CodeBlock
- ( "", [], [] ) "Code block with .bc\n continued\n @\\"
- , CodeBlock
- ( "", [], [] ) "extended code block\n\n continued"
- , Para
- [ Str "ended", Space, Str "by", Space, Str "paragraph" ]
- , Para
- [ Str "Inline"
- , Space
- , Str "code:"
- , Space
- , Code
- ( "", [], [] ) ""
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "@"
- , Str "."
- ]
- , Header 1
- ( "notextile", [], [] )
- [ Str "Notextile" ]
- , 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 ":"
- ]
- , Para
- [ Str "\nNo *bold* and\n* no bullet\n" ]
- , Para
- [ Str "and"
- , Space
- , Str "inlines"
- , Space
- , Str "can"
- , Space
- , Str "be"
- , Space
- , Str "protected"
- , Space
- , Str "with"
- , Space
- , Str "double *equals (=)* markup."
- ]
- , Header 1
- ( "lists", [], [] )
- [ Str "Lists" ]
- , Header 2
- ( "unordered", [], [] )
- [ Str "Unordered" ]
- , Para
- [ Str "Asterisks", Space, Str "tight:" ]
- , BulletList
- [
- [ Plain [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "With", Space, Str "line", Space, Str "breaks:" ]
- , BulletList
- [
- [ Plain
- [ Str "asterisk", Space, Str "1", LineBreak, Str "newline" ]
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
]
- ,
- [ Plain [ Str "asterisk", Space, Str "2" ] ]
- ]
- , Header 2
- ( "ordered", [], [] )
- [ Str "Ordered" ]
+ , BulletList [ [ Plain [ Str "criminey." ] ] ]
, Para
- [ Str "Tight:" ]
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "break"
+ , Space
+ , Str "between"
+ , Space
+ , Str "here"
+ ]
+ , Para [ Str "and" , Space , Str "here." ]
+ , Para
+ [ Str "pandoc"
+ , Space
+ , Str "converts"
+ , Space
+ , Str "textile."
+ ]
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "from"
+ , Space
+ , Str "somebody."
+ , Space
+ , Str "He"
+ , Space
+ , Str "had"
+ , Space
+ , Str "a"
+ , Space
+ , Str "lot"
+ , Space
+ , Str "of"
+ , Space
+ , Str "things"
+ , Space
+ , Str "to"
+ , LineBreak
+ , Str "say,"
+ , 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."
+ ]
+ ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
+ ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " ---- (should be four hyphens)\n\n sub status {\n print \"working\";\n }\n\n this code block is indented by one tab"
+ , Para [ Str "And:" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\n These should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ , CodeBlock
+ ( "" , [] , [] )
+ "Code block with .bc\n continued\n @\\"
+ , CodeBlock
+ ( "" , [] , [] ) "extended code block\n\n continued"
+ , Para
+ [ Str "ended" , Space , Str "by" , Space , Str "paragraph" ]
+ , Para
+ [ Str "Inline"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ""
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "@"
+ , Str "."
+ ]
+ , Header 1 ( "notextile" , [] , [] ) [ Str "Notextile" ]
+ , 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 ":"
+ ]
+ , Para [ Str "\nNo *bold* and\n* no bullet\n" ]
+ , Para
+ [ Str "and"
+ , Space
+ , Str "inlines"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "protected"
+ , Space
+ , Str "with"
+ , Space
+ , Str "double *equals (=)* markup."
+ ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
+ , BulletList
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para
+ [ Str "With" , Space , Str "line" , Space , Str "breaks:" ]
+ , BulletList
+ [ [ Plain
+ [ Str "asterisk"
+ , Space
+ , Str "1"
+ , LineBreak
+ , Str "newline"
+ ]
+ ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "First" ] ]
- ,
- [ Plain [ Str "Second" ] ]
- ,
- [ Plain [ Str "Third" ] ]
- ]
- , Header 2
- ( "nested", [], [] )
- [ Str "Nested" ]
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
, BulletList
- [
- [ Plain
- [ Str "ui", Space, Str "1" ]
- , BulletList
- [
- [ Plain
- [ Str "ui", Space, Str "1.1" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "oi", Space, Str "1.1.1" ] ]
- ,
- [ Plain [ Str "oi", Space, Str "1.1.2" ] ]
+ [ [ Plain [ Str "ui" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "ui" , Space , Str "1.1" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "oi" , Space , Str "1.1.1" ] ]
+ , [ Plain [ Str "oi" , Space , Str "1.1.2" ] ]
+ ]
+ ]
+ , [ Plain [ Str "ui" , Space , Str "1.2" ] ]
]
- ]
- ,
- [ Plain [ Str "ui", Space, Str "1.2" ] ]
]
- ]
- ,
- [ Plain
- [ Str "ui", Space, Str "2" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "oi", Space, Str "2.1" ]
- , BulletList
- [
- [ Plain [ Str "ui", Space, Str "2.1.1" ] ]
- ,
- [ Plain [ Str "ui", Space, Str "2.1.2" ] ]
+ , [ Plain [ Str "ui" , Space , Str "2" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "oi" , Space , Str "2.1" ]
+ , BulletList
+ [ [ Plain [ Str "ui" , Space , Str "2.1.1" ] ]
+ , [ Plain [ Str "ui" , Space , Str "2.1.2" ] ]
+ ]
+ ]
]
- ]
]
]
- ]
- , Header 2
- ( "issue-1500", [], [] )
- [ Str "Issue", Space, Str "#1500" ]
+ , Header
+ 2
+ ( "issue-1500" , [] , [] )
+ [ Str "Issue" , Space , Str "#1500" ]
, BulletList
- [
- [ Plain [ Str "one" ] ]
- ,
- [ Plain
- [ Str "two"
- , LineBreak
- , Str "->"
- , Space
- , Str "and"
- , Space
- , Str "more"
+ [ [ Plain [ Str "one" ] ]
+ , [ Plain
+ [ Str "two"
+ , LineBreak
+ , Str "->"
+ , Space
+ , Str "and"
+ , Space
+ , Str "more"
+ ]
]
]
- ]
- , Header 2
- ( "issue-1513", [], [] )
- [ Str "Issue", Space, Str "#1513" ]
- , Para
- [ Str "List:" ]
+ , Header
+ 2
+ ( "issue-1513" , [] , [] )
+ [ Str "Issue" , Space , Str "#1513" ]
+ , Para [ Str "List:" ]
, BulletList
- [ [ Plain [ Str "one" ] ], [ Plain [ Str "two" ] ] ]
- , Header 2
- ( "definition-list", [], [] )
- [ Str "Definition", Space, Str "List" ]
+ [ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
+ , Header
+ 2
+ ( "definition-list" , [] , [] )
+ [ Str "Definition" , Space , Str "List" ]
, DefinitionList
- [
- (
- [ Str "coffee" ]
- ,
- [
- [ Plain [ Str "Hot", Space, Str "and", Space, Str "black" ] ]
- ]
- )
- ,
- (
- [ Str "tea" ]
- ,
- [
- [ Plain
- [ Str "Also"
- , Space
- , Str "hot,"
- , Space
- , Str "but"
- , Space
- , Str "a"
- , Space
- , Str "little"
- , Space
- , Str "less"
- , Space
- , Str "black"
+ [ ( [ Str "coffee" ]
+ , [ [ Plain
+ [ Str "Hot" , Space , Str "and" , Space , Str "black" ]
]
]
- ]
- )
- ,
- (
- [ Str "milk" ]
- ,
- [
- [ Para
- [ Str "Nourishing"
- , Space
- , Str "beverage"
- , Space
- , Str "for"
- , Space
- , Str "baby"
- , Space
- , Str "cows."
- ]
- , Para
- [ Str "Cold"
- , Space
- , Str "drink"
- , Space
- , Str "that"
- , Space
- , Str "goes"
- , Space
- , Str "great"
- , Space
- , Str "with"
- , Space
- , Str "cookies."
+ )
+ , ( [ Str "tea" ]
+ , [ [ Plain
+ [ Str "Also"
+ , Space
+ , Str "hot,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "a"
+ , Space
+ , Str "little"
+ , Space
+ , Str "less"
+ , Space
+ , Str "black"
+ ]
]
]
- ]
- )
- ,
- (
- [ Str "beer" ]
- ,
- [
- [ Plain
- [ Str "fresh", Space, Str "and", Space, Str "bitter" ]
+ )
+ , ( [ Str "milk" ]
+ , [ [ Para
+ [ Str "Nourishing"
+ , Space
+ , Str "beverage"
+ , Space
+ , Str "for"
+ , Space
+ , Str "baby"
+ , Space
+ , Str "cows."
+ ]
+ , Para
+ [ Str "Cold"
+ , Space
+ , Str "drink"
+ , Space
+ , Str "that"
+ , Space
+ , Str "goes"
+ , Space
+ , Str "great"
+ , Space
+ , Str "with"
+ , Space
+ , Str "cookies."
+ ]
+ ]
]
- ]
- )
- ]
- , Header 1
- ( "inline-markup", [], [] )
- [ Str "Inline", Space, Str "Markup" ]
- , 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 "This"
- , Space
- , Str "is"
- , Space
- , Underline
- [ Str "inserted" ]
- , Str ","
- , Space
- , Str "and"
- , Space
- , Str "this"
- , Space
- , Str "is"
- , Space
- , Strikeout
- [ Str "deleted" ]
- , Str "."
- , LineBreak
- , Str "Hyphenated-words-are-ok,"
- , Space
- , Str "as"
- , Space
- , Str "well"
- , Space
- , Str "as"
- , Space
- , Str "strange_underscore_notation."
- , LineBreak
- , Str "A"
- , Space
- , Link
- ( "", [], [] )
- [ Strong [ Str "strong", Space, Str "link" ] ]
- ( "http://www.foobar.com", "" )
- , Str "."
- ]
- , Para
- [ Emph
- [ Strong
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
+ )
+ , ( [ Str "beer" ]
+ , [ [ Plain
+ [ Str "fresh"
+ , Space
+ , Str "and"
+ , Space
+ , Str "bitter"
+ ]
+ ]
+ ]
+ )
]
- , 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
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , Para
[ Str "This"
, Space
, Str "is"
, Space
- , Str "strikeout"
+ , Emph [ Str "emphasized" ]
+ , Str ","
, Space
, Str "and"
, Space
- , Strong
- [ Str "strong" ]
- ]
- ]
- , Para
- [ Str "Superscripts:"
- , Space
- , Str "a"
- , Superscript
- [ Str "bc" ]
- , Str "d"
- , Space
- , Str "a"
- , Space
- , Superscript
- [ Strong [ Str "hello" ] ]
- , Space
- , Str "a"
- , Superscript
- [ Str "hello", Space, Str "there" ]
- , Str "."
- , LineBreak
- , Str "Subscripts:"
- , Space
- , Subscript
- [ Str "here" ]
- , Space
- , Str "H"
- , Space
- , Subscript
- [ Str "2" ]
- , Str "O,"
- , Space
- , Str "H"
- , Space
- , Subscript
- [ Str "23" ]
- , Str "O,"
- , Space
- , Str "H"
- , Space
- , Subscript
- [ Str "many", Space, Str "of", Space, Str "them" ]
- , Str "O."
- ]
- , Para
- [ Str "Dashes"
- , Space
- , Str ":"
- , Space
- , Str "How"
- , Space
- , Str "cool"
- , Space
- , Str "\8212"
- , Space
- , Str "automatic"
- , Space
- , Str "dashes."
- ]
- , Para
- [ Str "Ellipses"
- , 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."
- ]
- , Para
- [ Str "Quotes"
- , Space
- , Str "and"
- , Space
- , Str "apostrophes"
- , Space
- , Str ":"
- , Space
- , Quoted DoubleQuote
- [ Str "I\8217d"
+ , Str "so"
, Space
- , Str "like"
+ , 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 "This"
+ , Space
+ , Str "is"
+ , Space
+ , Underline [ Str "inserted" ]
+ , Str ","
+ , Space
+ , Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Strikeout [ Str "deleted" ]
+ , Str "."
+ , LineBreak
+ , Str "Hyphenated-words-are-ok,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Str "strange_underscore_notation."
+ , LineBreak
+ , Str "A"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Strong [ Str "strong" , Space , Str "link" ] ]
+ ( "http://www.foobar.com" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Emph
+ [ Strong
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ , 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" ]
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , Space
+ , Str "a"
+ , Space
+ , Superscript [ Strong [ Str "hello" ] ]
+ , Space
+ , Str "a"
+ , Superscript [ Str "hello" , Space , Str "there" ]
+ , Str "."
+ , LineBreak
+ , Str "Subscripts:"
+ , Space
+ , Subscript [ Str "here" ]
+ , Space
+ , Str "H"
+ , Space
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Space
+ , Subscript [ Str "23" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Space
+ , Subscript
+ [ Str "many" , Space , Str "of" , Space , Str "them" ]
+ , Str "O."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str ":"
+ , Space
+ , Str "How"
+ , Space
+ , Str "cool"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "automatic"
+ , Space
+ , Str "dashes."
+ ]
+ , Para
+ [ Str "Ellipses"
+ , 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."
+ ]
+ , Para
+ [ Str "Quotes"
+ , Space
+ , Str "and"
+ , Space
+ , Str "apostrophes"
+ , Space
+ , Str ":"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Str "I\8217d"
+ , Space
+ , Str "like"
+ , Space
+ , Str "to"
+ , Space
+ , Str "thank"
+ , Space
+ , Str "you"
+ ]
+ , Space
+ , Str "for"
+ , Space
+ , Str "example."
+ ]
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
+ , Para
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link
+ ( "" , [] , [] ) [ Str "url" ] ( "http://www.url.com" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , Para
+ [ Quoted
+ DoubleQuote
+ [ Str "not" , Space , Str "a" , Space , Str "link" ]
+ , Str ":"
+ , Space
+ , Str "foo"
+ ]
+ , Para
+ [ Str "Automatic"
+ , Space
+ , Str "linking"
, Space
, Str "to"
, Space
- , Str "thank"
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.example.com" ]
+ ( "http://www.example.com" , "" )
+ , Str "."
+ ]
+ , 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."
+ ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "link"
+ , Link
+ ( "" , [] , [] )
+ [ Str "with" , Space , Str "brackets" ]
+ ( "http://www.example.com" , "" )
+ , Str "and"
+ , Space
+ , Str "no"
+ , Space
+ , Str "spaces."
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "Tables" ]
+ , Para
+ [ Str "Textile"
+ , Space
+ , Str "allows"
+ , Space
+ , Str "tables"
+ , Space
+ , Str "with"
+ , Space
+ , Str "and"
+ , Space
+ , Str "without"
+ , Space
+ , Str "headers"
+ , Space
+ , Str ":"
+ ]
+ , Header
+ 2
+ ( "without-headers" , [] , [] )
+ [ Str "Without" , Space , Str "headers" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "name" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "age" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "sex" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "joan" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "24" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "archie" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "29" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "m" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "bella" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "45" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "and"
+ , Space
+ , Str "some"
+ , Space
+ , Str "text"
+ , Space
+ , Str "following"
+ , Space
+ , Str "\8230"
+ ]
+ , Header
+ 2
+ ( "with-headers" , [] , [] )
+ [ Str "With" , Space , Str "headers" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "name" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "age" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "sex" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "joan" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "24" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "archie" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "29" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "m" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "bella" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "45" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , Para
+ [ Str "Textile"
+ , Space
+ , Str "inline"
+ , Space
+ , Str "image"
+ , Space
+ , Str "syntax,"
+ , Space
+ , Str "like"
+ , 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 "."
+ ]
+ , Header 1 ( "attributes" , [] , [] ) [ Str "Attributes" ]
+ , 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."
+ ]
+ , Header
+ 2
+ ( "centered" , [] , [ ( "style" , "text-align:center;" ) ] )
+ [ Str "Centered" ]
+ , Header
+ 2
+ ( "right" , [] , [ ( "style" , "text-align:right;" ) ] )
+ [ Str "Right" ]
+ , Header
+ 2
+ ( "justified"
+ , []
+ , [ ( "lang" , "en" )
+ , ( "style" , "color:blue;text-align:justify;" )
+ ]
+ )
+ [ Str "Justified" ]
+ , Para
+ [ Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Strong
+ [ Span
+ ( "" , [ "foo" ] , [] )
+ [ Str "inline" , Space , Str "attributes" ]
+ ]
+ , Space
+ , Str "of"
+ , Space
+ , Span
+ ( "" , [] , [ ( "style" , "color:red;" ) ] )
+ [ Str "all" , Space , Str "kind" ]
+ ]
+ , Para
+ [ Str "and"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "attributes,"
+ , Space
+ , Str "and"
+ , Space
+ , Str "table"
+ , Space
+ , Str "attributes."
+ ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "name" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "age" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "sex" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "joan" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "24" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Emph [ Str "(class#id)" , Space , Str "emph" ] ]
+ , Para
+ [ Emph
+ [ Str "(no" , Space , Str "class#id)" , Space , Str "emph" ]
+ ]
+ , Header 1 ( "entities" , [] , [] ) [ Str "Entities" ]
+ , Para [ Str "*" , LineBreak , Str "&" ]
+ , Header
+ 1
+ ( "raw-html" , [] , [] )
+ [ Str "Raw" , Space , Str "HTML" ]
+ , Para
+ [ Str "However,"
+ , Space
+ , RawInline (Format "html") ""
+ , Space
+ , Str "raw"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "inlines"
+ , Space
+ , RawInline (Format "html") ""
+ , Space
+ , Str "are"
+ , Space
+ , Str "accepted,"
+ , Space
+ , Str "as"
+ , Space
+ , Str "well"
+ , Space
+ , Str "as"
+ , Space
+ , Str ":"
+ ]
+ , RawBlock (Format "html") ""
+ , Para [ Str "interrupt" , Space , Str "paragraphs" ]
+ , RawBlock (Format "html") ""
+ , Para [ Str "as" , Space , Str "well." ]
+ , Para
+ [ Str "Can"
, Space
, Str "you"
+ , Space
+ , Str "prove"
+ , Space
+ , Str "that"
+ , Space
+ , Str "2"
+ , Space
+ , Str "<"
+ , Space
+ , Str "3"
+ , Space
+ , Str "?"
]
- , Space
- , Str "for"
- , Space
- , Str "example."
- ]
- , Header 1
- ( "links", [], [] )
- [ Str "Links" ]
- , Header 2
- ( "explicit", [], [] )
- [ Str "Explicit" ]
+ , Header
+ 1
+ ( "acronyms-and-marks" , [] , [] )
+ [ Str "Acronyms" , Space , Str "and" , Space , Str "marks" ]
+ , Para [ Str "PBS (Public Broadcasting System)" ]
+ , Para [ Str "Hi\8482" ]
+ , Para [ Str "Hi" , Space , Str "\8482" ]
+ , Para [ Str "\174" , Space , Str "Hi\174" ]
, Para
- [ Str "Just"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "url" ]
- ( "http://www.url.com", "" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "Email", Space, Str "link" ]
- ( "mailto:nobody@nowhere.net", "" )
- ]
- , Para
- [ Quoted DoubleQuote
- [ Str "not", Space, Str "a", Space, Str "link" ]
- , Str ":"
- , Space
- , Str "foo"
- ]
- , Para
- [ Str "Automatic"
- , Space
- , Str "linking"
- , Space
- , Str "to"
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://www.example.com" ]
- ( "http://www.example.com", "" )
- , Str "."
- ]
- , 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."
- ]
- , Para
- [ Str "A"
- , Space
- , Str "link"
- , Link
- ( "", [], [] )
- [ Str "with", Space, Str "brackets" ]
- ( "http://www.example.com", "" )
- , Str "and"
- , Space
- , Str "no"
- , Space
- , Str "spaces."
- ]
- , Header 1
- ( "tables", [], [] )
- [ Str "Tables" ]
- , Para
- [ Str "Textile"
- , Space
- , Str "allows"
- , Space
- , Str "tables"
- , Space
- , Str "with"
- , Space
- , Str "and"
- , Space
- , Str "without"
- , Space
- , Str "headers"
- , Space
- , Str ":"
- ]
- , Header 2
- ( "without-headers", [], [] )
- [ Str "Without", Space, Str "headers" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "name" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "age" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "sex" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "joan" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "24" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "archie" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "29" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "m" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "bella" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "45" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
+ [ Str "Hi\169\&2008"
+ , Space
+ , Str "\169"
+ , Space
+ , Str "2008"
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
, Para
- [ Str "and"
- , Space
- , Str "some"
- , Space
- , Str "text"
- , Space
- , Str "following"
- , Space
- , Str "\8230"
- ]
- , Header 2
- ( "with-headers", [], [] )
- [ Str "With", Space, Str "headers" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "name" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "age" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "sex" ] ]
- ]
+ [ Str "A"
+ , Space
+ , Str "note."
+ , Note
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "note"
+ , LineBreak
+ , Str "is"
+ , Space
+ , Str "here!"
+ ]
+ ]
+ , Space
+ , Str "Another"
+ , Space
+ , Str "note"
+ , Note [ Para [ Str "Other" , Space , Str "note." ] ]
+ , Str "."
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "joan" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "24" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "archie" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "29" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "m" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "bella" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "45" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 1
- ( "images", [], [] )
- [ Str "Images" ]
+ , Header
+ 1
+ ( "comment-blocks" , [] , [] )
+ [ Str "Comment" , Space , Str "blocks" ]
, Para
- [ Str "Textile"
- , Space
- , Str "inline"
- , Space
- , Str "image"
- , Space
- , Str "syntax,"
- , Space
- , Str "like"
- , 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 "."
- ]
- , Header 1
- ( "attributes", [], [] )
- [ Str "Attributes" ]
- , 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."
- ]
- , Header 2
- ( "centered", [], [ ( "style", "text-align:center;" ) ] )
- [ Str "Centered" ]
- , Header 2
- ( "right", [], [ ( "style", "text-align:right;" ) ] )
- [ Str "Right" ]
- , Header 2
- ( "justified"
- , []
- ,
- [
- ( "lang", "en" )
- ,
- ( "style", "color:blue;text-align:justify;" )
- ]
- )
- [ Str "Justified" ]
- , Para
- [ Str "as"
- , Space
- , Str "well"
- , Space
- , Str "as"
- , Space
- , Strong
- [ Span
- ( "", [ "foo" ], [] )
- [ Str "inline", Space, Str "attributes" ]
- ]
- , Space
- , Str "of"
- , Space
- , Span
- ( "", [], [ ( "style", "color:red;" ) ] )
- [ Str "all", Space, Str "kind" ]
- ]
- , Para
- [ Str "and"
- , Space
- , Str "paragraph"
- , Space
- , Str "attributes,"
- , Space
- , Str "and"
- , Space
- , Str "table"
- , Space
- , Str "attributes."
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "name" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "age" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "sex" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "joan" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "24" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Emph [ Str "(class#id)", Space, Str "emph" ] ]
- , Para
- [ Emph [ Str "(no", Space, Str "class#id)", Space, Str "emph" ] ]
- , Header 1
- ( "entities", [], [] )
- [ Str "Entities" ]
- , Para
- [ Str "*", LineBreak, Str "&" ]
- , Header 1
- ( "raw-html", [], [] )
- [ Str "Raw", Space, Str "HTML" ]
- , Para
- [ Str "However,"
- , Space
- , RawInline
- ( Format "html" ) ""
- , Space
- , Str "raw"
- , Space
- , Str "HTML"
- , Space
- , Str "inlines"
- , Space
- , RawInline
- ( Format "html" ) ""
- , Space
- , Str "are"
- , Space
- , Str "accepted,"
- , Space
- , Str "as"
- , Space
- , Str "well"
- , Space
- , Str "as"
- , Space
- , Str ":"
- ]
- , RawBlock
- ( Format "html" ) " "
- , Para
- [ Str "Html", Space, Str "blocks", Space, Str "can" ]
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "interrupt", Space, Str "paragraphs" ]
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "as", Space, Str "well." ]
- , Para
- [ Str "Can"
- , Space
- , Str "you"
- , Space
- , Str "prove"
- , Space
- , Str "that"
- , Space
- , Str "2"
- , Space
- , Str "<"
- , Space
- , Str "3"
- , Space
- , Str "?"
- ]
- , Header 1
- ( "acronyms-and-marks", [], [] )
- [ Str "Acronyms", Space, Str "and", Space, Str "marks" ]
- , Para
- [ Str "PBS (Public Broadcasting System)" ]
- , Para
- [ Str "Hi\8482" ]
- , Para
- [ Str "Hi", Space, Str "\8482" ]
- , Para
- [ Str "\174", Space, Str "Hi\174" ]
- , Para
- [ Str "Hi\169\&2008", Space, Str "\169", Space, Str "2008" ]
- , Header 1
- ( "footnotes", [], [] )
- [ Str "Footnotes" ]
- , Para
- [ Str "A"
- , Space
- , Str "note."
- , Note
- [ Para
- [ Str "The"
- , Space
- , Str "note"
- , LineBreak
- , Str "is"
- , Space
- , Str "here!"
- ]
- ]
- , Space
- , Str "Another"
- , Space
- , Str "note"
- , Note
- [ Para [ Str "Other", Space, Str "note." ] ]
- , Str "."
- ]
- , Header 1
- ( "comment-blocks", [], [] )
- [ Str "Comment", Space, Str "blocks" ]
- , Para
- [ Str "not", Space, Str "a", Space, Str "comment." ]
+ [ Str "not" , Space , Str "a" , Space , Str "comment." ]
]
diff --git a/test/tikiwiki-reader.native b/test/tikiwiki-reader.native
index eb10421da..3a3f1038f 100644
--- a/test/tikiwiki-reader.native
+++ b/test/tikiwiki-reader.native
@@ -1,761 +1,775 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
- [ 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, Str "level", Space, Str "3" ]
- , Header 4
- ( "header-_level_-four", [], [] )
- [ Str "header", Space, Str "_level_", Space, Str "four" ]
- , Header 5
- ( "header-level-5", [], [] )
- [ Str "header", Space, 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"
- ]
- , Para
- [ Str "--++"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "header"
- ]
- , Header 1
- ( "emph-and-strong", [], [] )
- [ Str "emph", Space, Str "and", Space, Str "strong" ]
- , Para
- [ Emph [ Str "emph" ], Space, Strong [ Str "strong" ] ]
- , Para
- [ Emph
- [ Strong
- [ Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "emph"
- , Space
- , Str "1"
- ]
+ Meta { unMeta = fromList [] }
+ [ 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 , Str "level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "header-_level_-four" , [] , [] )
+ [ Str "header"
+ , Space
+ , Str "_level_"
+ , Space
+ , Str "four"
]
- ]
+ , Header
+ 5
+ ( "header-level-5" , [] , [] )
+ [ Str "header" , Space , 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"
+ ]
+ , Para
+ [ Str "--++"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ ]
+ , Header
+ 1
+ ( "emph-and-strong" , [] , [] )
+ [ Str "emph" , Space , Str "and" , Space , Str "strong" ]
+ , Para
+ [ Emph [ Str "emph" ] , Space , Strong [ Str "strong" ] ]
, Para
- [ Strong
[ Emph
- [ Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "emph"
- , Space
- , Str "2"
- ]
+ [ Strong
+ [ Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "emph"
+ , Space
+ , Str "1"
+ ]
+ ]
]
- ]
, Para
- [ Strong
- [ Emph [ Str "emph", Space, Str "inside" ], Space, Str "strong" ]
- ]
- , Para
- [ Strong
- [ Str "strong", Space, Str "with", Space, Emph [ Str "emph" ] ]
- ]
- , Para
- [ Emph
[ Strong
- [ Str "strong", Space, Str "inside" ]
- , Space
- , Str "emph"
+ [ Emph
+ [ Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "emph"
+ , Space
+ , Str "2"
+ ]
+ ]
]
- ]
- , Header 1
- ( "horizontal-rule", [], [] )
- [ Str "horizontal", Space, Str "rule" ]
, Para
- [ Str "top" ]
- , HorizontalRule
+ [ Strong
+ [ Emph [ Str "emph" , Space , Str "inside" ]
+ , Space
+ , Str "strong"
+ ]
+ ]
, Para
- [ Str "bottom" ]
- , HorizontalRule
- , Header 1
- ( "nop", [], [] )
- [ Str "nop" ]
+ [ Strong
+ [ Str "strong"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emph" ]
+ ]
+ ]
, Para
- [ Str "__not emph__" ]
- , Header 1
- ( "entities", [], [] )
- [ Str "entities" ]
- , Para
- [ Str "hi", Space, Str "&", Space, Str "low" ]
- , Para
- [ Str "hi", Space, Str "&", Space, Str "low" ]
- , Para
- [ Str "G\246del" ]
- , Para
- [ Str "\777\2730" ]
- , Header 1
- ( "linebreaks", [], [] )
- [ Str "linebreaks" ]
- , Para
- [ Str "hi", LineBreak, Str "there" ]
- , Para
- [ Str "hi", LineBreak, Str "there" ]
- , Header 1
- ( "inline-code", [], [] )
- [ Str "inline", Space, Str "code" ]
- , Para
- [ Code
- ( "", [], [] ) "*\8594*"
- , Space
- , Code
- ( "", [], [] ) "typed"
- , Space
- , Code
- ( "", [], [] ) ">>="
- ]
- , Header 1
- ( "code-blocks", [], [] )
- [ Str "code", Space, Str "blocks" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "\ncase xs of\n (_:_) -> reverse xs\n [] -> ['*']\n"
- , CodeBlock
- ( ""
- , [ "haskell" ]
- ,
- [ ( "colors", "haskell" ), ( "ln", "0" ) ]
- ) "\ncase xs of\n (_:_) -> reverse xs\n [] -> ['*']\n"
- , Header 1
- ( "external-links", [], [] )
- [ Str "external", Space, Str "links" ]
- , Para
- [ Link
- ( "", [], [] )
[ Emph
- [ Str "Google" ]
- , Space
- , Str "search"
- , Space
- , Str "engine"
+ [ Strong [ Str "strong" , Space , Str "inside" ]
+ , Space
+ , Str "emph"
+ ]
]
- ( "http://google.com", "" )
- ]
+ , Header
+ 1
+ ( "horizontal-rule" , [] , [] )
+ [ Str "horizontal" , Space , Str "rule" ]
+ , Para [ Str "top" ]
+ , HorizontalRule
+ , Para [ Str "bottom" ]
+ , HorizontalRule
+ , Header 1 ( "nop" , [] , [] ) [ Str "nop" ]
+ , Para [ Str "__not emph__" ]
+ , Header 1 ( "entities" , [] , [] ) [ Str "entities" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "G\246del" ]
+ , Para [ Str "\777\2730" ]
+ , Header 1 ( "linebreaks" , [] , [] ) [ Str "linebreaks" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Header
+ 1
+ ( "inline-code" , [] , [] )
+ [ Str "inline" , Space , Str "code" ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "http://pandoc.org" ]
- ( "http://pandoc.org", "" )
- ]
+ [ Code ( "" , [] , [] ) "*\8594*"
+ , Space
+ , Code ( "" , [] , [] ) "typed"
+ , Space
+ , Code ( "" , [] , [] ) ">>="
+ ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "code" , Space , Str "blocks" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "\ncase xs of\n (_:_) -> reverse xs\n [] -> ['*']\n"
+ , CodeBlock
+ ( ""
+ , [ "haskell" ]
+ , [ ( "colors" , "haskell" ) , ( "ln" , "0" ) ]
+ )
+ "\ncase xs of\n (_:_) -> reverse xs\n [] -> ['*']\n"
+ , Header
+ 1
+ ( "external-links" , [] , [] )
+ [ Str "external" , Space , Str "links" ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "http://google.com" ]
- ( "http://google.com", "" )
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://yahoo.com" ]
- ( "http://yahoo.com", "" )
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Emph [ Str "Google" ]
+ , Space
+ , Str "search"
+ , Space
+ , Str "engine"
+ ]
+ ( "http://google.com" , "" )
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "email", Space, Str "me" ]
- ( "mailto:info@example.org", "" )
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://pandoc.org" ]
+ ( "http://pandoc.org" , "" )
+ ]
, Para
- [ Str "http://google.com" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://google.com" ]
+ ( "http://google.com" , "" )
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://yahoo.com" ]
+ ( "http://yahoo.com" , "" )
+ ]
, Para
- [ Str "info@example.org" ]
- , Header 1
- ( "lists", [], [] )
- [ Str "lists" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "email" , Space , Str "me" ]
+ ( "mailto:info@example.org" , "" )
+ ]
+ , Para [ Str "http://google.com" ]
+ , Para [ Str "info@example.org" ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "lists" ]
, BulletList
- [
- [ Plain [ Str "Start", Space, Str "each", Space, Str "line" ] ]
- ,
- [ Plain
- [ Str "with"
- , Space
- , Str "an"
- , Space
- , Str "asterisk"
- , Space
- , Str "(*)."
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
]
- , BulletList
- [
- [ Plain
- [ Str "More"
+ , [ Plain
+ [ Str "with"
, Space
- , Str "asterisks"
+ , Str "an"
, Space
- , Str "gives"
+ , Str "asterisk"
, Space
- , Str "deeper"
+ , Str "(*)."
]
- , BulletList
- [
- [ Plain
- [ Str "and", Space, Str "deeper", Space, Str "levels." ]
+ , BulletList
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "asterisks"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "deeper"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ ]
]
]
- ]
]
- ]
- ,
- [ Plain
- [ Str "Line"
- , Space
- , Str "breaks"
- , LineBreak
- , Str "don't"
- , Space
- , Str "break"
- , Space
- , Str "levels."
- ]
- ]
- ,
- [ Plain
- [ Str "Continuations"
- , Space
- , Str "are"
- , Space
- , Str "also"
- , Space
- , Str "possible"
- ]
- , BulletList
- [
- [ Plain
- [ Str "and"
+ , [ Plain
+ [ Str "Line"
, Space
- , Str "do"
- , Space
- , Str "not"
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
, Space
, Str "break"
, Space
+ , Str "levels."
+ ]
+ ]
+ , [ Plain
+ [ Str "Continuations"
+ , Space
+ , Str "are"
+ , Space
+ , Str "also"
+ , Space
+ , Str "possible"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "do"
+ , Space
+ , Str "not"
+ , Space
+ , Str "break"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "flow"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "one" ] ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
+ ]
+ , [ Plain
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "number"
+ , Space
+ , Str "(1.)."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "number"
+ , Space
+ , Str "signs"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "and" , Space , Str "deeper" ] ]
+ , [ Plain [ Str "levels." ] ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ , [ Plain [ Str "Blank" , Space , Str "lines" ] ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "end"
+ , Space
, Str "the"
, Space
, Str "list"
, Space
- , Str "flow"
+ , Str "and"
+ , Space
+ , Str "start"
+ , Space
+ , Str "another."
]
- ]
]
]
- ,
- [ Plain [ Str "Level", Space, Str "one" ] ]
- ]
, Para
- [ Str "Any"
- , Space
- , Str "other"
- , Space
- , Str "start"
- , Space
- , Str "ends"
- , Space
- , Str "the"
- , Space
- , Str "list."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Start", Space, Str "each", Space, Str "line" ] ]
- ,
- [ Plain
- [ Str "with"
- , Space
- , Str "a"
- , Space
- , Str "number"
- , Space
- , Str "(1.)."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "More"
- , Space
- , Str "number"
- , Space
- , Str "signs"
- , Space
- , Str "gives"
- , Space
- , Str "deeper"
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "and", Space, Str "deeper" ] ]
- ,
- [ Plain [ Str "levels." ] ]
- ]
- ]
- ]
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "also"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
]
- ,
- [ Plain
- [ Str "Line"
- , Space
- , Str "breaks"
- , LineBreak
- , Str "don't"
- , Space
- , Str "break"
- , Space
- , Str "levels."
- ]
- ]
- ,
- [ Plain [ Str "Blank", Space, Str "lines" ] ]
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "end"
- , Space
- , Str "the"
- , Space
- , Str "list"
- , Space
- , Str "and"
- , Space
- , Str "start"
- , Space
- , Str "another."
- ]
- ]
- ]
- , Para
- [ Str "Any"
- , Space
- , Str "other"
- , Space
- , Str "start"
- , Space
- , Str "also"
- , Space
- , Str "ends"
- , Space
- , Str "the"
- , Space
- , Str "list."
- ]
, DefinitionList
- [
- (
- [ Str "item", Space, Str "1" ]
- ,
- [ [ Plain [ Str "definition", Space, Str "1" ] ] ]
- )
- ,
- (
- [ Str "item", Space, Str "2" ]
- ,
- [
- [ Plain
- [ Str "definition"
- , Space
- , Str "2-1"
- , Space
- , Str "definition"
- , Space
- , Str "2-2"
+ [ ( [ Str "item" , Space , Str "1" ]
+ , [ [ Plain [ Str "definition" , Space , Str "1" ] ] ]
+ )
+ , ( [ Str "item" , Space , Str "2" ]
+ , [ [ Plain
+ [ Str "definition"
+ , Space
+ , Str "2-1"
+ , Space
+ , Str "definition"
+ , Space
+ , Str "2-2"
+ ]
]
]
- ]
- )
- ,
- (
- [ Str "item", Space, Emph [ Str "3" ] ]
- ,
- [ [ Plain [ Str "definition", Space, Emph [ Str "3" ] ] ] ]
- )
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "one" ] ]
- ,
- [ Plain
- [ Str "two" ]
- , BulletList
- [
- [ Plain [ Str "two", Space, Str "point", Space, Str "one" ] ]
- ,
- [ Plain [ Str "two", Space, Str "point", Space, Str "two" ] ]
- ]
+ )
+ , ( [ Str "item" , Space , Emph [ Str "3" ] ]
+ , [ [ Plain [ Str "definition" , Space , Emph [ Str "3" ] ]
+ ]
+ ]
+ )
]
- ,
- [ Plain [ Str "three" ] ]
- ,
- [ Plain [ Str "four" ] ]
- ,
- [ Plain
- [ Str "five" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "five", Space, Str "sub", Space, Str "1" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "five"
- , Space
- , Str "sub"
- , Space
- , Str "1"
- , Space
- , Str "sub"
- , Space
- , Str "1"
- ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "one" ] ]
+ , [ Plain [ Str "two" ]
+ , BulletList
+ [ [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "one"
+ ]
+ ]
+ , [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "two"
+ ]
]
]
- ]
- ,
- [ Plain [ Str "five", Space, Str "sub", Space, Str "2" ] ]
]
- ]
- ]
- , Header 1
- ( "tables", [], [] )
- [ Str "tables" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Apple" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Bread" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Pie" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Butter" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Ice", Space, Str "cream" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Apple" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Bread" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Pie" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Strong [ Str "Butter" ] ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Ice", Space, Str "cream" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Apple" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Bread"
- , LineBreak
- , LineBreak
- , Str "and"
- , Space
- , Str "cheese"
+ , [ Plain [ Str "three" ] ]
+ , [ Plain [ Str "four" ] ]
+ , [ Plain [ Str "five" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "1" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "2" ]
+ ]
]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Pie"
- , LineBreak
- , LineBreak
- , Strong
- [ Str "apple" ]
- , Space
- , Str "and"
- , Space
- , Emph
- [ Str "carrot" ]
- , Space
- ]
- ]
]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ , Header 1 ( "tables" , [] , [] ) [ Str "tables" ]
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Space, Str "Orange", Space ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Space, Str "Apple", Space ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Space, Str "more" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Space, Str "Bread", Space ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Space, Str "Pie", Space ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Space, Str "more" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Space, Str "Butter", Space ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Space, Str "Ice", Space, Str "cream", Space ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Space, Str "and", Space, Str "more", Space ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Strong [ Str "Butter" ] ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Bread"
+ , LineBreak
+ , LineBreak
+ , Str "and"
+ , Space
+ , Str "cheese"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Pie"
+ , LineBreak
+ , LineBreak
+ , Strong [ Str "apple" ]
+ , Space
+ , Str "and"
+ , Space
+ , Emph [ Str "carrot" ]
+ , Space
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Orange" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Apple" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Bread" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Pie" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Space , Str "Butter" , Space ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Space
+ , Str "Ice"
+ , Space
+ , Str "cream"
+ , Space
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Space , Str "and" , Space , Str "more" , Space ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
]
diff --git a/test/twiki-reader.native b/test/twiki-reader.native
index d0a225712..e41301966 100644
--- a/test/twiki-reader.native
+++ b/test/twiki-reader.native
@@ -1,875 +1,863 @@
Pandoc
- ( Meta { unMeta = fromList [] } )
- [ 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, Str "level", Space, Str "3" ]
- , Header 4
- ( "header-level-four", [], [] )
- [ Str "header", Space, Emph [ Str "level" ], Space, Str "four" ]
- , Header 5
- ( "header-level-5", [], [] )
- [ Str "header", Space, 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"
- ]
- , Para
- [ Str "--++"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "header"
- ]
- , Header 1
- ( "emph-and-strong", [], [] )
- [ Str "emph", Space, Str "and", Space, Str "strong" ]
- , Para
- [ Emph [ Str "emph" ], Space, Strong [ Str "strong" ] ]
- , Para
- [ Emph
- [ Strong [ Str "strong", Space, Str "and", Space, Str "emph" ] ]
- ]
- , Para
- [ Strong
- [ Emph [ Str "emph", Space, Str "inside" ], Space, Str "strong" ]
- ]
- , Para
- [ Strong
- [ Str "strong", Space, Str "with", Space, Emph [ Str "emph" ] ]
- ]
- , Para
- [ Emph
- [ Strong
- [ Str "strong", Space, Str "inside" ]
+ Meta { unMeta = fromList [] }
+ [ 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 , Str "level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "header-level-four" , [] , [] )
+ [ Str "header"
, Space
- , Str "emph"
+ , Emph [ Str "level" ]
+ , Space
+ , Str "four"
]
- ]
- , Header 1
- ( "horizontal-rule", [], [] )
- [ Str "horizontal", Space, Str "rule" ]
+ , Header
+ 5
+ ( "header-level-5" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "5" ]
+ , Header
+ 6
+ ( "header-level-6" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "6" ]
, Para
- [ Str "top" ]
- , HorizontalRule
- , Para
- [ Str "bottom" ]
- , HorizontalRule
- , Header 1
- ( "nop", [], [] )
- [ Str "nop" ]
- , Para
- [ Str "_not", Space, Str "emph_" ]
- , Header 1
- ( "entities", [], [] )
- [ Str "entities" ]
- , Para
- [ Str "hi", Space, Str "&", Space, Str "low" ]
- , Para
- [ Str "hi", Space, Str "&", Space, Str "low" ]
- , Para
- [ Str "G\246del" ]
- , Para
- [ Str "\777\2730" ]
- , Header 1
- ( "comments", [], [] )
- [ Str "comments" ]
- , Para
- [ Str "inline", Space, Str "comment" ]
- , Para
- [ Str "between", Space, Str "blocks" ]
- , Header 1
- ( "linebreaks", [], [] )
- [ Str "linebreaks" ]
- , Para
- [ Str "hi", LineBreak, Str "there" ]
- , Para
- [ Str "hi", LineBreak, Str "there" ]
- , Header 1
- ( "inline-code", [], [] )
- [ Str "inline", Space, Str "code" ]
- , Para
- [ Code
- ( "", [], [] ) "*\8594*"
- , Space
- , Code
- ( "", [], [] ) "typed"
- , Space
- , Code
- ( "", [ "haskell" ], [] ) ">>="
- ]
- , Header 1
- ( "code-blocks", [], [] )
- [ Str "code", Space, Str "blocks" ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
- , CodeBlock
- ( ""
- , [ "haskell" ]
- , []
- ) "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
- , Header 1
- ( "block-quotes", [], [] )
- [ Str "block", Space, Str "quotes" ]
- , Para
- [ Str "Regular", Space, Str "paragraph" ]
- , BlockQuote
- [ Para
- [ Str "This"
+ [ Str "---+++++++"
, Space
- , Str "is"
+ , Str "not"
, Space
, Str "a"
, Space
- , Str "block"
- , Space
- , Str "quote."
+ , Str "header"
]
- , Para
- [ Str "With", Space, Str "two", Space, Str "paragraphs." ]
- ]
, Para
- [ Str "Nother", Space, Str "paragraph." ]
- , Header 1
- ( "external-links", [], [] )
- [ Str "external", Space, Str "links" ]
+ [ Str "--++"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "header"
+ ]
+ , Header
+ 1
+ ( "emph-and-strong" , [] , [] )
+ [ Str "emph" , Space , Str "and" , Space , Str "strong" ]
+ , Para
+ [ Emph [ Str "emph" ] , Space , Strong [ Str "strong" ] ]
, Para
- [ Link
- ( "", [], [] )
[ Emph
- [ Str "Google" ]
- , Space
- , Str "search"
- , Space
- , Str "engine"
+ [ Strong
+ [ Str "strong" , Space , Str "and" , Space , Str "emph" ]
+ ]
]
- ( "http://google.com", "" )
- ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "http://pandoc.org" ]
- ( "http://pandoc.org", "" )
- ]
+ [ Strong
+ [ Emph [ Str "emph" , Space , Str "inside" ]
+ , Space
+ , Str "strong"
+ ]
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "http://google.com" ]
- ( "http://google.com", "" )
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://yahoo.com" ]
- ( "http://yahoo.com", "" )
- ]
+ [ Strong
+ [ Str "strong"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emph" ]
+ ]
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "email", Space, Str "me" ]
- ( "mailto:info@example.org", "" )
- ]
+ [ Emph
+ [ Strong [ Str "strong" , Space , Str "inside" ]
+ , Space
+ , Str "emph"
+ ]
+ ]
+ , Header
+ 1
+ ( "horizontal-rule" , [] , [] )
+ [ Str "horizontal" , Space , Str "rule" ]
+ , Para [ Str "top" ]
+ , HorizontalRule
+ , Para [ Str "bottom" ]
+ , HorizontalRule
+ , Header 1 ( "nop" , [] , [] ) [ Str "nop" ]
+ , Para [ Str "_not" , Space , Str "emph_" ]
+ , Header 1 ( "entities" , [] , [] ) [ Str "entities" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "hi" , Space , Str "&" , Space , Str "low" ]
+ , Para [ Str "G\246del" ]
+ , Para [ Str "\777\2730" ]
+ , Header 1 ( "comments" , [] , [] ) [ Str "comments" ]
+ , Para [ Str "inline" , Space , Str "comment" ]
+ , Para [ Str "between" , Space , Str "blocks" ]
+ , Header 1 ( "linebreaks" , [] , [] ) [ Str "linebreaks" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Para [ Str "hi" , LineBreak , Str "there" ]
+ , Header
+ 1
+ ( "inline-code" , [] , [] )
+ [ Str "inline" , Space , Str "code" ]
, Para
- [ Str "http://google.com" ]
+ [ Code ( "" , [] , [] ) "*\8594*"
+ , Space
+ , Code ( "" , [] , [] ) "typed"
+ , Space
+ , Code ( "" , [ "haskell" ] , [] ) ">>="
+ ]
+ , Header
+ 1
+ ( "code-blocks" , [] , [] )
+ [ Str "code" , Space , Str "blocks" ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
+ , CodeBlock
+ ( "" , [ "haskell" ] , [] )
+ "case xs of\n (_:_) -> reverse xs\n [] -> ['*']"
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "block" , Space , Str "quotes" ]
+ , Para [ Str "Regular" , Space , Str "paragraph" ]
+ , BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "two"
+ , Space
+ , Str "paragraphs."
+ ]
+ ]
+ , Para [ Str "Nother" , Space , Str "paragraph." ]
+ , Header
+ 1
+ ( "external-links" , [] , [] )
+ [ Str "external" , Space , Str "links" ]
, Para
- [ Str "http://google.com" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Emph [ Str "Google" ]
+ , Space
+ , Str "search"
+ , Space
+ , Str "engine"
+ ]
+ ( "http://google.com" , "" )
+ ]
, Para
- [ Str "http://google.com" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://pandoc.org" ]
+ ( "http://pandoc.org" , "" )
+ ]
, Para
- [ Str "info@example.org" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://google.com" ]
+ ( "http://google.com" , "" )
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://yahoo.com" ]
+ ( "http://yahoo.com" , "" )
+ ]
, Para
- [ Str "info@example.org" ]
- , Para
- [ Str "info@example.org" ]
- , Header 1
- ( "lists", [], [] )
- [ Str "lists" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "email" , Space , Str "me" ]
+ ( "mailto:info@example.org" , "" )
+ ]
+ , Para [ Str "http://google.com" ]
+ , Para [ Str "http://google.com" ]
+ , Para [ Str "http://google.com" ]
+ , Para [ Str "info@example.org" ]
+ , Para [ Str "info@example.org" ]
+ , Para [ Str "info@example.org" ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "lists" ]
, BulletList
- [
- [ Plain [ Str "Start", Space, Str "each", Space, Str "line" ] ]
- ,
- [ Plain
- [ Str "with"
- , Space
- , Str "an"
- , Space
- , Str "asterisk"
- , Space
- , Str "(*)."
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
]
- , BulletList
- [
- [ Plain
- [ Str "More"
+ , [ Plain
+ [ Str "with"
, Space
- , Str "asterisks"
+ , Str "an"
, Space
- , Str "gives"
+ , Str "asterisk"
, Space
- , Str "deeper"
+ , Str "(*)."
]
- , BulletList
- [
- [ Plain
- [ Str "and", Space, Str "deeper", Space, Str "levels." ]
+ , BulletList
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "asterisks"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "deeper"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ ]
]
]
- ]
]
- ]
- ,
- [ Plain
- [ Str "Line"
- , Space
- , Str "breaks"
- , LineBreak
- , Str "don't"
- , Space
- , Str "break"
- , Space
- , Str "levels."
- ]
- ]
- ,
- [ Plain
- [ Str "Continuations"
- , Space
- , Str "are"
- , Space
- , Str "also"
- , Space
- , Str "possible"
- ]
- , BulletList
- [
- [ Plain
- [ Str "and"
+ , [ Plain
+ [ Str "Line"
, Space
- , Str "do"
- , Space
- , Str "not"
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
, Space
, Str "break"
, Space
+ , Str "levels."
+ ]
+ ]
+ , [ Plain
+ [ Str "Continuations"
+ , Space
+ , Str "are"
+ , Space
+ , Str "also"
+ , Space
+ , Str "possible"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "do"
+ , Space
+ , Str "not"
+ , Space
+ , Str "break"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "flow"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "one" ] ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Start" , Space , Str "each" , Space , Str "line" ]
+ ]
+ , [ Plain
+ [ Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "number"
+ , Space
+ , Str "(1.)."
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "More"
+ , Space
+ , Str "number"
+ , Space
+ , Str "signs"
+ , Space
+ , Str "gives"
+ , Space
+ , Str "deeper"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "and" , Space , Str "deeper" ] ]
+ , [ Plain [ Str "levels." ] ]
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Line"
+ , Space
+ , Str "breaks"
+ , LineBreak
+ , Str "don't"
+ , Space
+ , Str "break"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ , [ Plain [ Str "Blank" , Space , Str "lines" ] ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "end"
+ , Space
, Str "the"
, Space
, Str "list"
, Space
- , Str "flow"
+ , Str "and"
+ , Space
+ , Str "start"
+ , Space
+ , Str "another."
]
- ]
]
]
- ,
- [ Plain [ Str "Level", Space, Str "one" ] ]
- ]
, Para
- [ Str "Any"
- , Space
- , Str "other"
- , Space
- , Str "start"
- , Space
- , Str "ends"
- , Space
- , Str "the"
- , Space
- , Str "list."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Start", Space, Str "each", Space, Str "line" ] ]
- ,
- [ Plain
- [ Str "with"
- , Space
- , Str "a"
- , Space
- , Str "number"
- , Space
- , Str "(1.)."
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "More"
- , Space
- , Str "number"
- , Space
- , Str "signs"
- , Space
- , Str "gives"
- , Space
- , Str "deeper"
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "and", Space, Str "deeper" ] ]
- ,
- [ Plain [ Str "levels." ] ]
- ]
- ]
- ]
+ [ Str "Any"
+ , Space
+ , Str "other"
+ , Space
+ , Str "start"
+ , Space
+ , Str "also"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list."
]
- ,
- [ Plain
- [ Str "Line"
- , Space
- , Str "breaks"
- , LineBreak
- , Str "don't"
- , Space
- , Str "break"
- , Space
- , Str "levels."
- ]
- ]
- ,
- [ Plain [ Str "Blank", Space, Str "lines" ] ]
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "end"
- , Space
- , Str "the"
- , Space
- , Str "list"
- , Space
- , Str "and"
- , Space
- , Str "start"
- , Space
- , Str "another."
- ]
- ]
- ]
- , Para
- [ Str "Any"
- , Space
- , Str "other"
- , Space
- , Str "start"
- , Space
- , Str "also"
- , Space
- , Str "ends"
- , Space
- , Str "the"
- , Space
- , Str "list."
- ]
, DefinitionList
- [
- (
- [ Str "item", Space, Str "1" ]
- ,
- [ [ Plain [ Str "definition", Space, Str "1" ] ] ]
- )
- ,
- (
- [ Str "item", Space, Str "2" ]
- ,
- [
- [ Plain
- [ Str "definition"
- , Space
- , Str "2-1"
- , Space
- , Str "definition"
- , Space
- , Str "2-2"
- ]
- ]
- ]
- )
- ,
- (
- [ Str "item", Space, Emph [ Str "3" ] ]
- ,
- [ [ Plain [ Str "definition", Space, Emph [ Str "3" ] ] ] ]
- )
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "one" ] ]
- ,
- [ Plain
- [ Str "two" ]
- , BulletList
- [
- [ Plain [ Str "two", Space, Str "point", Space, Str "one" ] ]
- ,
- [ Plain [ Str "two", Space, Str "point", Space, Str "two" ] ]
- ]
- ]
- ,
- [ Plain
- [ Str "three" ]
- , DefinitionList
- [
- (
- [ Str "three", Space, Str "item", Space, Str "one" ]
- ,
- [
- [ Plain
- [ Str "three", Space, Str "def", Space, Str "one" ]
- ]
- ]
- )
- ]
- ]
- ,
- [ Plain
- [ Str "four" ]
- , DefinitionList
- [
- (
- [ Str "four", Space, Str "def", Space, Str "one" ]
- ,
- [
- [ Plain
- [ Str "this"
+ [ ( [ Str "item" , Space , Str "1" ]
+ , [ [ Plain [ Str "definition" , Space , Str "1" ] ] ]
+ )
+ , ( [ Str "item" , Space , Str "2" ]
+ , [ [ Plain
+ [ Str "definition"
, Space
- , Str "is"
+ , Str "2-1"
, Space
- , Str "a"
+ , Str "definition"
, Space
- , Str "continuation"
+ , Str "2-2"
]
- ]
- ]
- )
- ]
- ]
- ,
- [ Plain
- [ Str "five" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "five", Space, Str "sub", Space, Str "1" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "five"
- , Space
- , Str "sub"
- , Space
- , Str "1"
- , Space
- , Str "sub"
- , Space
- , Str "1"
- ]
- ]
]
]
- ,
- [ Plain [ Str "five", Space, Str "sub", Space, Str "2" ] ]
- ]
+ )
+ , ( [ Str "item" , Space , Emph [ Str "3" ] ]
+ , [ [ Plain [ Str "definition" , Space , Emph [ Str "3" ] ]
+ ]
+ ]
+ )
]
- ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "other" ]
- , OrderedList
- ( 1, UpperRoman, DefaultDelim )
- [ [ Plain [ Str "list" ] ], [ Plain [ Str "styles" ] ] ]
- ]
- ,
- [ Plain
- [ Str "are" ]
- , OrderedList
- ( 1, LowerRoman, DefaultDelim )
- [ [ Plain [ Str "also" ] ], [ Plain [ Str "possible" ] ] ]
- ]
- ,
- [ Plain
- [ Str "all" ]
- , OrderedList
- ( 1, LowerAlpha, DefaultDelim )
- [
- [ Plain [ Str "the" ] ]
- ,
- [ Plain [ Str "different" ] ]
- ,
- [ Plain [ Str "styles" ] ]
- ]
- ]
- ,
- [ Plain
- [ Str "are" ]
- , OrderedList
- ( 1, UpperAlpha, DefaultDelim )
- [
- [ Plain [ Str "implemented" ] ]
- ,
- [ Plain [ Str "and" ] ]
- ,
- [ Plain [ Str "supported" ] ]
- ]
- ]
- ]
- , Header 1
- ( "tables", [], [] )
- [ Str "tables" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Apple" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Bread" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Pie" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Butter" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Ice", Space, Str "cream" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignLeft, ColWidthDefault ), ( AlignLeft, ColWidthDefault ) ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Apple" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Bread" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Pie" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Strong [ Str "Butter" ] ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Ice", Space, Str "cream" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignLeft, ColWidthDefault ), ( AlignLeft, ColWidthDefault ) ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Apple" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Bread"
- , LineBreak
- , LineBreak
- , Str "and"
- , Space
- , Str "cheese"
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "one" ] ]
+ , [ Plain [ Str "two" ]
+ , BulletList
+ [ [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "one"
+ ]
+ ]
+ , [ Plain
+ [ Str "two"
+ , Space
+ , Str "point"
+ , Space
+ , Str "two"
+ ]
+ ]
]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "Pie"
- , LineBreak
- , LineBreak
- , Strong
- [ Str "apple" ]
- , Space
- , Str "and"
- , Space
- , Emph
- [ Str "carrot" ]
+ ]
+ , [ Plain [ Str "three" ]
+ , DefinitionList
+ [ ( [ Str "three" , Space , Str "item" , Space , Str "one" ]
+ , [ [ Plain
+ [ Str "three"
+ , Space
+ , Str "def"
+ , Space
+ , Str "one"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ , [ Plain [ Str "four" ]
+ , DefinitionList
+ [ ( [ Str "four" , Space , Str "def" , Space , Str "one" ]
+ , [ [ Plain
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "continuation"
+ ]
+ ]
+ ]
+ )
+ ]
+ ]
+ , [ Plain [ Str "five" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "1" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "five"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ , Space
+ , Str "sub"
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "five" , Space , Str "sub" , Space , Str "2" ]
+ ]
]
- ]
]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "other" ]
+ , OrderedList
+ ( 1 , UpperRoman , DefaultDelim )
+ [ [ Plain [ Str "list" ] ] , [ Plain [ Str "styles" ] ] ]
+ ]
+ , [ Plain [ Str "are" ]
+ , OrderedList
+ ( 1 , LowerRoman , DefaultDelim )
+ [ [ Plain [ Str "also" ] ] , [ Plain [ Str "possible" ] ] ]
+ ]
+ , [ Plain [ Str "all" ]
+ , OrderedList
+ ( 1 , LowerAlpha , DefaultDelim )
+ [ [ Plain [ Str "the" ] ]
+ , [ Plain [ Str "different" ] ]
+ , [ Plain [ Str "styles" ] ]
+ ]
+ ]
+ , [ Plain [ Str "are" ]
+ , OrderedList
+ ( 1 , UpperAlpha , DefaultDelim )
+ [ [ Plain [ Str "implemented" ] ]
+ , [ Plain [ Str "and" ] ]
+ , [ Plain [ Str "supported" ] ]
+ ]
+ ]
+ ]
+ , Header 1 ( "tables" , [] , [] ) [ Str "tables" ]
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Orange" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Apple" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "more" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Bread" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Pie" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "more" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Butter" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Ice", Space, Str "cream" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "and", Space, Str "more" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 1
- ( "macros", [], [] )
- [ Str "macros" ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Strong [ Str "Butter" ] ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignLeft , ColWidthDefault )
+ , ( AlignLeft , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Bread"
+ , LineBreak
+ , LineBreak
+ , Str "and"
+ , Space
+ , Str "cheese"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "Pie"
+ , LineBreak
+ , LineBreak
+ , Strong [ Str "apple" ]
+ , Space
+ , Str "and"
+ , Space
+ , Emph [ Str "carrot" ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Orange" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apple" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Bread" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Pie" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "more" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Butter" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Ice" , Space , Str "cream" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "and" , Space , Str "more" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header 1 ( "macros" , [] , [] ) [ Str "macros" ]
+ , Para [ Span ( "" , [ "twiki-macro" , "TEST" ] , [] ) [] ]
, Para
- [ Span ( "", [ "twiki-macro", "TEST" ], [] ) [] ]
+ [ Span ( "" , [ "twiki-macro" , "TEST" ] , [] ) [ Str "" ] ]
, Para
- [ Span ( "", [ "twiki-macro", "TEST" ], [] ) [ Str "" ] ]
+ [ Span
+ ( "" , [ "twiki-macro" , "TEST" ] , [] )
+ [ Str "content with spaces" ]
+ ]
, Para
- [ Span
- ( "", [ "twiki-macro", "TEST" ], [] )
- [ Str "content with spaces" ]
- ]
+ [ Span
+ ( "" , [ "twiki-macro" , "TEST" ] , [] )
+ [ Str "content with spaces" ]
+ ]
, Para
- [ Span
- ( "", [ "twiki-macro", "TEST" ], [] )
- [ Str "content with spaces" ]
- ]
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) ]
+ )
+ [ Str "content with spaces" ]
+ ]
, Para
- [ Span
- ( "", [ "twiki-macro", "TEST" ], [ ( "ARG1", "test" ) ] )
- [ Str "content with spaces" ]
- ]
+ [ Span
+ ( "" , [ "twiki-macro" , "TEST" ] , [] )
+ [ Str "content with spaces ARG1=test" ]
+ ]
, Para
- [ Span
- ( "", [ "twiki-macro", "TEST" ], [] )
- [ Str "content with spaces ARG1=test" ]
- ]
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) ]
+ )
+ [ Str "content with spaces" ]
+ ]
, Para
- [ Span
- ( "", [ "twiki-macro", "TEST" ], [ ( "ARG1", "test" ) ] )
- [ Str "content with spaces" ]
- ]
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) , ( "ARG2" , "test2" ) ]
+ )
+ [ Str "" ]
+ ]
, Para
- [ Span
- ( ""
- ,
- [ "twiki-macro", "TEST" ]
- ,
- [ ( "ARG1", "test" ), ( "ARG2", "test2" ) ]
- )
- [ Str "" ]
- ]
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) , ( "ARG2" , "test2" ) ]
+ )
+ [ Str "" ]
+ ]
, Para
- [ Span
- ( ""
- ,
- [ "twiki-macro", "TEST" ]
- ,
- [ ( "ARG1", "test" ), ( "ARG2", "test2" ) ]
- )
- [ Str "" ]
- ]
- , Para
- [ Span
- ( ""
- ,
- [ "twiki-macro", "TEST" ]
- ,
- [ ( "ARG1", "test" ), ( "ARG2", "test2" ) ]
- )
- [ Str "multiline\ndoes also work" ]
- ]
+ [ Span
+ ( ""
+ , [ "twiki-macro" , "TEST" ]
+ , [ ( "ARG1" , "test" ) , ( "ARG2" , "test2" ) ]
+ )
+ [ Str "multiline\ndoes also work" ]
+ ]
]
diff --git a/test/txt2tags.native b/test/txt2tags.native
index ccc8dd36e..5c60fbb4d 100644
--- a/test/txt2tags.native
+++ b/test/txt2tags.native
@@ -1,2244 +1,322 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "author", MetaList [ MetaInlines [ Str "author" ] ] )
- ,
- ( "date", MetaInlines [ Str "date" ] )
- ,
- ( "includeconf", MetaString "rules.conf" )
- ,
- ( "title"
- , MetaInlines
- [ Str "Txt2tags", Space, Str "Markup", Space, Str "Rules" ]
- )
- ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "author" , MetaList [ MetaInlines [ Str "author" ] ] )
+ , ( "date" , MetaInlines [ Str "date" ] )
+ , ( "includeconf" , MetaString "rules.conf" )
+ , ( "title"
+ , MetaInlines
+ [ Str "Txt2tags"
+ , Space
+ , Str "Markup"
+ , Space
+ , Str "Rules"
+ ]
+ )
+ ]
}
- )
[ Para
- [ Str "This"
- , Space
- , Str "document"
- , Space
- , Str "describes"
- , Space
- , Str "all"
- , Space
- , Str "the"
- , Space
- , Str "details"
- , Space
- , Str "about"
- , Space
- , Str "each"
- , Space
- , Str "txt2tags"
- , Space
- , Str "mark."
- , SoftBreak
- , Str "The"
- , Space
- , Str "target"
- , Space
- , Str "audience"
- , Space
- , Str "are"
- , Space
- , Strong
- [ Str "experienced" ]
- , Space
- , Str "users."
- , Space
- , Str "You"
- , Space
- , Str "may"
- , Space
- , Str "find"
- , Space
- , Str "it"
- , SoftBreak
- , Str "useful"
- , Space
- , Str "if"
- , Space
- , Str "you"
- , Space
- , Str "want"
- , Space
- , Str "to"
- , Space
- , Str "master"
- , Space
- , Str "the"
- , Space
- , Str "marks"
- , Space
- , Str "or"
- , Space
- , Str "solve"
- , Space
- , Str "a"
- , Space
- , Str "specific"
- , Space
- , Str "problem"
- , SoftBreak
- , Str "about"
- , Space
- , Str "a"
- , Space
- , Str "mark."
- ]
- , Para
- [ Str "If"
- , Space
- , Str "you"
- , Space
- , Str "are"
- , Space
- , Str "new"
- , Space
- , Str "to"
- , Space
- , Str "txt2tags"
- , Space
- , Str "or"
- , Space
- , Str "just"
- , Space
- , Str "want"
- , Space
- , Str "to"
- , Space
- , Str "know"
- , Space
- , Str "which"
- , Space
- , Str "are"
- , Space
- , Str "the"
- , SoftBreak
- , Str "available"
- , Space
- , Str "marks,"
- , Space
- , Str "please"
- , Space
- , Str "read"
- , Space
- , Str "the"
- , Space
- , Link
- ( "", [], [] )
- [ Str "Markup", Space, Str "Demo" ]
- ( "MARKUPDEMO", "" )
- , Str "."
- ]
- , Para
- [ Str "Note"
- , Space
- , Str "1:"
- , Space
- , Str "This"
- , Space
- , Str "document"
- , Space
- , Str "is"
- , Space
- , Str "generated"
- , Space
- , Str "directly"
- , Space
- , Str "from"
- , Space
- , Str "the"
- , Space
- , Str "txt2tags"
- , SoftBreak
- , Str "test-suite."
- , Space
- , Str "All"
- , Space
- , Str "the"
- , Space
- , Str "rules"
- , Space
- , Str "mentioned"
- , Space
- , Str "here"
- , Space
- , Str "are"
- , Space
- , Str "100%"
- , Space
- , Str "in"
- , Space
- , Str "sync"
- , Space
- , Str "with"
- , Space
- , Str "the"
- , SoftBreak
- , Str "current"
- , Space
- , Str "program"
- , Space
- , Str "code."
- ]
- , Para
- [ Str "Note"
- , Space
- , Str "2:"
- , Space
- , Str "A"
- , Space
- , Str "good"
- , Space
- , Str "practice"
- , Space
- , Str "is"
- , Space
- , Str "to"
- , Space
- , Str "consult"
- , Space
- , Link
- ( "", [], [] )
- [ Str "the", Space, Str "sources" ]
- ( "rules.t2t", "" )
- , Space
- , Str "when"
- , SoftBreak
- , Str "reading,"
- , Space
- , Str "to"
- , Space
- , Str "see"
- , Space
- , Str "how"
- , Space
- , Str "the"
- , Space
- , Str "texts"
- , Space
- , Str "were"
- , Space
- , Str "made."
- ]
- , Para
- [ Str "Table", Space, Str "of", Space, Str "Contents:" ]
- , HorizontalRule
- , Header 1
- ( "paragraph", [], [] )
- [ Str "Paragraph" ]
- , Para
- [ Str "A"
- , Space
- , Str "paragraph"
- , Space
- , Str "is"
- , Space
- , Str "composed"
- , Space
- , Str "by"
- , Space
- , Str "one"
- , Space
- , Str "or"
- , Space
- , Str "more"
- , Space
- , Str "lines."
- , SoftBreak
- , Str "A"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "(or"
- , Space
- , Str "a"
- , Space
- , Str "table,"
- , Space
- , Str "or"
- , Space
- , Str "a"
- , Space
- , Str "list)"
- , Space
- , Str "ends"
- , Space
- , Str "the"
- , SoftBreak
- , Str "current"
- , Space
- , Str "paragraph."
- ]
- , Para
- [ Str "Leading"
- , Space
- , Str "and"
- , Space
- , Str "trailing"
- , Space
- , Str "spaces"
- , Space
- , Str "are"
- , Space
- , Str "ignored."
- ]
- , Para
- [ Str "A"
- , Space
- , Str "comment"
- , Space
- , Str "line"
- , Space
- , Str "can"
- , Space
- , Str "be"
- , Space
- , Str "placed"
- , Space
- , Str "inside"
- , Space
- , Str "a"
- , Space
- , Str "paragraph."
- , SoftBreak
- , Str "It"
- , Space
- , Str "will"
- , Space
- , Str "not"
- , Space
- , Str "affect"
- , Space
- , Str "it."
- ]
- , Para
- [ Str "The"
- , Space
- , Str "end"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "file"
- , Space
- , Str "(EOF)"
- , Space
- , Str "closes"
- , Space
- , Str "the"
- , SoftBreak
- , Str "currently"
- , Space
- , Str "open"
- , Space
- , Str "paragraph."
- ]
- , Header 1
- ( "comment", [], [] )
- [ Str "Comment" ]
- , Para
- [ Str "%"
- , Space
- , Str "not"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "line"
- , Space
- , Str "beginning"
- , Space
- , Str "(at"
- , Space
- , Str "column"
- , Space
- , Str "2)"
- ]
- , Para
- [ Str "some"
- , Space
- , Str "text"
- , Space
- , Str "%"
- , Space
- , Str "half"
- , Space
- , Str "line"
- , Space
- , Str "comments"
- , Space
- , Str "are"
- , Space
- , Str "not"
- , Space
- , Str "allowed"
- ]
- , Header 1
- ( "line", [], [] )
- [ Str "Line" ]
- , HorizontalRule
- , HorizontalRule
- , HorizontalRule
- , HorizontalRule
- , HorizontalRule
- , HorizontalRule
- , HorizontalRule
- , HorizontalRule
- , HorizontalRule
- , HorizontalRule
- , HorizontalRule
- , Para
- [ Strikeout
- [ Str "-----" ]
- , SoftBreak
- , Strikeout
- [ Str "-------", Space, Str "--------" ]
- ]
- , Para
- [ Strikeout [ Str "-------+--------" ] ]
- , Para
- [ Str "("
- , Space
- , Strikeout
- [ Str "----------------" ]
- , Space
- , Str ")"
- ]
- , Header 1
- ( "inline", [], [] )
- [ Str "Inline" ]
- , Para
- [ Str "i)"
- , Space
- , Strong
- [ Str "b" ]
- , Space
- , Emph
- [ Str "i" ]
- , Space
- , Underline
- [ Str "u" ]
- , Space
- , Strikeout
- [ Str "s" ]
- , Space
- , Code
- ( "", [], [] ) "m"
- , Space
- , Str "r"
- , Space
- , RawInline
- ( Format "html" ) "t"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "bo" ]
- , Space
- , Emph
- [ Str "it" ]
- , Space
- , Underline
- [ Str "un" ]
- , Space
- , Strikeout
- [ Str "st" ]
- , Space
- , Code
- ( "", [], [] ) "mo"
- , Space
- , Str "ra"
- , Space
- , RawInline
- ( Format "html" ) "tg"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "bold" ]
- , Space
- , Emph
- [ Str "ital" ]
- , Space
- , Underline
- [ Str "undr" ]
- , Space
- , Strikeout
- [ Str "strk" ]
- , Space
- , Code
- ( "", [], [] ) "mono"
- , Space
- , Str "raw"
- , Space
- , RawInline
- ( Format "html" ) "tggd"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "bo", Space, Str "ld" ]
- , Space
- , Emph
- [ Str "it", Space, Str "al" ]
- , Space
- , Underline
- [ Str "un", Space, Str "dr" ]
- , Space
- , Strikeout
- [ Str "st", Space, Str "rk" ]
- , Space
- , Code
- ( "", [], [] ) "mo no"
- , Space
- , Str "r"
- , Space
- , Str "aw"
- , Space
- , RawInline
- ( Format "html" ) "tg gd"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "bo", Space, Str "*", Space, Str "ld" ]
- , Space
- , Emph
- [ Str "it", Space, Str "/", Space, Str "al" ]
- , Space
- , Underline
- [ Str "un", Space, Str "_", Space, Str "dr" ]
- , Space
- , Strikeout
- [ Str "st", Space, Str "-", Space, Str "rk" ]
- , Space
- , Code
- ( "", [], [] ) "mo ` no"
- , Space
- , Str "r"
- , Space
- , Str "\""
- , Space
- , Str "aw"
- , Space
- , RawInline
- ( Format "html" ) "tg ' gd"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "bo", Space, Str "**ld" ]
- , Space
- , Emph
- [ Str "it", Space, Str "//al" ]
- , Space
- , Underline
- [ Str "un", Space, Str "__dr" ]
- , Space
- , Strikeout
- [ Str "st", Space, Str "--rk" ]
- , Space
- , Code
- ( "", [], [] ) "mo ``no"
- , Space
- , Str "r"
- , Space
- , Str "\"\"aw"
- , Space
- , RawInline
- ( Format "html" ) "tg ''gd"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "bo", Space, Str "**", Space, Str "ld" ]
- , Space
- , Emph
- [ Str "it", Space, Str "//", Space, Str "al" ]
- , Space
- , Underline
- [ Str "un", Space, Str "__", Space, Str "dr" ]
- , Space
- , Strikeout
- [ Str "st", Space, Str "--", Space, Str "rk" ]
- , Space
- , Code
- ( "", [], [] ) "mo `` no"
- , Space
- , Str "r"
- , Space
- , Str "\"\""
- , Space
- , Str "aw"
- , Space
- , RawInline
- ( Format "html" ) "tg '' gd"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "**bold**" ]
- , Space
- , Emph
- [ Str "//ital//" ]
- , Space
- , Underline
- [ Str "__undr__" ]
- , Space
- , Strikeout
- [ Str "--strk--" ]
- , Space
- , Code
- ( "", [], [] ) "``mono``"
- , Space
- , Str "\"\"raw\"\""
- , Space
- , RawInline
- ( Format "html" ) "''tggd''"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "*bold*" ]
- , Space
- , Emph
- [ Str "/ital/" ]
- , Space
- , Underline
- [ Str "_undr_" ]
- , Space
- , Strikeout
- [ Str "-strk-" ]
- , Space
- , Code
- ( "", [], [] ) "`mono`"
- , Space
- , Str "\"raw\""
- , Space
- , RawInline
- ( Format "html" ) "'tggd'"
- ]
- , Para
- [ Str "i)"
- , Space
- , Strong
- [ Str "*" ]
- , Space
- , Emph
- [ Str "/" ]
- , Space
- , Underline
- [ Str "_" ]
- , Space
- , Strikeout
- [ Str "-" ]
- , Space
- , Code
- ( "", [], [] ) "`"
- , Space
- , Str "\""
- , Space
- , RawInline
- ( Format "html" ) "'"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "**" ]
- , Space
- , Emph
- [ Str "//" ]
- , Space
- , Underline
- [ Str "__" ]
- , Space
- , Strikeout
- [ Str "--" ]
- , Space
- , Code
- ( "", [], [] ) "``"
- , Space
- , Str "\"\""
- , Space
- , RawInline
- ( Format "html" ) "''"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "***" ]
- , Space
- , Emph
- [ Str "///" ]
- , Space
- , Underline
- [ Str "___" ]
- , Space
- , Strikeout
- [ Str "---" ]
- , Space
- , Code
- ( "", [], [] ) "```"
- , Space
- , Str "\"\"\""
- , Space
- , RawInline
- ( Format "html" ) "'''"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "****" ]
- , Space
- , Emph
- [ Str "////" ]
- , Space
- , Underline
- [ Str "____" ]
- , Space
- , Strikeout
- [ Str "----" ]
- , Space
- , Code
- ( "", [], [] ) "````"
- , Space
- , Str "\"\"\"\""
- , Space
- , RawInline
- ( Format "html" ) "''''"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "*****" ]
- , Space
- , Emph
- [ Str "/////" ]
- , Space
- , Underline
- [ Str "_____" ]
- , Space
- , Strikeout
- [ Str "-----" ]
- , Space
- , Code
- ( "", [], [] ) "`````"
- , Space
- , Str "\"\"\"\"\""
- , Space
- , RawInline
- ( Format "html" ) "'''''"
- , SoftBreak
- , Str "i)"
- , Space
- , Strong
- [ Str "******" ]
- , Space
- , Emph
- [ Str "//////" ]
- , Space
- , Underline
- [ Str "______" ]
- , Space
- , Strikeout
- [ Str "------" ]
- , Space
- , Code
- ( "", [], [] ) "``````"
- , Space
- , Str "\"\"\"\"\"\""
- , Space
- , RawInline
- ( Format "html" ) "''''''"
- ]
- , Para
- [ Str "i)"
- , Space
- , Str "****"
- , Space
- , Str "////"
- , Space
- , Str "____"
- , Space
- , Str "----"
- , Space
- , Str "````"
- , Space
- , Str "\"\"\"\""
- , Space
- , Str "''''"
- , SoftBreak
- , Str "i)"
- , Space
- , Str "**"
- , Space
- , Str "**"
- , Space
- , Str "//"
- , Space
- , Str "//"
- , Space
- , Str "__"
- , Space
- , Str "__"
- , Space
- , Str "--"
- , Space
- , Str "--"
- , Space
- , Str "``"
- , Space
- , Str "``"
- , Space
- , Str "\"\""
- , Space
- , Str "\"\""
- , Space
- , Str "''"
- , Space
- , Str "''"
- ]
- , Para
- [ Str "i)"
- , Space
- , Str "**"
- , Space
- , Str "bold**"
- , Space
- , Str "//"
- , Space
- , Str "ital//"
- , Space
- , Str "__"
- , Space
- , Str "undr__"
- , Space
- , Str "--"
- , Space
- , Str "strk--"
- , Space
- , Str "``"
- , Space
- , Str "mono``"
- , Space
- , Str "\"\""
- , Space
- , Str "raw\"\""
- , Space
- , Str "''"
- , Space
- , Str "tggd''"
- , SoftBreak
- , Str "i)"
- , Space
- , Str "**bold"
- , Space
- , Str "**"
- , Space
- , Str "//ital"
- , Space
- , Str "//"
- , Space
- , Str "__undr"
- , Space
- , Str "__"
- , Space
- , Str "--strk"
- , Space
- , Str "--"
- , Space
- , Str "``mono"
- , Space
- , Str "``"
- , Space
- , Str "\"\"raw"
- , Space
- , Str "\"\""
- , Space
- , Str "''tggd"
- , Space
- , Str "''"
- , SoftBreak
- , Str "i)"
- , Space
- , Str "**"
- , Space
- , Str "bold"
- , Space
- , Str "**"
- , Space
- , Str "//"
- , Space
- , Str "ital"
- , Space
- , Str "//"
- , Space
- , Str "__"
- , Space
- , Str "undr"
- , Space
- , Str "__"
- , Space
- , Str "--"
- , Space
- , Str "strk"
- , Space
- , Str "--"
- , Space
- , Str "``"
- , Space
- , Str "mono"
- , Space
- , Str "``"
- , Space
- , Str "\"\""
- , Space
- , Str "raw"
- , Space
- , Str "\"\""
- , Space
- , Str "''"
- , Space
- , Str "tggd"
- , Space
- , Str "''"
- ]
- , Header 1
- ( "link", [], [] )
- [ Str "Link" ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com" ]
- ( "user@domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com" ]
- ( "user@domain.com", "" )
- , Str "."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com" ]
- ( "user@domain.com", "" )
- , Str "."
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Str "any"
- , Space
- , Str "text:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com" ]
- ( "user@domain.com", "" )
- , Str "."
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "label" ]
- ( "user@domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com?subject=bla" ]
- ( "user@domain.com?subject=bla", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com?subject=bla" ]
- ( "user@domain.com?subject=bla", "" )
- , Str "."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com?subject=bla" ]
- ( "user@domain.com?subject=bla", "" )
- , Str ","
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com" ]
- ( "user@domain.com?subject=bla&cc=otheruser@domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com" ]
- ( "user@domain.com?subject=bla&cc=otheruser@domain.com", "" )
- , Str "."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com" ]
- ( "user@domain.com?subject=bla&cc=otheruser@domain.com", "" )
- , Str ","
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "label" ]
- ( "user@domain.com?subject=bla&cc=otheruser@domain.com", "" )
- , Str "."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "label" ]
- ( "user@domain.com?subject=bla&cc=otheruser@domain.com.", "" )
- , Str "."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com" ]
- ( "http://www.domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/" ]
- ( "http://www.domain.com/dir/", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir///" ]
- ( "http://www.domain.com/dir///", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com." ]
- ( "http://www.domain.com.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com," ]
- ( "http://www.domain.com,", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com." ]
- ( "http://www.domain.com.", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com," ]
- ( "http://www.domain.com,", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/." ]
- ( "http://www.domain.com/dir/.", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Str "any"
- , Space
- , Str "text:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com." ]
- ( "http://www.domain.com.", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Str "any"
- , Space
- , Str "text:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/." ]
- ( "http://www.domain.com/dir/.", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Str "any"
- , Space
- , Str "text:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/index.html." ]
- ( "http://www.domain.com/dir/index.html.", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Str "any"
- , Space
- , Str "text:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/index.html," ]
- ( "http://www.domain.com/dir/index.html,", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/#anchor" ]
- ( "http://www.domain.com/dir/#anchor", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/index.html#anchor" ]
- ( "http://www.domain.com/dir/index.html#anchor", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/index.html#anchor." ]
- ( "http://www.domain.com/dir/index.html#anchor.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/#anchor." ]
- ( "http://www.domain.com/dir/#anchor.", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/index.html#anchor." ]
- ( "http://www.domain.com/dir/index.html#anchor.", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Str "any"
- , Space
- , Str "text:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/#anchor." ]
- ( "http://www.domain.com/dir/#anchor.", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Str "any"
- , Space
- , Str "text:"
- , Space
- , Link
- ( "", [], [] )
- [ Str "http://www.domain.com/dir/index.html#anchor." ]
- ( "http://www.domain.com/dir/index.html#anchor.", "" )
- , Space
- , Str "any"
- , Space
- , Str "text."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com?a=a@a.a&b=a+b+c." ]
- ( "http://domain.com?a=a@a.a&b=a+b+c.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com?a=a@a.a&b=a+b+c," ]
- ( "http://domain.com?a=a@a.a&b=a+b+c,", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c." ]
- ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@." ]
- ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com?a=a@a.a&b=a+b+c.#anchor" ]
- ( "http://domain.com?a=a@a.a&b=a+b+c.#anchor", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor" ]
- ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.#anchor" ]
- ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.#anchor", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://user:password@domain.com/bla.html." ]
- ( "http://user:password@domain.com/bla.html.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://user:password@domain.com/dir/." ]
- ( "http://user:password@domain.com/dir/.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://user:password@domain.com." ]
- ( "http://user:password@domain.com.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://user:@domain.com." ]
- ( "http://user:@domain.com.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://user@domain.com." ]
- ( "http://user@domain.com.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor" ]
- ( "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor"
- , ""
- )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c@#anchor" ]
- ( "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c@#anchor"
- , ""
- )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "label" ]
- ( "www.domain.com", "" )
- , SoftBreak
- , Str "["
- , Space
- , Str "label"
- , Space
- , Link
- ( "", [], [] )
- [ Str "www.domain.com" ]
- ( "www.domain.com", "" )
- , Str "]"
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "label", Space ]
- ( "www.domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "anchor", Space ]
- ( "http://www.domain.com/dir/index.html#anchor.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "login", Space ]
- ( "http://user:password@domain.com/bla.html", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "form", Space ]
- ( "http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "form", Space, Str "&", Space, Str "anchor" ]
- ( "http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "login", Space, Str "&", Space, Str "form", Space ]
- ( "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "local", Space, Str "link", Space, Str "up", Space ]
- ( "..", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "local", Space, Str "link", Space, Str "file", Space ]
- ( "bla.html", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "local", Space, Str "link", Space, Str "anchor", Space ]
- ( "#anchor", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "local", Space, Str "link", Space, Str "file/anchor" ]
- ( "bla.html#anchor", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "local", Space, Str "link", Space, Str "file/anchor" ]
- ( "bla.html#anchor.", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "local", Space, Str "link", Space, Str "img", Space ]
- ( "abc.gif", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "www.fake.com" ]
- ( "www.domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm" ]
- ( "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm"
- , ""
- )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-" ]
- ( "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-"
- , ""
- )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_" ]
- ( "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
- , ""
- )
- , Str "-1%."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://foo._user-9:pass!#$%&*()+word@domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_" ]
- ( "http://foo._user-9:pass!#$%&*()+word@domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
- , ""
- )
- , Str "-1%."
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "http://L1.com" ]
- ( "http://L1.com", "" )
- , Space
- , Str "!"
- , Space
- , Link
- ( "", [], [] )
- [ Str "mailto:L2@www.com" ]
- ( "L2@www.com", "" )
- , Space
- , Str "!"
- , Space
- , Link
- ( "", [], [] )
- [ Str "L3" ]
- ( "www.com", "" )
- , Space
- , Str "!"
- , Space
- , Link
- ( "", [], [] )
- [ Str "L4" ]
- ( "w@ww.com", "" )
- , Space
- , Str "!"
- , Space
- , Link
- ( "", [], [] )
- [ Str "www.L5.com" ]
- ( "www.L5.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "www.domain.com" ]
- ( "www.domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "www2.domain.com" ]
- ( "www2.domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "ftp.domain.com" ]
- ( "ftp.domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "WWW.DOMAIN.COM" ]
- ( "WWW.DOMAIN.COM", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "FTP.DOMAIN.COM" ]
- ( "FTP.DOMAIN.COM", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "label" ]
- ( "www.domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "label" ]
- ( "ftp.domain.com", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "label" ]
- ( "WWW.DOMAIN.COM", "" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "label" ]
- ( "FTP.DOMAIN.COM", "" )
- , SoftBreak
- , Str "[label"
- , Space
- , Link
- ( "", [], [] )
- [ Str "www.domain.com" ]
- ( "www.domain.com", "" )
- , Space
- , Str "]"
- , SoftBreak
- , Str "[label]"
- , Space
- , Link
- ( "", [], [] )
- [ Str "www.domain.com" ]
- ( "www.domain.com", "" )
- , Str "]"
- ]
- , Header 1
- ( "image", [], [] )
- [ Str "Image" ]
- , Para
- [ Image ( "", [], [] ) [] ( "img.png", "" ) ]
- , Para
- [ Link
- ( "", [], [] )
- [ Image ( "", [], [] ) [] ( "img.png", "" ) ]
- ( "https://txt2tags.org", "" )
- ]
- , Para
- [ Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , Space
- , Str "Image"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "line"
- , Space
- , Str "beginning."
- ]
- , Para
- [ Str "Image"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "middle"
- , Space
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "line."
- ]
- , Para
- [ Str "Image"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "line"
- , Space
- , Str "end."
- , Space
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- ]
- , Para
- [ Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , SoftBreak
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , SoftBreak
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- ]
- , Para
- [ Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- ]
- , Para
- [ Str "Images"
- , Space
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , Space
- , Str "mixed"
- , Space
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , Space
- , Str "with"
- , Space
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , Space
- , Str "text."
- ]
- , Para
- [ Str "Images"
- , Space
- , Str "glued"
- , Space
- , Str "together:"
- , Space
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , Image
- ( "", [], [] ) []
- ( "img.png", "" )
- , Str "."
- ]
- , Para
- [ Str "[img.png", Space, Str "]" ]
- , Para
- [ Str "[", Space, Str "img.png]" ]
- , Para
- [ Str "[", Space, Str "img.png", Space, Str "]" ]
- , Header 1
- ( "numtitle", [], [] )
- [ Str "Numbered", Space, Str "Title" ]
- , Header 1
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "1" ]
- , Header 2
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "2" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 4
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "4" ]
- , Header 5
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "5" ]
- , Header 1
- ( "lab_el-1", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "1" ]
- , Header 2
- ( "lab_el-2", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "2" ]
- , Header 3
- ( "lab_el-3", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 4
- ( "lab_el-4", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "4" ]
- , Header 5
- ( "lab_el-5", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "5" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "lab_el-9", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Para
- [ Str "+Not", Space, Str "Title" ]
- , Para
- [ Str "++Not", Space, Str "Title+" ]
- , Para
- [ Str "+++Not"
- , Space
- , Str "Title++++"
- , SoftBreak
- , Str "++++++Not"
- , Space
- , Str "Title"
- , Space
- , Str "6++++++"
- ]
- , Para
- [ Str "+++++++Not"
- , Space
- , Str "Title"
- , Space
- , Str "7+++++++"
- , SoftBreak
- , Str "+Not"
- , Space
- , Str "Title+"
- , Space
- , Str "[label1]"
- , SoftBreak
- , Str "+Not"
- , Space
- , Str "Title+["
- , Space
- , Str "label"
- , Space
- , Str "]"
- , SoftBreak
- , Str "+Not"
- , Space
- , Str "Title+[la/bel]"
- ]
- , Header 1
- ( "title", [], [] )
- [ Str "Title" ]
- , Header 1
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "1" ]
- , Header 2
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "2" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 4
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "4" ]
- , Header 5
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "5" ]
- , Header 1
- ( "lab_el-1", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "1" ]
- , Header 2
- ( "lab_el-2", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "2" ]
- , Header 3
- ( "lab_el-3", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 4
- ( "lab_el-4", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "4" ]
- , Header 5
- ( "lab_el-5", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "5" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Header 3
- ( "lab_el-9", [], [] )
- [ Str "Title", Space, Str "Level", Space, Str "3" ]
- , Para
- [ Str "=Not", Space, Str "Title" ]
- , Para
- [ Str "==Not", Space, Str "Title=" ]
- , Para
- [ Str "===Not"
- , Space
- , Str "Title===="
- , SoftBreak
- , Str "======Not"
- , Space
- , Str "Title"
- , Space
- , Str "6======"
- ]
- , Para
- [ Str "=======Not"
- , Space
- , Str "Title"
- , Space
- , Str "7======="
- , SoftBreak
- , Str "=Not"
- , Space
- , Str "Title="
- , Space
- , Str "[label1]"
- , SoftBreak
- , Str "=Not"
- , Space
- , Str "Title=["
- , Space
- , Str "label"
- , Space
- , Str "]"
- , SoftBreak
- , Str "=Not"
- , Space
- , Str "Title=[la/bel]"
- ]
- , Header 1
- ( "quote", [], [] )
- [ Str "Quote" ]
- , BlockQuote
- [ Para
- [ Str "To"
+ [ Str "This"
, Space
- , Str "quote"
+ , Str "document"
+ , Space
+ , Str "describes"
+ , Space
+ , Str "all"
+ , Space
+ , Str "the"
+ , Space
+ , Str "details"
+ , Space
+ , Str "about"
+ , Space
+ , Str "each"
+ , Space
+ , Str "txt2tags"
+ , Space
+ , Str "mark."
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "target"
+ , Space
+ , Str "audience"
+ , Space
+ , Str "are"
+ , Space
+ , Strong [ Str "experienced" ]
+ , Space
+ , Str "users."
+ , Space
+ , Str "You"
+ , Space
+ , Str "may"
+ , Space
+ , Str "find"
+ , Space
+ , Str "it"
+ , SoftBreak
+ , Str "useful"
+ , Space
+ , Str "if"
+ , Space
+ , Str "you"
+ , Space
+ , Str "want"
+ , Space
+ , Str "to"
+ , Space
+ , Str "master"
+ , Space
+ , Str "the"
+ , Space
+ , Str "marks"
+ , Space
+ , Str "or"
+ , Space
+ , Str "solve"
, Space
, Str "a"
, Space
- , Str "paragraph,"
+ , Str "specific"
+ , Space
+ , Str "problem"
+ , SoftBreak
+ , Str "about"
+ , Space
+ , Str "a"
+ , Space
+ , Str "mark."
+ ]
+ , Para
+ [ Str "If"
+ , Space
+ , Str "you"
+ , Space
+ , Str "are"
+ , Space
+ , Str "new"
+ , Space
+ , Str "to"
+ , Space
+ , Str "txt2tags"
+ , Space
+ , Str "or"
, Space
, Str "just"
, Space
- , Str "prefix"
+ , Str "want"
, Space
- , Str "it"
+ , Str "to"
, Space
- , Str "by"
+ , Str "know"
, Space
- , Str "a"
+ , Str "which"
, Space
- , Str "TAB"
+ , Str "are"
+ , Space
+ , Str "the"
, SoftBreak
- , Str "character."
+ , Str "available"
+ , Space
+ , Str "marks,"
+ , Space
+ , Str "please"
+ , Space
+ , Str "read"
+ , Space
+ , Str "the"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "Markup" , Space , Str "Demo" ]
+ ( "MARKUPDEMO" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Note"
+ , Space
+ , Str "1:"
+ , Space
+ , Str "This"
+ , Space
+ , Str "document"
+ , Space
+ , Str "is"
+ , Space
+ , Str "generated"
+ , Space
+ , Str "directly"
+ , Space
+ , Str "from"
+ , Space
+ , Str "the"
+ , Space
+ , Str "txt2tags"
+ , SoftBreak
+ , Str "test-suite."
, Space
, Str "All"
, Space
, Str "the"
, Space
- , Str "lines"
+ , Str "rules"
, Space
- , Str "of"
+ , Str "mentioned"
, Space
- , Str "the"
- , Space
- , Str "paragraph"
- , Space
- , Str "must"
- , SoftBreak
- , Str "begin"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "TAB."
- ]
- ]
- , Para
- [ Str "Any"
- , Space
- , Str "non-tabbed"
- , Space
- , Str "line"
- , Space
- , Str "closes"
- , Space
- , Str "the"
- , Space
- , Str "quote"
- , Space
- , Str "block."
- ]
- , BlockQuote
- [ Para
- [ Str "The"
- , Space
- , Str "number"
- , Space
- , Str "of"
- , Space
- , Str "leading"
- , Space
- , Str "TABs"
- , Space
- , Str "identifies"
- , Space
- , Str "the"
- , Space
- , Str "quote"
- , SoftBreak
- , Str "block"
- , Space
- , Str "depth."
- , Space
- , Str "This"
- , Space
- , Str "is"
- , Space
- , Str "quote"
- , Space
- , Str "level"
- , Space
- , Str "1."
- ]
- , BlockQuote
- [ Para
- [ Str "With"
- , Space
- , Str "two"
- , Space
- , Str "TABs,"
- , Space
- , Str "we"
- , Space
- , Str "are"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "quote"
- , SoftBreak
- , Str "level"
- , Space
- , Str "2."
- ]
- , BlockQuote
- [ Para
- [ Str "The"
- , Space
- , Str "more"
- , Space
- , Str "TABs,"
- , Space
- , Str "more"
- , Space
- , Str "deep"
- , Space
- , Str "is"
- , SoftBreak
- , Str "the"
- , Space
- , Str "quote"
- , Space
- , Str "level."
- ]
- , BlockQuote
- [ Para
- [ Str "There"
- , Space
- , Str "isn't"
- , Space
- , Str "a"
- , Space
- , Str "limit."
- ]
- ]
- ]
- ]
- ]
- , BlockQuote
- [ BlockQuote
- [ BlockQuote
- [ BlockQuote
- [ Para
- [ Str "This"
- , Space
- , Str "quote"
- , Space
- , Str "starts"
- , Space
- , Str "at"
- , SoftBreak
- , Str "level"
- , Space
- , Str "4."
- ]
- ]
- , Para
- [ Str "Then"
- , Space
- , Str "its"
- , Space
- , Str "depth"
- , Space
- , Str "is"
- , Space
- , Str "decreased."
- ]
- ]
- , Para
- [ Str "Counting"
- , Space
- , Str "down,"
- , Space
- , Str "one"
- , Space
- , Str "by"
- , Space
- , Str "one."
- ]
- ]
- , Para
- [ Str "Until"
- , Space
- , Str "the"
- , Space
- , Str "level"
- , Space
- , Str "1."
- ]
- ]
- , BlockQuote
- [ BlockQuote
- [ BlockQuote
- [ Para
- [ Str "Unlike"
- , Space
- , Str "lists,"
- , Space
- , Str "any"
- , Space
- , Str "quote"
- , Space
- , Str "block"
- , Space
- , Str "is"
- , SoftBreak
- , Str "independent,"
- , Space
- , Str "not"
- , Space
- , Str "part"
- , Space
- , Str "of"
- , Space
- , Str "a"
- , Space
- , Str "tree."
- ]
- ]
- ]
- , Para
- [ Str "The"
- , Space
- , Str "TAB"
- , Space
- , Str "count"
- , Space
- , Str "don't"
- , Space
- , Str "need"
- , Space
- , Str "to"
- , Space
- , Str "be"
- , Space
- , Str "incremental"
- , SoftBreak
- , Str "by"
- , Space
- , Str "one."
- ]
- , BlockQuote
- [ BlockQuote
- [ BlockQuote
- [ Para
- [ Str "The"
- , Space
- , Str "nesting"
- , Space
- , Str "don't"
- , Space
- , Str "need"
- , SoftBreak
- , Str "to"
- , Space
- , Str "follow"
- , Space
- , Str "any"
- , Space
- , Str "rule."
- ]
- ]
- ]
- , Para
- [ Str "Quotes"
- , Space
- , Str "can"
- , Space
- , Str "be"
- , Space
- , Str "opened"
- , Space
- , Str "and"
- , Space
- , Str "closed"
- , SoftBreak
- , Str "in"
- , Space
- , Str "any"
- , Space
- , Str "way."
- ]
- , BlockQuote
- [ BlockQuote
- [ BlockQuote [ Para [ Str "You", Space, Str "choose." ] ] ]
- ]
- ]
- ]
- , BlockQuote
- [ Para
- [ Str "Some"
- , Space
- , Str "targets"
- , Space
- , Str "(as"
- , Space
- , Str "sgml)"
- , Space
- , Str "don't"
- , Space
- , Str "support"
- , Space
- , Str "the"
- , SoftBreak
- , Str "nesting"
- , Space
- , Str "of"
- , Space
- , Str "quotes."
- , Space
- , Str "There"
- , Space
- , Str "is"
- , Space
- , Str "only"
- , Space
- , Str "one"
- , Space
- , Str "quote"
- , SoftBreak
- , Str "level."
- ]
- , BlockQuote
- [ Para
- [ Str "In"
- , Space
- , Str "this"
- , Space
- , Str "case,"
- , Space
- , Str "no"
- , Space
- , Str "matter"
- , Space
- , Str "how"
- , Space
- , Str "much"
- , SoftBreak
- , Str "TABs"
- , Space
- , Str "are"
- , Space
- , Str "used"
- , Space
- , Str "to"
- , Space
- , Str "define"
- , Space
- , Str "the"
- , Space
- , Str "quote"
- , SoftBreak
- , Str "block,"
- , Space
- , Str "it"
- , Space
- , Str "always"
- , Space
- , Str "will"
- , Space
- , Str "be"
- , Space
- , Str "level"
- , Space
- , Str "1."
- ]
- ]
- ]
- , BlockQuote
- [ Para
- [ Str "Spaces"
- , Space
- , Str "AFTER"
- , Space
- , Str "the"
- , Space
- , Str "TAB"
- , Space
- , Str "character"
+ , Str "here"
, Space
, Str "are"
, Space
- , Str "allowed."
+ , Str "100%"
+ , Space
+ , Str "in"
+ , Space
+ , Str "sync"
+ , Space
+ , Str "with"
+ , Space
+ , Str "the"
, SoftBreak
- , Str "But"
+ , Str "current"
, Space
- , Str "be"
+ , Str "program"
, Space
- , Str "careful,"
+ , Str "code."
+ ]
+ , Para
+ [ Str "Note"
, Space
- , Str "it"
+ , Str "2:"
+ , Space
+ , Str "A"
+ , Space
+ , Str "good"
+ , Space
+ , Str "practice"
+ , Space
+ , Str "is"
+ , Space
+ , Str "to"
+ , Space
+ , Str "consult"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "the" , Space , Str "sources" ]
+ ( "rules.t2t" , "" )
+ , Space
+ , Str "when"
+ , SoftBreak
+ , Str "reading,"
+ , Space
+ , Str "to"
+ , Space
+ , Str "see"
+ , Space
+ , Str "how"
+ , Space
+ , Str "the"
+ , Space
+ , Str "texts"
+ , Space
+ , Str "were"
+ , Space
+ , Str "made."
+ ]
+ , Para
+ [ Str "Table" , Space , Str "of" , Space , Str "Contents:" ]
+ , HorizontalRule
+ , Header 1 ( "paragraph" , [] , [] ) [ Str "Paragraph" ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "is"
+ , Space
+ , Str "composed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "one"
+ , Space
+ , Str "or"
+ , Space
+ , Str "more"
+ , Space
+ , Str "lines."
+ , SoftBreak
+ , Str "A"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "(or"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table,"
+ , Space
+ , Str "or"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list)"
+ , Space
+ , Str "ends"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "current"
+ , Space
+ , Str "paragraph."
+ ]
+ , Para
+ [ Str "Leading"
+ , Space
+ , Str "and"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "are"
+ , Space
+ , Str "ignored."
+ ]
+ , Para
+ [ Str "A"
+ , Space
+ , Str "comment"
+ , Space
+ , Str "line"
, Space
, Str "can"
, Space
, Str "be"
, Space
- , Str "confusing."
- ]
- ]
- , Para
- [ Str "Spaces"
- , Space
- , Str "BEFORE"
- , Space
- , Str "the"
- , Space
- , Str "TAB"
- , Space
- , Str "character"
- , SoftBreak
- , Str "invalidate"
- , Space
- , Str "the"
- , Space
- , Str "mark."
- , Space
- , Str "It's"
- , Space
- , Str "not"
- , Space
- , Str "quote."
- ]
- , BlockQuote
- [ Para
- [ Str "Paragraph"
- , Space
- , Str "breaks"
+ , Str "placed"
, Space
, Str "inside"
, Space
, Str "a"
, Space
- , Str "quote"
- , Space
- , Str "aren't"
+ , Str "paragraph."
, SoftBreak
- , Str "possible."
- ]
- , Para
- [ Str "This"
+ , Str "It"
, Space
- , Str "sample"
- , Space
- , Str "are"
- , Space
- , Str "two"
- , Space
- , Str "separated"
- , Space
- , Str "quoted"
- , SoftBreak
- , Str "paragraphs,"
+ , Str "will"
, Space
, Str "not"
, Space
- , Str "a"
+ , Str "affect"
, Space
- , Str "quote"
- , Space
- , Str "block"
- , Space
- , Str "with"
- , SoftBreak
- , Str "two"
- , Space
- , Str "paragraphs"
- , Space
- , Str "inside."
+ , Str "it."
]
- ]
- , BlockQuote
- [ Para
+ , Para
[ Str "The"
, Space
, Str "end"
@@ -2259,1004 +337,2821 @@ Pandoc
, Space
, Str "open"
, Space
+ , Str "paragraph."
+ ]
+ , Header 1 ( "comment" , [] , [] ) [ Str "Comment" ]
+ , Para
+ [ Str "%"
+ , Space
+ , Str "not"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "beginning"
+ , Space
+ , Str "(at"
+ , Space
+ , Str "column"
+ , Space
+ , Str "2)"
+ ]
+ , Para
+ [ Str "some"
+ , Space
+ , Str "text"
+ , Space
+ , Str "%"
+ , Space
+ , Str "half"
+ , Space
+ , Str "line"
+ , Space
+ , Str "comments"
+ , Space
+ , Str "are"
+ , Space
+ , Str "not"
+ , Space
+ , Str "allowed"
+ ]
+ , Header 1 ( "line" , [] , [] ) [ Str "Line" ]
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , HorizontalRule
+ , Para
+ [ Strikeout [ Str "-----" ]
+ , SoftBreak
+ , Strikeout [ Str "-------" , Space , Str "--------" ]
+ ]
+ , Para [ Strikeout [ Str "-------+--------" ] ]
+ , Para
+ [ Str "("
+ , Space
+ , Strikeout [ Str "----------------" ]
+ , Space
+ , Str ")"
+ ]
+ , Header 1 ( "inline" , [] , [] ) [ Str "Inline" ]
+ , Para
+ [ Str "i)"
+ , Space
+ , Strong [ Str "b" ]
+ , Space
+ , Emph [ Str "i" ]
+ , Space
+ , Underline [ Str "u" ]
+ , Space
+ , Strikeout [ Str "s" ]
+ , Space
+ , Code ( "" , [] , [] ) "m"
+ , Space
+ , Str "r"
+ , Space
+ , RawInline (Format "html") "t"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" ]
+ , Space
+ , Emph [ Str "it" ]
+ , Space
+ , Underline [ Str "un" ]
+ , Space
+ , Strikeout [ Str "st" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo"
+ , Space
+ , Str "ra"
+ , Space
+ , RawInline (Format "html") "tg"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bold" ]
+ , Space
+ , Emph [ Str "ital" ]
+ , Space
+ , Underline [ Str "undr" ]
+ , Space
+ , Strikeout [ Str "strk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mono"
+ , Space
+ , Str "raw"
+ , Space
+ , RawInline (Format "html") "tggd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" , Space , Str "ld" ]
+ , Space
+ , Emph [ Str "it" , Space , Str "al" ]
+ , Space
+ , Underline [ Str "un" , Space , Str "dr" ]
+ , Space
+ , Strikeout [ Str "st" , Space , Str "rk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo no"
+ , Space
+ , Str "r"
+ , Space
+ , Str "aw"
+ , Space
+ , RawInline (Format "html") "tg gd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" , Space , Str "*" , Space , Str "ld" ]
+ , Space
+ , Emph [ Str "it" , Space , Str "/" , Space , Str "al" ]
+ , Space
+ , Underline
+ [ Str "un" , Space , Str "_" , Space , Str "dr" ]
+ , Space
+ , Strikeout
+ [ Str "st" , Space , Str "-" , Space , Str "rk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo ` no"
+ , Space
+ , Str "r"
+ , Space
+ , Str "\""
+ , Space
+ , Str "aw"
+ , Space
+ , RawInline (Format "html") "tg ' gd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" , Space , Str "**ld" ]
+ , Space
+ , Emph [ Str "it" , Space , Str "//al" ]
+ , Space
+ , Underline [ Str "un" , Space , Str "__dr" ]
+ , Space
+ , Strikeout [ Str "st" , Space , Str "--rk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo ``no"
+ , Space
+ , Str "r"
+ , Space
+ , Str "\"\"aw"
+ , Space
+ , RawInline (Format "html") "tg ''gd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "bo" , Space , Str "**" , Space , Str "ld" ]
+ , Space
+ , Emph [ Str "it" , Space , Str "//" , Space , Str "al" ]
+ , Space
+ , Underline
+ [ Str "un" , Space , Str "__" , Space , Str "dr" ]
+ , Space
+ , Strikeout
+ [ Str "st" , Space , Str "--" , Space , Str "rk" ]
+ , Space
+ , Code ( "" , [] , [] ) "mo `` no"
+ , Space
+ , Str "r"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "aw"
+ , Space
+ , RawInline (Format "html") "tg '' gd"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "**bold**" ]
+ , Space
+ , Emph [ Str "//ital//" ]
+ , Space
+ , Underline [ Str "__undr__" ]
+ , Space
+ , Strikeout [ Str "--strk--" ]
+ , Space
+ , Code ( "" , [] , [] ) "``mono``"
+ , Space
+ , Str "\"\"raw\"\""
+ , Space
+ , RawInline (Format "html") "''tggd''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "*bold*" ]
+ , Space
+ , Emph [ Str "/ital/" ]
+ , Space
+ , Underline [ Str "_undr_" ]
+ , Space
+ , Strikeout [ Str "-strk-" ]
+ , Space
+ , Code ( "" , [] , [] ) "`mono`"
+ , Space
+ , Str "\"raw\""
+ , Space
+ , RawInline (Format "html") "'tggd'"
+ ]
+ , Para
+ [ Str "i)"
+ , Space
+ , Strong [ Str "*" ]
+ , Space
+ , Emph [ Str "/" ]
+ , Space
+ , Underline [ Str "_" ]
+ , Space
+ , Strikeout [ Str "-" ]
+ , Space
+ , Code ( "" , [] , [] ) "`"
+ , Space
+ , Str "\""
+ , Space
+ , RawInline (Format "html") "'"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "**" ]
+ , Space
+ , Emph [ Str "//" ]
+ , Space
+ , Underline [ Str "__" ]
+ , Space
+ , Strikeout [ Str "--" ]
+ , Space
+ , Code ( "" , [] , [] ) "``"
+ , Space
+ , Str "\"\""
+ , Space
+ , RawInline (Format "html") "''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "***" ]
+ , Space
+ , Emph [ Str "///" ]
+ , Space
+ , Underline [ Str "___" ]
+ , Space
+ , Strikeout [ Str "---" ]
+ , Space
+ , Code ( "" , [] , [] ) "```"
+ , Space
+ , Str "\"\"\""
+ , Space
+ , RawInline (Format "html") "'''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "****" ]
+ , Space
+ , Emph [ Str "////" ]
+ , Space
+ , Underline [ Str "____" ]
+ , Space
+ , Strikeout [ Str "----" ]
+ , Space
+ , Code ( "" , [] , [] ) "````"
+ , Space
+ , Str "\"\"\"\""
+ , Space
+ , RawInline (Format "html") "''''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "*****" ]
+ , Space
+ , Emph [ Str "/////" ]
+ , Space
+ , Underline [ Str "_____" ]
+ , Space
+ , Strikeout [ Str "-----" ]
+ , Space
+ , Code ( "" , [] , [] ) "`````"
+ , Space
+ , Str "\"\"\"\"\""
+ , Space
+ , RawInline (Format "html") "'''''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Strong [ Str "******" ]
+ , Space
+ , Emph [ Str "//////" ]
+ , Space
+ , Underline [ Str "______" ]
+ , Space
+ , Strikeout [ Str "------" ]
+ , Space
+ , Code ( "" , [] , [] ) "``````"
+ , Space
+ , Str "\"\"\"\"\"\""
+ , Space
+ , RawInline (Format "html") "''''''"
+ ]
+ , Para
+ [ Str "i)"
+ , Space
+ , Str "****"
+ , Space
+ , Str "////"
+ , Space
+ , Str "____"
+ , Space
+ , Str "----"
+ , Space
+ , Str "````"
+ , Space
+ , Str "\"\"\"\""
+ , Space
+ , Str "''''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Str "**"
+ , Space
+ , Str "**"
+ , Space
+ , Str "//"
+ , Space
+ , Str "//"
+ , Space
+ , Str "__"
+ , Space
+ , Str "__"
+ , Space
+ , Str "--"
+ , Space
+ , Str "--"
+ , Space
+ , Str "``"
+ , Space
+ , Str "``"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "''"
+ , Space
+ , Str "''"
+ ]
+ , Para
+ [ Str "i)"
+ , Space
+ , Str "**"
+ , Space
+ , Str "bold**"
+ , Space
+ , Str "//"
+ , Space
+ , Str "ital//"
+ , Space
+ , Str "__"
+ , Space
+ , Str "undr__"
+ , Space
+ , Str "--"
+ , Space
+ , Str "strk--"
+ , Space
+ , Str "``"
+ , Space
+ , Str "mono``"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "raw\"\""
+ , Space
+ , Str "''"
+ , Space
+ , Str "tggd''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Str "**bold"
+ , Space
+ , Str "**"
+ , Space
+ , Str "//ital"
+ , Space
+ , Str "//"
+ , Space
+ , Str "__undr"
+ , Space
+ , Str "__"
+ , Space
+ , Str "--strk"
+ , Space
+ , Str "--"
+ , Space
+ , Str "``mono"
+ , Space
+ , Str "``"
+ , Space
+ , Str "\"\"raw"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "''tggd"
+ , Space
+ , Str "''"
+ , SoftBreak
+ , Str "i)"
+ , Space
+ , Str "**"
+ , Space
+ , Str "bold"
+ , Space
+ , Str "**"
+ , Space
+ , Str "//"
+ , Space
+ , Str "ital"
+ , Space
+ , Str "//"
+ , Space
+ , Str "__"
+ , Space
+ , Str "undr"
+ , Space
+ , Str "__"
+ , Space
+ , Str "--"
+ , Space
+ , Str "strk"
+ , Space
+ , Str "--"
+ , Space
+ , Str "``"
+ , Space
+ , Str "mono"
+ , Space
+ , Str "``"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "raw"
+ , Space
+ , Str "\"\""
+ , Space
+ , Str "''"
+ , Space
+ , Str "tggd"
+ , Space
+ , Str "''"
+ ]
+ , Header 1 ( "link" , [] , [] ) [ Str "Link" ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com" ]
+ ( "user@domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com" ]
+ ( "user@domain.com" , "" )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com" ]
+ ( "user@domain.com" , "" )
+ , Str "."
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com" ]
+ ( "user@domain.com" , "" )
+ , Str "."
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "user@domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com?subject=bla" ]
+ ( "user@domain.com?subject=bla" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com?subject=bla" ]
+ ( "user@domain.com?subject=bla" , "" )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:user@domain.com?subject=bla" ]
+ ( "user@domain.com?subject=bla" , "" )
+ , Str ","
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com"
+ ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com"
+ ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com"
+ , ""
+ )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "mailto:user@domain.com?subject=bla&cc=otheruser@domain.com"
+ ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com"
+ , ""
+ )
+ , Str ","
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "label" ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com"
+ , ""
+ )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "label" ]
+ ( "user@domain.com?subject=bla&cc=otheruser@domain.com."
+ , ""
+ )
+ , Str "."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com" ]
+ ( "http://www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/" ]
+ ( "http://www.domain.com/dir/" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir///" ]
+ ( "http://www.domain.com/dir///" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com." ]
+ ( "http://www.domain.com." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com," ]
+ ( "http://www.domain.com," , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com." ]
+ ( "http://www.domain.com." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com," ]
+ ( "http://www.domain.com," , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/." ]
+ ( "http://www.domain.com/dir/." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com." ]
+ ( "http://www.domain.com." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/." ]
+ ( "http://www.domain.com/dir/." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html." ]
+ ( "http://www.domain.com/dir/index.html." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html," ]
+ ( "http://www.domain.com/dir/index.html," , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/#anchor" ]
+ ( "http://www.domain.com/dir/#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html#anchor" ]
+ ( "http://www.domain.com/dir/index.html#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html#anchor." ]
+ ( "http://www.domain.com/dir/index.html#anchor." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/#anchor." ]
+ ( "http://www.domain.com/dir/#anchor." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html#anchor." ]
+ ( "http://www.domain.com/dir/index.html#anchor." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/#anchor." ]
+ ( "http://www.domain.com/dir/#anchor." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Str "any"
+ , Space
+ , Str "text:"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://www.domain.com/dir/index.html#anchor." ]
+ ( "http://www.domain.com/dir/index.html#anchor." , "" )
+ , Space
+ , Str "any"
+ , Space
+ , Str "text."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com?a=a@a.a&b=a+b+c." ]
+ ( "http://domain.com?a=a@a.a&b=a+b+c." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com?a=a@a.a&b=a+b+c," ]
+ ( "http://domain.com?a=a@a.a&b=a+b+c," , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c." ]
+ ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@." ]
+ ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com?a=a@a.a&b=a+b+c.#anchor" ]
+ ( "http://domain.com?a=a@a.a&b=a+b+c.#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor" ]
+ ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.#anchor" ]
+ ( "http://domain.com/bla.cgi?a=a@a.a&b=a+b+c@.#anchor"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user:password@domain.com/bla.html." ]
+ ( "http://user:password@domain.com/bla.html." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user:password@domain.com/dir/." ]
+ ( "http://user:password@domain.com/dir/." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user:password@domain.com." ]
+ ( "http://user:password@domain.com." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user:@domain.com." ]
+ ( "http://user:@domain.com." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://user@domain.com." ]
+ ( "http://user@domain.com." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor"
+ ]
+ ( "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c@#anchor"
+ ]
+ ( "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c@#anchor"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "www.domain.com" , "" )
+ , SoftBreak
+ , Str "["
+ , Space
+ , Str "label"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.domain.com" ]
+ ( "www.domain.com" , "" )
+ , Str "]"
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "label" , Space ]
+ ( "www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "anchor" , Space ]
+ ( "http://www.domain.com/dir/index.html#anchor." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "login" , Space ]
+ ( "http://user:password@domain.com/bla.html" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "form" , Space ]
+ ( "http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "form" , Space , Str "&" , Space , Str "anchor" ]
+ ( "http://www.domain.com/bla.cgi?a=a@a.a&b=a+b+c.#anchor"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "login"
+ , Space
+ , Str "&"
+ , Space
+ , Str "form"
+ , Space
+ ]
+ ( "http://user:password@domain.com/bla.cgi?a=a@a.a&b=a+b+c."
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "up"
+ , Space
+ ]
+ ( ".." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "file"
+ , Space
+ ]
+ ( "bla.html" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "anchor"
+ , Space
+ ]
+ ( "#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "file/anchor"
+ ]
+ ( "bla.html#anchor" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "file/anchor"
+ ]
+ ( "bla.html#anchor." , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "local"
+ , Space
+ , Str "link"
+ , Space
+ , Str "img"
+ , Space
+ ]
+ ( "abc.gif" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.fake.com" ]
+ ( "www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm"
+ ]
+ ( "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-"
+ ]
+ ( "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-"
+ , ""
+ )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
+ ]
+ ( "http://domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
+ , ""
+ )
+ , Str "-1%."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str
+ "http://foo._user-9:pass!#$%&*()+word@domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
+ ]
+ ( "http://foo._user-9:pass!#$%&*()+word@domain.com:8080/~user/_st-r@a=n$g,e/index%20new.htm?a=/%22&b=+.@*_-#anchor_"
+ , ""
+ )
+ , Str "-1%."
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "http://L1.com" ]
+ ( "http://L1.com" , "" )
+ , Space
+ , Str "!"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "mailto:L2@www.com" ]
+ ( "L2@www.com" , "" )
+ , Space
+ , Str "!"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "L3" ] ( "www.com" , "" )
+ , Space
+ , Str "!"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "L4" ] ( "w@ww.com" , "" )
+ , Space
+ , Str "!"
+ , Space
+ , Link
+ ( "" , [] , [] ) [ Str "www.L5.com" ] ( "www.L5.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.domain.com" ]
+ ( "www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "www2.domain.com" ]
+ ( "www2.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "ftp.domain.com" ]
+ ( "ftp.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "WWW.DOMAIN.COM" ]
+ ( "WWW.DOMAIN.COM" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "FTP.DOMAIN.COM" ]
+ ( "FTP.DOMAIN.COM" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "www.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "ftp.domain.com" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "WWW.DOMAIN.COM" , "" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] ) [ Str "label" ] ( "FTP.DOMAIN.COM" , "" )
+ , SoftBreak
+ , Str "[label"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.domain.com" ]
+ ( "www.domain.com" , "" )
+ , Space
+ , Str "]"
+ , SoftBreak
+ , Str "[label]"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "www.domain.com" ]
+ ( "www.domain.com" , "" )
+ , Str "]"
+ ]
+ , Header 1 ( "image" , [] , [] ) [ Str "Image" ]
+ , Para [ Image ( "" , [] , [] ) [] ( "img.png" , "" ) ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Image ( "" , [] , [] ) [] ( "img.png" , "" ) ]
+ ( "https://txt2tags.org" , "" )
+ ]
+ , Para
+ [ Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "Image"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "beginning."
+ ]
+ , Para
+ [ Str "Image"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "middle"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line."
+ ]
+ , Para
+ [ Str "Image"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "end."
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ ]
+ , Para
+ [ Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , SoftBreak
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , SoftBreak
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ ]
+ , Para
+ [ Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ ]
+ , Para
+ [ Str "Images"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "mixed"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "with"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Space
+ , Str "text."
+ ]
+ , Para
+ [ Str "Images"
+ , Space
+ , Str "glued"
+ , Space
+ , Str "together:"
+ , Space
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Image ( "" , [] , [] ) [] ( "img.png" , "" )
+ , Str "."
+ ]
+ , Para [ Str "[img.png" , Space , Str "]" ]
+ , Para [ Str "[" , Space , Str "img.png]" ]
+ , Para [ Str "[" , Space , Str "img.png" , Space , Str "]" ]
+ , Header
+ 1
+ ( "numtitle" , [] , [] )
+ [ Str "Numbered" , Space , Str "Title" ]
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "2" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "4" ]
+ , Header
+ 5
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "5" ]
+ , Header
+ 1
+ ( "lab_el-1" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "lab_el-2" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "2" ]
+ , Header
+ 3
+ ( "lab_el-3" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "lab_el-4" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "4" ]
+ , Header
+ 5
+ ( "lab_el-5" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "5" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "lab_el-9" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Para [ Str "+Not" , Space , Str "Title" ]
+ , Para [ Str "++Not" , Space , Str "Title+" ]
+ , Para
+ [ Str "+++Not"
+ , Space
+ , Str "Title++++"
+ , SoftBreak
+ , Str "++++++Not"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "6++++++"
+ ]
+ , Para
+ [ Str "+++++++Not"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "7+++++++"
+ , SoftBreak
+ , Str "+Not"
+ , Space
+ , Str "Title+"
+ , Space
+ , Str "[label1]"
+ , SoftBreak
+ , Str "+Not"
+ , Space
+ , Str "Title+["
+ , Space
+ , Str "label"
+ , Space
+ , Str "]"
+ , SoftBreak
+ , Str "+Not"
+ , Space
+ , Str "Title+[la/bel]"
+ ]
+ , Header 1 ( "title" , [] , [] ) [ Str "Title" ]
+ , Header
+ 1
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "2" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "4" ]
+ , Header
+ 5
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "5" ]
+ , Header
+ 1
+ ( "lab_el-1" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "lab_el-2" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "2" ]
+ , Header
+ 3
+ ( "lab_el-3" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 4
+ ( "lab_el-4" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "4" ]
+ , Header
+ 5
+ ( "lab_el-5" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "5" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Header
+ 3
+ ( "lab_el-9" , [] , [] )
+ [ Str "Title" , Space , Str "Level" , Space , Str "3" ]
+ , Para [ Str "=Not" , Space , Str "Title" ]
+ , Para [ Str "==Not" , Space , Str "Title=" ]
+ , Para
+ [ Str "===Not"
+ , Space
+ , Str "Title===="
+ , SoftBreak
+ , Str "======Not"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "6======"
+ ]
+ , Para
+ [ Str "=======Not"
+ , Space
+ , Str "Title"
+ , Space
+ , Str "7======="
+ , SoftBreak
+ , Str "=Not"
+ , Space
+ , Str "Title="
+ , Space
+ , Str "[label1]"
+ , SoftBreak
+ , Str "=Not"
+ , Space
+ , Str "Title=["
+ , Space
+ , Str "label"
+ , Space
+ , Str "]"
+ , SoftBreak
+ , Str "=Not"
+ , Space
+ , Str "Title=[la/bel]"
+ ]
+ , Header 1 ( "quote" , [] , [] ) [ Str "Quote" ]
+ , BlockQuote
+ [ Para
+ [ Str "To"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "a"
+ , Space
+ , Str "paragraph,"
+ , Space
+ , Str "just"
+ , Space
+ , Str "prefix"
+ , Space
+ , Str "it"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "TAB"
+ , SoftBreak
+ , Str "character."
+ , Space
+ , Str "All"
+ , Space
+ , Str "the"
+ , Space
+ , Str "lines"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "paragraph"
+ , Space
+ , Str "must"
+ , SoftBreak
+ , Str "begin"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "TAB."
+ ]
+ ]
+ , Para
+ [ Str "Any"
+ , Space
+ , Str "non-tabbed"
+ , Space
+ , Str "line"
+ , Space
+ , Str "closes"
+ , Space
+ , Str "the"
+ , Space
, Str "quote"
, Space
, Str "block."
]
- ]
- , Header 1
- ( "raw", [], [] )
- [ Str "Raw" ]
- , Para
- [ Str "A raw line.\n" ]
- , Para
- [ Str " Another raw line, with leading spaces.\n" ]
- , Para
- [ Str "A raw area delimited\n by lines with marks.\n" ]
- , Para
- [ Str "Trailing spaces and TABs after the area marks\nare allowed, but not encouraged nor documented.\n" ]
- , Para
- [ Str "\"\"\"Not"
- , Space
- , Str "a"
- , Space
- , Str "raw"
- , Space
- , Str "line,"
- , Space
- , Str "need"
- , Space
- , Str "one"
- , Space
- , Str "space"
- , Space
- , Str "after"
- , Space
- , Str "mark."
- ]
- , Para
- [ Str "\"\"\""
- , SoftBreak
- , Str "Not"
- , Space
- , Str "a"
- , Space
- , Str "raw"
- , Space
- , Str "area."
- , SoftBreak
- , Str "The"
- , Space
- , Str "marks"
- , Space
- , Str "must"
- , Space
- , Str "be"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "line"
- , Space
- , Str "beginning,"
- , SoftBreak
- , Str "no"
- , Space
- , Str "leading"
- , Space
- , Str "spaces."
- , SoftBreak
- , Str "\"\"\""
- ]
- , Para
- [ Str "The end of the file (EOF) closes\nthe currently open raw area.\n" ]
- , Header 1
- ( "verbatim", [], [] )
- [ Str "Verbatim" ]
- , CodeBlock
- ( "", [], [] ) "A verbatim line.\n"
- , CodeBlock
- ( "", [], [] ) " Another verbatim line, with leading spaces.\n"
- , CodeBlock
- ( ""
- , []
- , []
- ) "A verbatim area delimited\n by lines with marks.\n"
- , CodeBlock
- ( ""
- , []
- , []
- ) "Trailing spaces and TABs after the area marks\nare allowed, but not encouraged nor documented.\n"
- , Para
- [ Str "```Not"
- , Space
- , Str "a"
- , Space
- , Str "verbatim"
- , Space
- , Str "line,"
- , Space
- , Str "need"
- , Space
- , Str "one"
- , Space
- , Str "space"
- , Space
- , Str "after"
- , Space
- , Str "mark."
- ]
- , Para
- [ Str "```"
- , SoftBreak
- , Str "Not"
- , Space
- , Str "a"
- , Space
- , Str "verbatim"
- , Space
- , Str "area."
- , SoftBreak
- , Str "The"
- , Space
- , Str "marks"
- , Space
- , Str "must"
- , Space
- , Str "be"
- , Space
- , Str "at"
- , Space
- , Str "the"
- , Space
- , Str "line"
- , Space
- , Str "beginning,"
- , SoftBreak
- , Str "no"
- , Space
- , Str "leading"
- , Space
- , Str "spaces."
- , SoftBreak
- , Str "```"
- ]
- , CodeBlock
- ( ""
- , []
- , []
- ) "The end of the file (EOF) closes\nthe currently open verbatim area.\n"
- , Header 1
- ( "deflist", [], [] )
- [ Str "Definition", Space, Str "List" ]
- , DefinitionList
- [
- (
- [ Str "Definition", Space, Str "list" ]
- ,
- [
- [ Plain
- [ Str "A"
- , Space
- , Str "list"
- , Space
- , Str "with"
- , Space
- , Str "terms"
- ]
+ , BlockQuote
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "number"
+ , Space
+ , Str "of"
+ , Space
+ , Str "leading"
+ , Space
+ , Str "TABs"
+ , Space
+ , Str "identifies"
+ , Space
+ , Str "the"
+ , Space
+ , Str "quote"
+ , SoftBreak
+ , Str "block"
+ , Space
+ , Str "depth."
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "level"
+ , Space
+ , Str "1."
]
- ]
- )
- ,
- (
- [ Str "Start"
- , Space
- , Str "term"
- , Space
- , Str "with"
- , Space
- , Str "colon"
- ]
- ,
- [
- [ Plain
- [ Str "And"
- , Space
- , Str "its"
- , Space
- , Str "definition"
- , Space
- , Str "follows"
- ]
+ , BlockQuote
+ [ Para
+ [ Str "With"
+ , Space
+ , Str "two"
+ , Space
+ , Str "TABs,"
+ , Space
+ , Str "we"
+ , Space
+ , Str "are"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "quote"
+ , SoftBreak
+ , Str "level"
+ , Space
+ , Str "2."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "more"
+ , Space
+ , Str "TABs,"
+ , Space
+ , Str "more"
+ , Space
+ , Str "deep"
+ , Space
+ , Str "is"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "level."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "There"
+ , Space
+ , Str "isn't"
+ , Space
+ , Str "a"
+ , Space
+ , Str "limit."
+ ]
+ ]
+ ]
]
- ]
- )
- ]
- , Header 1
- ( "numlist", [], [] )
- [ Str "Numbered", Space, Str "List" ]
- , Para
- [ Str "See"
- , Space
- , Link
- ( "", [], [] )
- [ Str "List" ]
- ( "#list", "" )
- , Str ","
- , Space
- , Str "the"
- , Space
- , Str "same"
- , Space
- , Str "rules"
- , Space
- , Str "apply."
- ]
- , Header 1
- ( "list", [], [] )
- [ Str "List" ]
- , BulletList
- [
- [ Plain
- [ Str "Use"
- , Space
- , Str "the"
- , Space
- , Str "hyphen"
- , Space
- , Str "to"
- , Space
- , Str "prefix"
- , Space
- , Str "list"
- , Space
- , Str "items."
- ]
]
- ,
- [ Plain
- [ Str "There"
- , Space
- , Str "must"
- , Space
- , Str "be"
- , Space
- , Str "one"
- , Space
- , Str "space"
- , Space
- , Str "after"
- , Space
- , Str "the"
- , Space
- , Str "hyphen."
- ]
- ]
- ,
- [ Plain
- [ Str "The"
- , Space
- , Str "list"
- , Space
- , Str "is"
- , Space
- , Str "closed"
- , Space
- , Str "by"
- , Space
- , Str "two"
- , Space
- , Str "consecutive"
- , Space
- , Str "blank"
- , Space
- , Str "lines."
- ]
- ]
- ]
- , BulletList
- [
- [ Plain
- [ Str "The"
- , Space
- , Str "list"
- , Space
- , Str "can"
- , Space
- , Str "be"
- , Space
- , Str "indented"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "source"
- , Space
- , Str "document."
- ]
- ]
- ,
- [ Plain
- [ Str "You"
- , Space
- , Str "can"
- , Space
- , Str "use"
- , Space
- , Str "any"
- , Space
- , Str "number"
- , Space
- , Str "of"
- , Space
- , Str "spaces."
- ]
- ]
- ,
- [ Plain
- [ Str "The"
- , Space
- , Str "result"
- , Space
- , Str "will"
- , Space
- , Str "be"
- , Space
- , Str "the"
- , Space
- , Str "same."
- ]
- ]
- ]
- , BulletList
- [
- [ Para
- [ Str "Let"
- , Space
- , Str "one"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "between"
- , Space
- , Str "the"
- , Space
- , Str "list"
- , Space
- , Str "items."
- ]
- ]
- ,
- [ Para
- [ Str "It"
- , Space
- , Str "will"
- , Space
- , Str "be"
- , Space
- , Str "maintained"
- , Space
- , Str "on"
- , Space
- , Str "the"
- , Space
- , Str "conversion."
- ]
- ]
- ,
- [ Para
- [ Str "Some"
- , Space
- , Str "targets"
- , Space
- , Str "don't"
- , Space
- , Str "support"
- , Space
- , Str "this"
- , Space
- , Str "behavior."
- ]
- ]
- ,
- [ Para
- [ Str "This"
- , Space
- , Str "one"
- , Space
- , Str "was"
- , Space
- , Str "separated"
- , Space
- , Str "by"
- , Space
- , Str "a"
- , Space
- , Str "line"
- , Space
- , Str "with"
- , Space
- , Str "blanks."
- , SoftBreak
- , Str "You"
- , Space
- , Str "can"
- , Space
- , Str "also"
- , Space
- , Str "put"
- , Space
- , Str "a"
- , Space
- , Str "blank"
- , Space
- , Str "line"
- , Space
- , Str "inside"
- ]
+ , BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ Para
+ [ Str "This"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "starts"
+ , Space
+ , Str "at"
+ , SoftBreak
+ , Str "level"
+ , Space
+ , Str "4."
+ ]
+ ]
+ , Para
+ [ Str "Then"
+ , Space
+ , Str "its"
+ , Space
+ , Str "depth"
+ , Space
+ , Str "is"
+ , Space
+ , Str "decreased."
+ ]
+ ]
+ , Para
+ [ Str "Counting"
+ , Space
+ , Str "down,"
+ , Space
+ , Str "one"
+ , Space
+ , Str "by"
+ , Space
+ , Str "one."
+ ]
+ ]
, Para
- [ Str "the"
- , Space
- , Str "item"
- , Space
- , Str "contents"
- , Space
- , Str "and"
- , Space
- , Str "it"
- , Space
- , Str "will"
- , Space
- , Str "be"
- , Space
- , Str "preserved."
- ]
+ [ Str "Until"
+ , Space
+ , Str "the"
+ , Space
+ , Str "level"
+ , Space
+ , Str "1."
+ ]
+ ]
+ , BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ Para
+ [ Str "Unlike"
+ , Space
+ , Str "lists,"
+ , Space
+ , Str "any"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "block"
+ , Space
+ , Str "is"
+ , SoftBreak
+ , Str "independent,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "part"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "tree."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "The"
+ , Space
+ , Str "TAB"
+ , Space
+ , Str "count"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "need"
+ , Space
+ , Str "to"
+ , Space
+ , Str "be"
+ , Space
+ , Str "incremental"
+ , SoftBreak
+ , Str "by"
+ , Space
+ , Str "one."
+ ]
+ , BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "nesting"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "need"
+ , SoftBreak
+ , Str "to"
+ , Space
+ , Str "follow"
+ , Space
+ , Str "any"
+ , Space
+ , Str "rule."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Quotes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "opened"
+ , Space
+ , Str "and"
+ , Space
+ , Str "closed"
+ , SoftBreak
+ , Str "in"
+ , Space
+ , Str "any"
+ , Space
+ , Str "way."
+ ]
+ , BlockQuote
+ [ BlockQuote
+ [ BlockQuote
+ [ Para [ Str "You" , Space , Str "choose." ] ]
+ ]
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Some"
+ , Space
+ , Str "targets"
+ , Space
+ , Str "(as"
+ , Space
+ , Str "sgml)"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "support"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "nesting"
+ , Space
+ , Str "of"
+ , Space
+ , Str "quotes."
+ , Space
+ , Str "There"
+ , Space
+ , Str "is"
+ , Space
+ , Str "only"
+ , Space
+ , Str "one"
+ , Space
+ , Str "quote"
+ , SoftBreak
+ , Str "level."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "In"
+ , Space
+ , Str "this"
+ , Space
+ , Str "case,"
+ , Space
+ , Str "no"
+ , Space
+ , Str "matter"
+ , Space
+ , Str "how"
+ , Space
+ , Str "much"
+ , SoftBreak
+ , Str "TABs"
+ , Space
+ , Str "are"
+ , Space
+ , Str "used"
+ , Space
+ , Str "to"
+ , Space
+ , Str "define"
+ , Space
+ , Str "the"
+ , Space
+ , Str "quote"
+ , SoftBreak
+ , Str "block,"
+ , Space
+ , Str "it"
+ , Space
+ , Str "always"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "level"
+ , Space
+ , Str "1."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Spaces"
+ , Space
+ , Str "AFTER"
+ , Space
+ , Str "the"
+ , Space
+ , Str "TAB"
+ , Space
+ , Str "character"
+ , Space
+ , Str "are"
+ , Space
+ , Str "allowed."
+ , SoftBreak
+ , Str "But"
+ , Space
+ , Str "be"
+ , Space
+ , Str "careful,"
+ , Space
+ , Str "it"
+ , Space
+ , Str "can"
+ , Space
+ , Str "be"
+ , Space
+ , Str "confusing."
+ ]
]
- ]
, Para
- [ Str "-This"
- , Space
- , Str "is"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "(no"
- , Space
- , Str "space)"
- ]
+ [ Str "Spaces"
+ , Space
+ , Str "BEFORE"
+ , Space
+ , Str "the"
+ , Space
+ , Str "TAB"
+ , Space
+ , Str "character"
+ , SoftBreak
+ , Str "invalidate"
+ , Space
+ , Str "the"
+ , Space
+ , Str "mark."
+ , Space
+ , Str "It's"
+ , Space
+ , Str "not"
+ , Space
+ , Str "quote."
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Paragraph"
+ , Space
+ , Str "breaks"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "a"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "aren't"
+ , SoftBreak
+ , Str "possible."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "sample"
+ , Space
+ , Str "are"
+ , Space
+ , Str "two"
+ , Space
+ , Str "separated"
+ , Space
+ , Str "quoted"
+ , SoftBreak
+ , Str "paragraphs,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "block"
+ , Space
+ , Str "with"
+ , SoftBreak
+ , Str "two"
+ , Space
+ , Str "paragraphs"
+ , Space
+ , Str "inside."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "The"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "file"
+ , Space
+ , Str "(EOF)"
+ , Space
+ , Str "closes"
+ , Space
+ , Str "the"
+ , SoftBreak
+ , Str "currently"
+ , Space
+ , Str "open"
+ , Space
+ , Str "quote"
+ , Space
+ , Str "block."
+ ]
+ ]
+ , Header 1 ( "raw" , [] , [] ) [ Str "Raw" ]
+ , Para [ Str "A raw line.\n" ]
+ , Para [ Str " Another raw line, with leading spaces.\n" ]
, Para
- [ Str "-"
- , Space
- , Str "This"
- , Space
- , Str "is"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "(more"
- , Space
- , Str "than"
- , Space
- , Str "one"
- , Space
- , Str "space)"
- ]
+ [ Str "A raw area delimited\n by lines with marks.\n"
+ ]
, Para
- [ Str "-"
- , Space
- , Str "This"
- , Space
- , Str "is"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "(a"
- , Space
- , Str "TAB"
- , Space
- , Str "instead"
- , Space
- , Str "the"
- , Space
- , Str "space)"
- ]
- , BulletList
- [
- [ BulletList
- [
- [ Plain
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
+ [ Str
+ "Trailing spaces and TABs after the area marks\nare allowed, but not encouraged nor documented.\n"
+ ]
+ , Para
+ [ Str "\"\"\"Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "raw"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "need"
+ , Space
+ , Str "one"
+ , Space
+ , Str "space"
+ , Space
+ , Str "after"
+ , Space
+ , Str "mark."
+ ]
+ , Para
+ [ Str "\"\"\""
+ , SoftBreak
+ , Str "Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "raw"
+ , Space
+ , Str "area."
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "marks"
+ , Space
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "beginning,"
+ , SoftBreak
+ , Str "no"
+ , Space
+ , Str "leading"
+ , Space
+ , Str "spaces."
+ , SoftBreak
+ , Str "\"\"\""
+ ]
+ , Para
+ [ Str
+ "The end of the file (EOF) closes\nthe currently open raw area.\n"
+ ]
+ , Header 1 ( "verbatim" , [] , [] ) [ Str "Verbatim" ]
+ , CodeBlock ( "" , [] , [] ) "A verbatim line.\n"
+ , CodeBlock
+ ( "" , [] , [] )
+ " Another verbatim line, with leading spaces.\n"
+ , CodeBlock
+ ( "" , [] , [] )
+ "A verbatim area delimited\n by lines with marks.\n"
+ , CodeBlock
+ ( "" , [] , [] )
+ "Trailing spaces and TABs after the area marks\nare allowed, but not encouraged nor documented.\n"
+ , Para
+ [ Str "```Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "verbatim"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "need"
+ , Space
+ , Str "one"
+ , Space
+ , Str "space"
+ , Space
+ , Str "after"
+ , Space
+ , Str "mark."
+ ]
+ , Para
+ [ Str "```"
+ , SoftBreak
+ , Str "Not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "verbatim"
+ , Space
+ , Str "area."
+ , SoftBreak
+ , Str "The"
+ , Space
+ , Str "marks"
+ , Space
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "at"
+ , Space
+ , Str "the"
+ , Space
+ , Str "line"
+ , Space
+ , Str "beginning,"
+ , SoftBreak
+ , Str "no"
+ , Space
+ , Str "leading"
+ , Space
+ , Str "spaces."
+ , SoftBreak
+ , Str "```"
+ ]
+ , CodeBlock
+ ( "" , [] , [] )
+ "The end of the file (EOF) closes\nthe currently open verbatim area.\n"
+ , Header
+ 1
+ ( "deflist" , [] , [] )
+ [ Str "Definition" , Space , Str "List" ]
+ , DefinitionList
+ [ ( [ Str "Definition" , Space , Str "list" ]
+ , [ [ Plain
+ [ Str "A"
+ , Space
+ , Str "list"
+ , Space
+ , Str "with"
+ , Space
+ , Str "terms"
+ ]
]
]
- ]
- ]
- ,
- [ OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
+ )
+ , ( [ Str "Start"
+ , Space
+ , Str "term"
+ , Space
+ , Str "with"
+ , Space
+ , Str "colon"
+ ]
+ , [ [ Plain
+ [ Str "And"
+ , Space
+ , Str "its"
+ , Space
+ , Str "definition"
+ , Space
+ , Str "follows"
+ ]
]
]
- ]
+ )
]
- ,
- [ DefinitionList
- [
- (
- [ Str "This"
+ , Header
+ 1
+ ( "numlist" , [] , [] )
+ [ Str "Numbered" , Space , Str "List" ]
+ , Para
+ [ Str "See"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "List" ] ( "#list" , "" )
+ , Str ","
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "rules"
+ , Space
+ , Str "apply."
+ ]
+ , Header 1 ( "list" , [] , [] ) [ Str "List" ]
+ , BulletList
+ [ [ Plain
+ [ Str "Use"
, Space
- , Str "is"
+ , Str "the"
, Space
- , Str "a"
+ , Str "hyphen"
+ , Space
+ , Str "to"
+ , Space
+ , Str "prefix"
, Space
, Str "list"
- ]
- , [ [] ]
- )
- ]
- ]
- ]
- , BulletList
- [
- [ Plain
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "the"
- , Space
- , Str "\"mother\""
- , Space
- , Str "list"
- , Space
- , Str "first"
- , Space
- , Str "item."
- ]
- ]
- ,
- [ Plain
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "the"
- , Space
- , Str "second,"
- , Space
- , Str "but"
- , Space
- , Str "inside"
- , Space
- , Str "this"
- , Space
- , Str "item,"
- ]
- , BulletList
- [
- [ Plain
- [ Str "there"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "sublist,"
- , Space
- , Str "with"
- , Space
- , Str "its"
- , Space
- , Str "own"
, Space
, Str "items."
]
- ]
- ,
- [ Plain
- [ Str "Note"
+ ]
+ , [ Plain
+ [ Str "There"
, Space
- , Str "that"
+ , Str "must"
+ , Space
+ , Str "be"
+ , Space
+ , Str "one"
+ , Space
+ , Str "space"
+ , Space
+ , Str "after"
, Space
, Str "the"
, Space
- , Str "items"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "same"
- , Space
- , Str "sublist"
+ , Str "hyphen."
]
- ]
- ,
- [ Plain
- [ Str "must"
+ ]
+ , [ Plain
+ [ Str "The"
, Space
- , Str "have"
+ , Str "list"
, Space
- , Str "the"
+ , Str "is"
, Space
- , Str "same"
+ , Str "closed"
, Space
- , Str "indentation."
+ , Str "by"
+ , Space
+ , Str "two"
+ , Space
+ , Str "consecutive"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines."
]
- , BulletList
- [
- [ Plain
- [ Str "And"
- , Space
- , Str "this"
- , Space
- , Str "can"
- , Space
- , Str "go"
- , Space
- , Str "on,"
- , Space
- , Str "opening"
- , Space
- , Str "sublists."
- ]
- , BulletList
- [
- [ Plain
- [ Str "Just"
- , Space
- , Str "add"
- , Space
- , Str "leading"
- , Space
- , Str "spaces"
- , Space
- , Str "before"
- , Space
- , Str "the"
- ]
- ]
- ,
- [ Plain
- [ Str "hyphen"
- , Space
- , Str "and"
- , Space
- , Str "sublists"
- , Space
- , Str "will"
- , Space
- , Str "be"
- , Space
- , Str "opened."
- ]
- ]
- ,
- [ Plain
- [ Str "The"
- , Space
- , Str "two"
- , Space
- , Str "blank"
- , Space
- , Str "lines"
- , Space
- , Str "closes"
- , Space
- , Str "them"
- , Space
- , Str "all."
- ]
- ]
- ]
- ]
- ]
- ]
]
]
- ]
, BulletList
- [
- [ Plain
- [ Str "When"
- , Space
- , Str "nesting"
- , Space
- , Str "lists,"
- , Space
- , Str "the"
- , Space
- , Str "additional"
- , Space
- , Str "spaces"
- , Space
- , Str "are"
- , Space
- , Str "free."
- ]
- ]
- ,
- [ Plain
- [ Str "You"
- , Space
- , Str "can"
- , Space
- , Str "add"
- , Space
- , Str "just"
- , Space
- , Str "one,"
- ]
- , BulletList
- [
- [ Plain
- [ Str "or", Space, Str "many." ]
- , BulletList
- [
- [ Plain
- [ Str "What"
- , Space
- , Str "matters"
- , Space
- , Str "is"
- , Space
- , Str "to"
- , Space
- , Str "put"
- , Space
- , Str "more"
- , Space
- , Str "than"
- , Space
- , Str "the"
- , Space
- , Str "previous."
- ]
- ]
- ,
- [ Plain
- [ Str "But"
- , Space
- , Str "remember"
- , Space
- , Str "that"
- , Space
- , Str "the"
- , Space
- , Str "other"
- , Space
- , Str "items"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "same"
- , Space
- , Str "list"
- ]
- ]
- ,
- [ Plain
- [ Str "must"
- , Space
- , Str "use"
- , Space
- , Str "the"
- , Space
- , Str "same"
- , Space
- , Str "indentation."
- ]
- ]
- ]
- ]
- ]
- ]
- ]
- , BulletList
- [
- [ Plain
- [ Str "There"
- , Space
- , Str "is"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "depth"
- , Space
- , Str "limit,"
- ]
- , BulletList
- [
- [ Plain
- [ Str "you"
+ [ [ Plain
+ [ Str "The"
+ , Space
+ , Str "list"
, Space
, Str "can"
, Space
- , Str "go"
+ , Str "be"
, Space
- , Str "deeper"
+ , Str "indented"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "source"
+ , Space
+ , Str "document."
+ ]
+ ]
+ , [ Plain
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "use"
+ , Space
+ , Str "any"
+ , Space
+ , Str "number"
+ , Space
+ , Str "of"
+ , Space
+ , Str "spaces."
+ ]
+ ]
+ , [ Plain
+ [ Str "The"
+ , Space
+ , Str "result"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same."
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Para
+ [ Str "Let"
+ , Space
+ , Str "one"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ ]
+ ]
+ , [ Para
+ [ Str "It"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "maintained"
+ , Space
+ , Str "on"
+ , Space
+ , Str "the"
+ , Space
+ , Str "conversion."
+ ]
+ ]
+ , [ Para
+ [ Str "Some"
+ , Space
+ , Str "targets"
+ , Space
+ , Str "don't"
+ , Space
+ , Str "support"
+ , Space
+ , Str "this"
+ , Space
+ , Str "behavior."
+ ]
+ ]
+ , [ Para
+ [ Str "This"
+ , Space
+ , Str "one"
+ , Space
+ , Str "was"
+ , Space
+ , Str "separated"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "with"
+ , Space
+ , Str "blanks."
+ , SoftBreak
+ , Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "also"
+ , Space
+ , Str "put"
+ , Space
+ , Str "a"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "inside"
+ ]
+ , Para
+ [ Str "the"
+ , Space
+ , Str "item"
+ , Space
+ , Str "contents"
, Space
, Str "and"
, Space
- , Str "deeper."
+ , Str "it"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "preserved."
]
- , BulletList
- [
- [ Plain
- [ Str "But"
+ ]
+ ]
+ , Para
+ [ Str "-This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "(no"
+ , Space
+ , Str "space)"
+ ]
+ , Para
+ [ Str "-"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "(more"
+ , Space
+ , Str "than"
+ , Space
+ , Str "one"
+ , Space
+ , Str "space)"
+ ]
+ , Para
+ [ Str "-"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "(a"
+ , Space
+ , Str "TAB"
+ , Space
+ , Str "instead"
+ , Space
+ , Str "the"
+ , Space
+ , Str "space)"
+ ]
+ , BulletList
+ [ [ BulletList
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ ]
+ ]
+ ]
+ ]
+ , [ OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ ]
+ ]
+ ]
+ ]
+ , [ DefinitionList
+ [ ( [ Str "This"
, Space
- , Str "some"
+ , Str "is"
, Space
- , Str "targets"
+ , Str "a"
, Space
- , Str "may"
- , Space
- , Str "have"
- , Space
- , Str "restrictions."
+ , Str "list"
]
+ , [ [] ]
+ )
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "\"mother\""
+ , Space
+ , Str "list"
+ , Space
+ , Str "first"
+ , Space
+ , Str "item."
+ ]
+ ]
+ , [ Plain
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "the"
+ , Space
+ , Str "second,"
+ , Space
+ , Str "but"
+ , Space
+ , Str "inside"
+ , Space
+ , Str "this"
+ , Space
+ , Str "item,"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "there"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "sublist,"
+ , Space
+ , Str "with"
+ , Space
+ , Str "its"
+ , Space
+ , Str "own"
+ , Space
+ , Str "items."
+ ]
+ ]
+ , [ Plain
+ [ Str "Note"
+ , Space
+ , Str "that"
+ , Space
+ , Str "the"
+ , Space
+ , Str "items"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "sublist"
+ ]
+ ]
+ , [ Plain
+ [ Str "must"
+ , Space
+ , Str "have"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "indentation."
+ ]
, BulletList
- [
- [ Plain
- [ Str "The"
- , Space
- , Str "LaTeX"
- , Space
- , Str "maximum"
- , Space
- , Str "is"
- , Space
- , Str "here,"
- , Space
- , Str "4"
- , Space
- , Str "levels."
+ [ [ Plain
+ [ Str "And"
+ , Space
+ , Str "this"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "on,"
+ , Space
+ , Str "opening"
+ , Space
+ , Str "sublists."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Just"
+ , Space
+ , Str "add"
+ , Space
+ , Str "leading"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "before"
+ , Space
+ , Str "the"
+ ]
+ ]
+ , [ Plain
+ [ Str "hyphen"
+ , Space
+ , Str "and"
+ , Space
+ , Str "sublists"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "opened."
+ ]
+ ]
+ , [ Plain
+ [ Str "The"
+ , Space
+ , Str "two"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines"
+ , Space
+ , Str "closes"
+ , Space
+ , Str "them"
+ , Space
+ , Str "all."
+ ]
+ ]
+ ]
]
]
- ]
]
]
- ]
]
]
- ]
, BulletList
- [
- [ Plain
- [ Str "Reverse"
- , Space
- , Str "nesting"
- , Space
- , Str "doesn't"
- , Space
- , Str "work."
+ [ [ Plain
+ [ Str "When"
+ , Space
+ , Str "nesting"
+ , Space
+ , Str "lists,"
+ , Space
+ , Str "the"
+ , Space
+ , Str "additional"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "are"
+ , Space
+ , Str "free."
+ ]
]
- ]
- ,
- [ Plain
- [ Str "Because"
- , Space
- , Str "a"
- , Space
- , Str "sublist"
- , Space
- , Str "*must*"
- , Space
- , Str "have"
- , Space
- , Str "a"
- , Space
- , Str "mother"
- , Space
- , Str "list."
- ]
- ]
- ,
- [ Plain
- [ Str "It's"
- , Space
- , Str "the"
- , Space
- , Str "list"
- , Space
- , Str "concept,"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "txt2tags"
- , Space
- , Str "limitation."
- ]
- ]
- ,
- [ Plain
- [ Str "All"
- , Space
- , Str "this"
- , Space
- , Str "sublists"
- , Space
- , Str "will"
- , Space
- , Str "be"
- , Space
- , Str "bumped"
- , Space
- , Str "to"
- , Space
- , Str "mother"
- , Space
- , Str "lists."
- ]
- ]
- ,
- [ Plain
- [ Str "At"
- , Space
- , Str "level"
- , Space
- , Str "1,"
- , Space
- , Str "like"
- , Space
- , Str "this"
- , Space
- , Str "one."
- ]
- ]
- ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "1" ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "2" ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "3" ]
+ , [ Plain
+ [ Str "You"
+ , Space
+ , Str "can"
+ , Space
+ , Str "add"
+ , Space
+ , Str "just"
+ , Space
+ , Str "one,"
+ ]
+ , BulletList
+ [ [ Plain [ Str "or" , Space , Str "many." ]
, BulletList
- [ [ Plain [ Str "Level", Space, Str "4" ] ] ]
- ]
- ,
- [ Plain
- [ Str "Level"
- , Space
- , Str "3"
- , Space
- , Str "--"
- , Space
- , Str "(closed"
- , Space
- , Str "Level"
- , Space
- , Str "4)"
- ]
+ [ [ Plain
+ [ Str "What"
+ , Space
+ , Str "matters"
+ , Space
+ , Str "is"
+ , Space
+ , Str "to"
+ , Space
+ , Str "put"
+ , Space
+ , Str "more"
+ , Space
+ , Str "than"
+ , Space
+ , Str "the"
+ , Space
+ , Str "previous."
+ ]
+ ]
+ , [ Plain
+ [ Str "But"
+ , Space
+ , Str "remember"
+ , Space
+ , Str "that"
+ , Space
+ , Str "the"
+ , Space
+ , Str "other"
+ , Space
+ , Str "items"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "list"
+ ]
+ ]
+ , [ Plain
+ [ Str "must"
+ , Space
+ , Str "use"
+ , Space
+ , Str "the"
+ , Space
+ , Str "same"
+ , Space
+ , Str "indentation."
+ ]
+ ]
+ ]
]
]
- ]
- ,
- [ Plain
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "There"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "depth"
+ , Space
+ , Str "limit,"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "you"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "deeper"
+ , Space
+ , Str "and"
+ , Space
+ , Str "deeper."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "But"
+ , Space
+ , Str "some"
+ , Space
+ , Str "targets"
+ , Space
+ , Str "may"
+ , Space
+ , Str "have"
+ , Space
+ , Str "restrictions."
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "The"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "maximum"
+ , Space
+ , Str "is"
+ , Space
+ , Str "here,"
+ , Space
+ , Str "4"
+ , Space
+ , Str "levels."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Reverse"
+ , Space
+ , Str "nesting"
+ , Space
+ , Str "doesn't"
+ , Space
+ , Str "work."
+ ]
+ ]
+ , [ Plain
+ [ Str "Because"
+ , Space
+ , Str "a"
+ , Space
+ , Str "sublist"
+ , Space
+ , Str "*must*"
+ , Space
+ , Str "have"
+ , Space
+ , Str "a"
+ , Space
+ , Str "mother"
+ , Space
+ , Str "list."
+ ]
+ ]
+ , [ Plain
+ [ Str "It's"
+ , Space
+ , Str "the"
+ , Space
+ , Str "list"
+ , Space
+ , Str "concept,"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "txt2tags"
+ , Space
+ , Str "limitation."
+ ]
+ ]
+ , [ Plain
+ [ Str "All"
+ , Space
+ , Str "this"
+ , Space
+ , Str "sublists"
+ , Space
+ , Str "will"
+ , Space
+ , Str "be"
+ , Space
+ , Str "bumped"
+ , Space
+ , Str "to"
+ , Space
+ , Str "mother"
+ , Space
+ , Str "lists."
+ ]
+ ]
+ , [ Plain
+ [ Str "At"
+ , Space
+ , Str "level"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "like"
+ , Space
+ , Str "this"
+ , Space
+ , Str "one."
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "4" ] ] ]
+ ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "--"
+ , Space
+ , Str "(closed"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "4)"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "--"
+ , Space
+ , Str "(closed"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "3)"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain
[ Str "Level"
, Space
- , Str "2"
+ , Str "1"
, Space
, Str "--"
, Space
@@ -3264,1937 +3159,2141 @@ Pandoc
, Space
, Str "Level"
, Space
- , Str "3)"
+ , Str "2)"
]
- ]
]
]
- ,
- [ Plain
- [ Str "Level"
- , Space
- , Str "1"
- , Space
- , Str "--"
- , Space
- , Str "(closed"
- , Space
- , Str "Level"
- , Space
- , Str "2)"
- ]
- ]
- ]
, BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "1" ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "2" ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "3" ]
+ [ [ Plain [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
, BulletList
- [ [ Plain [ Str "Level", Space, Str "4" ] ] ]
- ]
- ]
- ]
- ]
- ]
- ,
- [ Plain
- [ Str "Level"
- , Space
- , Str "1"
- , Space
- , Str "--"
- , Space
- , Str "(closed"
- , Space
- , Str "Level"
- , Space
- , Str "4,"
- , Space
- , Str "Level"
- , Space
- , Str "3"
- , Space
- , Str "and"
- , Space
- , Str "Level"
- , Space
- , Str "2)"
- ]
- ]
- ]
- , BulletList
- [
- [ Para
- [ Str "Level", Space, Str "1" ]
- , BulletList
- [
- [ Para
- [ Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "--"
- , Space
- , Str "blank"
- , Space
- , Str "BEFORE"
- , Space
- , Str "and"
- , Space
- , Str "AFTER"
- , Space
- , Str "(in)"
- ]
- , BulletList
- [ [ Plain [ Str "Level", Space, Str "3" ] ] ]
- ]
- ]
- ]
- ]
- , BulletList
- [ [ Plain [ Str "Level", Space, Str "4" ] ] ]
- , BulletList
- [
- [ Para [ Str "Level", Space, Str "3" ] ]
- ,
- [ Para
- [ Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "--"
- , Space
- , Str "blank"
- , Space
- , Str "BEFORE"
- , Space
- , Str "and"
- , Space
- , Str "AFTER"
- , Space
- , Str "(out)"
- ]
- ]
- ,
- [ Para
- [ Str "Level", Space, Str "1" ]
- , BulletList
- [
- [ Para
- [ Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "--"
- , Space
- , Str "blank"
- , Space
- , Str "BEFORE"
- , Space
- , Str "(spaces)"
- , Space
- , Str "and"
- , Space
- , Str "AFTER"
- , Space
- , Str "(TAB)"
- ]
- , BulletList
- [ [ Plain [ Str "Level", Space, Str "3" ] ] ]
- ]
- ]
- ]
- ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "1" ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "2" ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "3" ]
- , BulletList
- [
- [ Plain [ Str "Level", Space, Str "4" ] ]
- ,
- [ Plain
- [ Str "Level", Space, Str "3.5", Space, Str "???" ]
+ [ [ Plain [ Str "Level" , Space , Str "3" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "4" ] ] ]
+ ]
]
- ]
- ]
- ,
- [ Plain [ Str "Level", Space, Str "3" ] ]
- ,
- [ Plain
- [ Str "Level", Space, Str "2.5", Space, Str "???" ]
]
]
- ]
- ,
- [ Plain [ Str "Level", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Level", Space, Str "1.5", Space, Str "???" ] ]
]
- ]
- ,
- [ Plain [ Str "Level", Space, Str "1" ] ]
- ]
- , BulletList
- [
- [ Plain
- [ Str "This"
- , Space
- , Str "list"
- , Space
- , Str "is"
- , Space
- , Str "closed"
- , Space
- , Str "by"
- , Space
- , Str "a"
- , Space
- , Str "line"
- , Space
- , Str "with"
- , Space
- , Str "spaces"
- , Space
- , Str "and"
- , Space
- , Str "other"
- , Space
- , Str "with"
- , Space
- , Str "TABs"
- ]
- ]
- ]
- , BulletList
- [
- [ Plain
- [ Str "This"
- , Space
- , Str "list"
- , Space
- , Str "is"
- , Space
- , Str "NOT"
- , Space
- , Str "closed"
- , Space
- , Str "by"
- , Space
- , Str "two"
- , Space
- , Str "comment"
- , Space
- , Str "lines"
- ]
- ]
- ]
- , BulletList
- [
- [ Plain
- [ Str "This"
- , Space
- , Str "list"
- , Space
- , Str "is"
- , Space
- , Str "closed"
- , Space
- , Str "by"
- , Space
- , Str "a"
- , Space
- , Str "line"
- , Space
- , Str "with"
- , Space
- , Str "spaces"
- , Space
- , Str "and"
- , Space
- , Str "TAB,"
- ]
- ]
- ,
- [ Plain
- [ Str "then"
- , Space
- , Str "a"
- , Space
- , Str "comment"
- , Space
- , Str "line,"
- , Space
- , Str "then"
- , Space
- , Str "an"
- , Space
- , Str "empty"
- , Space
- , Str "line."
- ]
- ]
- ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "1" ]
- , BulletList
- [
- [ Plain
- [ Str "Level", Space, Str "2" ]
- , BulletList
- [ [ Plain [ Str "Level", Space, Str "3" ] ] ]
- , Plain
- [ Str "-", SoftBreak, Str "Level", Space, Str "2" ]
- ]
- ]
- , Plain
- [ Str "-", SoftBreak, Str "Level", Space, Str "1" ]
- ]
- ]
- , Para
- [ Str "-" ]
- , BulletList
- [
- [ Plain
- [ Str "Empty"
- , Space
- , Str "item"
- , Space
- , Str "with"
- , Space
- , Str "trailing"
- , Space
- , Str "spaces."
- ]
- ]
- ]
- , Para
- [ Str "-" ]
- , BulletList
- [
- [ Plain
- [ Str "Empty"
- , Space
- , Str "item"
- , Space
- , Str "with"
- , Space
- , Str "trailing"
- , Space
- , Str "TAB."
- ]
- ]
- ]
- , Para
- [ Str "-" ]
- , BulletList
- [
- [ Plain
- [ Str "If"
- , Space
- , Str "the"
- , Space
- , Str "end"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "file"
- , Space
- , Str "(EOF)"
- , Space
- , Str "is"
- , Space
- , Str "hit,"
- ]
- , BulletList
- [
- [ Plain
- [ Str "all"
+ , [ Plain
+ [ Str "Level"
, Space
- , Str "the"
+ , Str "1"
, Space
- , Str "currently"
+ , Str "--"
, Space
- , Str "opened"
+ , Str "(closed"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "4,"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "and"
+ , Space
+ , Str "Level"
+ , Space
+ , Str "2)"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Para [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Para
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "--"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "BEFORE"
+ , Space
+ , Str "and"
+ , Space
+ , Str "AFTER"
+ , Space
+ , Str "(in)"
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , BulletList [ [ Plain [ Str "Level" , Space , Str "4" ] ] ]
+ , BulletList
+ [ [ Para [ Str "Level" , Space , Str "3" ] ]
+ , [ Para
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "--"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "BEFORE"
+ , Space
+ , Str "and"
+ , Space
+ , Str "AFTER"
+ , Space
+ , Str "(out)"
+ ]
+ ]
+ , [ Para [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Para
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "--"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "BEFORE"
+ , Space
+ , Str "(spaces)"
+ , Space
+ , Str "and"
+ , Space
+ , Str "AFTER"
+ , Space
+ , Str "(TAB)"
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
+ ]
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "4" ] ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "3.5"
+ , Space
+ , Str "???"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "3" ] ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "2.5"
+ , Space
+ , Str "???"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "2" ] ]
+ , [ Plain
+ [ Str "Level"
+ , Space
+ , Str "1.5"
+ , Space
+ , Str "???"
+ ]
+ ]
+ ]
+ ]
+ , [ Plain [ Str "Level" , Space , Str "1" ] ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "This"
, Space
, Str "list"
, Space
- , Str "are"
+ , Str "is"
, Space
- , Str "closed,"
+ , Str "closed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "and"
+ , Space
+ , Str "other"
+ , Space
+ , Str "with"
+ , Space
+ , Str "TABs"
]
- , BulletList
- [
- [ Plain
- [ Str "just"
- , Space
- , Str "like"
- , Space
- , Str "when"
- , Space
- , Str "using"
- , Space
- , Str "the"
- , Space
- , Str "two"
- , Space
- , Str "blank"
- , Space
- , Str "lines."
- ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "list"
+ , Space
+ , Str "is"
+ , Space
+ , Str "NOT"
+ , Space
+ , Str "closed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "two"
+ , Space
+ , Str "comment"
+ , Space
+ , Str "lines"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "This"
+ , Space
+ , Str "list"
+ , Space
+ , Str "is"
+ , Space
+ , Str "closed"
+ , Space
+ , Str "by"
+ , Space
+ , Str "a"
+ , Space
+ , Str "line"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
+ , Space
+ , Str "and"
+ , Space
+ , Str "TAB,"
+ ]
+ ]
+ , [ Plain
+ [ Str "then"
+ , Space
+ , Str "a"
+ , Space
+ , Str "comment"
+ , Space
+ , Str "line,"
+ , Space
+ , Str "then"
+ , Space
+ , Str "an"
+ , Space
+ , Str "empty"
+ , Space
+ , Str "line."
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "1" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "2" ]
+ , BulletList
+ [ [ Plain [ Str "Level" , Space , Str "3" ] ] ]
+ , Plain
+ [ Str "-"
+ , SoftBreak
+ , Str "Level"
+ , Space
+ , Str "2"
+ ]
]
]
- ]
+ , Plain
+ [ Str "-" , SoftBreak , Str "Level" , Space , Str "1" ]
]
]
- ]
- , Header 1
- ( "table", [], [] )
- [ Str "Table" ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignRight, ColWidthDefault ) ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignRight, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "3" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "3" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Para
- [ Str "||"
- , Space
- , Str "Cell"
- , Space
- , Str "1"
- , Space
- , Str "|"
- , Space
- , Str "Cell"
- , Space
- , Str "2"
- , Space
- , Str "|"
- , Space
- , Str "Cell"
- , Space
- , Str "3"
- , Space
- , Str "|"
- ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Cell", Space, Str "3" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Heading" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Heading" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Heading" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "<-" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "--" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "->" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "--" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "--" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "--" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "->" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "--" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "<-" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3+4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1+2+3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2+3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1+2+3+4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "7" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "8" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "A" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "B" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "D" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "E" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "F" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Jan" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Fev" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Mar" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Apr" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "May" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "20%" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "40%" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "60%" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "80%" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "100%" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "/" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "/"
+ , Para [ Str "-" ]
+ , BulletList
+ [ [ Plain
+ [ Str "Empty"
, Space
- , Str "/"
+ , Str "item"
, Space
- , Str "/"
+ , Str "with"
, Space
- , Str "/"
+ , Str "trailing"
, Space
- , Str "/"
+ , Str "spaces."
]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "/"
+ ]
+ , Para [ Str "-" ]
+ , BulletList
+ [ [ Plain
+ [ Str "Empty"
, Space
- , Str "/"
+ , Str "item"
, Space
- , Str "/"
+ , Str "with"
, Space
- , Str "/"
+ , Str "trailing"
, Space
- , Str "/"
- , Space
- , Str "/"
- , Space
- , Str "/"
- , Space
- , Str "/"
- , Space
- , Str "/"
+ , Str "TAB."
]
+ ]
+ ]
+ , Para [ Str "-" ]
+ , BulletList
+ [ [ Plain
+ [ Str "If"
+ , Space
+ , Str "the"
+ , Space
+ , Str "end"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "file"
+ , Space
+ , Str "(EOF)"
+ , Space
+ , Str "is"
+ , Space
+ , Str "hit,"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "all"
+ , Space
+ , Str "the"
+ , Space
+ , Str "currently"
+ , Space
+ , Str "opened"
+ , Space
+ , Str "list"
+ , Space
+ , Str "are"
+ , Space
+ , Str "closed,"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "just"
+ , Space
+ , Str "like"
+ , Space
+ , Str "when"
+ , Space
+ , Str "using"
+ , Space
+ , Str "the"
+ , Space
+ , Str "two"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Header 1 ( "table" , [] , [] ) [ Str "Table" ]
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignRight , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1" ] ]
+ ]
]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "o" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "o" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "." ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "=", Space, Str "=", Space, Str "=", Space, Str "=" ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignRight , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3" ] ]
+ ]
]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "01" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "02" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "05" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "07" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "11" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "13" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "16" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "17" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "19" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "20" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "23" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "25" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "26" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "29" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "30" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "32" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "35" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "37" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "39" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "40" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para
+ [ Str "||"
+ , Space
+ , Str "Cell"
+ , Space
+ , Str "1"
+ , Space
+ , Str "|"
+ , Space
+ , Str "Cell"
+ , Space
+ , Str "2"
+ , Space
+ , Str "|"
+ , Space
+ , Str "Cell"
+ , Space
+ , Str "3"
+ , Space
+ , Str "|"
]
- ]
- ( TableFoot ( "", [], [] ) [] )
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ,
- ( AlignCenter, ColWidthDefault )
- ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "7" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "8" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "9" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "A" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "B" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "C" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "D" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "E" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "F" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "0" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "3" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "4" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "5" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "6" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "7" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "8" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "9" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "A" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "B" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "C" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "D" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "E" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "F" ] ]
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Cell" , Space , Str "3" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
, Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [ ( AlignCenter, ColWidthDefault ) ]
- ( TableHead ( "", [], [] ) [] )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- ]
- ( TableFoot ( "", [], [] ) [] )
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Heading" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Heading" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Heading" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "<-" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "->" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "->" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "--" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "<-" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3+4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1+2+3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2+3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1+2+3+4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "7" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "8" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "B" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "D" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "E" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "F" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Jan" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Fev" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Mar" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Apr" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "May" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "20%" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "40%" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "60%" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "80%" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "100%" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "/" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ , Space
+ , Str "/"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "o" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "o" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "." ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "="
+ , Space
+ , Str "="
+ , Space
+ , Str "="
+ , Space
+ , Str "="
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "01" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "02" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "05" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "07" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "11" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "13" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "16" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "17" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "19" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "20" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "23" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "25" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "26" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "29" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "30" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "32" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "35" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "37" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "39" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "40" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ , ( AlignCenter , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "7" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "8" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "9" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "B" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "C" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "D" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "E" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "F" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "0" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "7" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "8" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "9" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "A" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "B" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "C" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "D" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "E" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "F" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignCenter , ColWidthDefault ) ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Para [ Str "|this|is|not|a|table|" ]
, Para
- [ Str "|this|is|not|a|table|" ]
+ [ Str "|this|"
+ , Space
+ , Str "is|"
+ , Space
+ , Str "not|"
+ , Space
+ , Str "a|"
+ , Space
+ , Str "table|"
+ ]
, Para
- [ Str "|this|"
- , Space
- , Str "is|"
- , Space
- , Str "not|"
- , Space
- , Str "a|"
- , Space
- , Str "table|"
- ]
+ [ Str "|this"
+ , Space
+ , Str "|is"
+ , Space
+ , Str "|not"
+ , Space
+ , Str "|a"
+ , Space
+ , Str "|table"
+ , Space
+ , Str "|"
+ ]
, Para
- [ Str "|this"
- , Space
- , Str "|is"
- , Space
- , Str "|not"
- , Space
- , Str "|a"
- , Space
- , Str "|table"
- , Space
- , Str "|"
- ]
- , Para
- [ Str "|"
- , Space
- , Str "this\t|"
- , Space
- , Str "is\t|"
- , Space
- , Str "not\t|"
- , Space
- , Str "a\t|"
- , Space
- , Str "table\t|"
- ]
+ [ Str "|"
+ , Space
+ , Str "this\t|"
+ , Space
+ , Str "is\t|"
+ , Space
+ , Str "not\t|"
+ , Space
+ , Str "a\t|"
+ , Space
+ , Str "table\t|"
+ ]
, HorizontalRule
- , Para
- [ Str "The", Space, Str "End." ]
+ , Para [ Str "The" , Space , Str "End." ]
]
diff --git a/test/vimwiki-reader.native b/test/vimwiki-reader.native
index 356d1b949..b8f853ce0 100644
--- a/test/vimwiki-reader.native
+++ b/test/vimwiki-reader.native
@@ -1,2419 +1,2429 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "date", MetaInlines [ Str "2017-05-01" ] )
- ,
- ( "title", MetaInlines [ Str "title" ] )
- ]
+ Meta
+ { unMeta =
+ fromList
+ [ ( "date" , MetaInlines [ Str "2017-05-01" ] )
+ , ( "title" , MetaInlines [ Str "title" ] )
+ ]
}
- )
- [ Header 1
- ( "implemented", [], [] )
- [ Emph
- [ Span
- ( "implemented", [], [] ) []
- , Strong
- [ Str "implemented" ]
+ [ 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" ]
+ , 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
- , Str "5"
+ , Code ( "" , [] , [] ) "level"
+ , Space
+ , Str "3"
]
- ]
- , 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" ]
+ , Header
+ 4
+ ( "header level four" , [] , [] )
+ [ Str "header"
+ , Space
+ , Strikeout [ Str "level" ]
+ , Space
+ , Str "four"
]
- ]
- , 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"
+ , Header
+ 5
+ ( "header level 5" , [] , [] )
+ [ Str "header"
, Space
, Emph
- [ Str "struck", Space, Str "out" ]
- , Space
- , Str "with"
- , Space
- , Str "emph"
+ [ Span ( "level" , [] , [] ) []
+ , Strong [ Str "level" ]
+ , Space
+ , Str "5"
+ ]
]
- ]
+ , Header
+ 6
+ ( "header level 6" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "6" ]
, 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 3
- ( "preformatted text with nested syntax", [], [] )
- [ Str "preformatted"
- , Space
- , Str "text"
- , Space
- , Str "with"
- , Space
- , Str "nested"
- , Space
- , Str "syntax"
- ]
- , CodeBlock
- ( "", [ "sql" ], [] ) "SELECT * FROM table"
- , Header 3
- ( "empty preformatted text", [], [] )
- [ Str "empty", Space, Str "preformatted", Space, Str "text" ]
- , CodeBlock
- ( "", [], [] ) ""
- , 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"
+ [ Str "======="
, 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", "wikilink" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "Description"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "link"
- ]
- ( "This is a link source", "wikilink" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "projects/Important Project 1" ]
- ( "projects/Important Project 1", "wikilink" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "../index" ]
- ( "../index", "wikilink" )
- , SoftBreak
- , Link
- ( "", [], [] )
- [ Str "Other", Space, Str "files" ]
- ( "a subdirectory/", "wikilink" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "try"
- , Space
- , Str "me"
- , Space
- , Str "to"
- , Space
- , Str "test"
- , Space
- , Str "tag"
- , Space
- , Str "anchors"
- ]
- ( "#tag-one", "wikilink" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "try"
- , Space
- , Str "me"
- , Space
- , Str "to"
- , Space
- , Str "test"
, Space
, Str "header"
, Space
- , Str "anchors"
+ , Str "========"
]
- ( "#block quotes", "wikilink" )
- ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "try"
+ [ Str "hi=="
, Space
- , Str "me"
+ , Str "not"
, Space
- , Str "to"
+ , Str "a"
, Space
- , Str "test"
+ , 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 "anchors"
- ]
- ( "#strong", "wikilink" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "Tasks", Space, Str "for", Space, Str "tomorrow" ]
- ( "Todo List#Tomorrow", "wikilink" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "diary:2017-05-01" ]
- ( "diary/2017-05-01", "wikilink" )
- ]
- , 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" ]
+ , Str "and"
, Space
- , Str "image"
+ , Str "strikeout"
]
- ( "nonexist.jpg", "" )
- ]
, Para
- [ Image
- ( "", [], [ ( "style", "width:150px;height:120px;" ) ] )
- [ Emph [ Str "cool", Space, Str "stuff" ] ]
- ( "lalune.jpg", "" )
- ]
- , Header 2
- ( "lists", [], [] )
- [ Str "lists" ]
+ [ 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
+ 3
+ ( "preformatted text with nested syntax" , [] , [] )
+ [ Str "preformatted"
+ , Space
+ , Str "text"
+ , Space
+ , Str "with"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "syntax"
+ ]
+ , CodeBlock ( "" , [ "sql" ] , [] ) "SELECT * FROM table"
+ , Header
+ 3
+ ( "empty preformatted text" , [] , [] )
+ [ Str "empty"
+ , Space
+ , Str "preformatted"
+ , Space
+ , Str "text"
+ ]
+ , CodeBlock ( "" , [] , [] ) ""
+ , 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" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Description"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ ]
+ ( "This is a link source" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "projects/Important Project 1" ]
+ ( "projects/Important Project 1" , "wikilink" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "../index" ]
+ ( "../index" , "wikilink" )
+ , SoftBreak
+ , Link
+ ( "" , [] , [] )
+ [ Str "Other" , Space , Str "files" ]
+ ( "a subdirectory/" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "try"
+ , Space
+ , Str "me"
+ , Space
+ , Str "to"
+ , Space
+ , Str "test"
+ , Space
+ , Str "tag"
+ , Space
+ , Str "anchors"
+ ]
+ ( "#tag-one" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "try"
+ , Space
+ , Str "me"
+ , Space
+ , Str "to"
+ , Space
+ , Str "test"
+ , Space
+ , Str "header"
+ , Space
+ , Str "anchors"
+ ]
+ ( "#block quotes" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "try"
+ , Space
+ , Str "me"
+ , Space
+ , Str "to"
+ , Space
+ , Str "test"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "anchors"
+ ]
+ ( "#strong" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Tasks" , Space , Str "for" , Space , Str "tomorrow" ]
+ ( "Todo List#Tomorrow" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "diary:2017-05-01" ]
+ ( "diary/2017-05-01" , "wikilink" )
+ ]
+ , 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"
- ]
- , Para
- [ Math DisplayMath "a^2 + b^2 = c^2" ]
- , 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
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "this", Space, Str "table" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "is" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain
- [ Str "also", Space, Str "a", Space, Str "part" ]
- ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "of", Space, Str "item", Space, Str "1" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , 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"
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "ordered"
, Space
, Str "list"
, Space
, Str "item"
, Space
- , Str "even"
+ , Str "1,"
, Space
- , Str "though"
+ , Str "and"
, Space
- , Str "the"
- , Space
- , Str "identifier"
+ , Str "here"
, Space
, Str "is"
, Space
- , Code
- ( "", [], [] ) "*"
+ , Str "some"
, Space
- , Str "(indentation"
+ , Str "math"
, Space
- , Str "2"
+ , Str "belonging"
, 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"
+ , Str "to"
, 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 "..." ] ]
+ , Para [ Math DisplayMath "a^2 + b^2 = c^2" ]
+ , 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"
]
- ]
- ,
- [ Plain
+ , CodeBlock ( "" , [] , [] ) "I'm part of item 1."
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "this" , Space , Str "table" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "is" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "also"
+ , Space
+ , Str "a"
+ , Space
+ , Str "part"
+ ]
+ ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain
+ [ Str "of"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
+ ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , 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 "sub"
+ , 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 "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
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "a" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- ]
- ]
- ]
- ,
- [ Plain
- [ Span ( "", [ "done4" ], [] ) [], Str "task", Space, Str "2" ]
- ]
- ]
- , Header 2
- ( "math", [], [] )
- [ Str "math" ]
- , Para
- [ Math InlineMath " \\sum_i a_i^2 = 1 " ]
- , Para
- [ Math DisplayMath "\\sum_i a_i^2\n=\n1" ]
- , Para
- [ Math DisplayMath "\\begin{aligned}\n\\sum_i a_i^2 &= 1 + 1 \\\\\n&= 2.\n\\end{aligned}" ]
- , Para
- [ Str "edge"
- , Space
- , Str "case"
- , Space
- , Str "(the"
- , Space
- , Code
- ( "", [], [] ) "c^2 + "
- , Space
- , Str "after"
- , Space
- , Str "the"
- , Space
- , Str "multline"
- , Space
- , Str "tag"
- , Space
- , Str "is"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , Space
- , Str "equation):"
- ]
- , Para
- [ Math DisplayMath "\\begin{gathered}\nc^2 + \na^2 + b^2\n\\end{gathered}" ]
- , Para
- [ Str "edge"
- , Space
- , Str "case"
- , Space
- , Str "(the"
- , Space
- , Str "tag"
- , Space
- , Str "is"
- , Space
- , Code
- ( "", [], [] ) "hello%bye"
- , Str ")"
- ]
- , Para
- [ Math DisplayMath "\\begin{hello%bye}\n\\int_a^b f(x) dx\n\\end{hello%bye}" ]
- , 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
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Year" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Temperature", Space, Str "(low)" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "Temperature", Space, Str "(high)" ] ]
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1900" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "-10" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "25" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1910" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "-15" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "30" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1920" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "-10" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "32" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1930" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Emph [ Str "N/A" ] ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Emph [ Str "N/A" ] ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "1940" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "-2" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "40" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , Header 3
- ( "centered headerless tables", [], [] )
- [ Str "centered", Space, Str "headerless", Space, Str "tables" ]
- , Div
- ( "", [ "center" ], [] )
- [ Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
- ]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "a" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "d" ] ]
- ]
- ]
- ]
- ( TableFoot ( "", [], [] ) [] )
- ]
- , 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"
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
, Space
- , Str "this"
+ , Str "list"
, 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"
+ , Str "item"
, Space
, Str "1"
- , Space
- , Str "without"
- , Space
- , Str "a"
- , Space
- , Str "term"
]
- ]
- ,
- [ Plain
- [ Str "Definition"
+ ]
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
, Space
, Str "2"
+ ]
+ ]
+ , [ Plain
+ [ Str "Numbered"
, Space
- , Str "without"
+ , 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 "term"
+ , 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
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
+ ]
+ ]
+ , [ Plain
+ [ Span ( "" , [ "done4" ] , [] ) []
+ , Str "task"
+ , Space
+ , Str "2"
+ ]
+ ]
+ ]
+ , Header 2 ( "math" , [] , [] ) [ Str "math" ]
+ , Para [ Math InlineMath " \\sum_i a_i^2 = 1 " ]
+ , Para [ Math DisplayMath "\\sum_i a_i^2\n=\n1" ]
+ , Para
+ [ Math
+ DisplayMath
+ "\\begin{aligned}\n\\sum_i a_i^2 &= 1 + 1 \\\\\n&= 2.\n\\end{aligned}"
+ ]
+ , Para
+ [ Str "edge"
+ , Space
+ , Str "case"
+ , Space
+ , Str "(the"
+ , Space
+ , Code ( "" , [] , [] ) "c^2 + "
+ , Space
+ , Str "after"
+ , Space
+ , Str "the"
+ , Space
+ , Str "multline"
+ , Space
+ , Str "tag"
+ , Space
+ , Str "is"
+ , Space
+ , Str "in"
+ , Space
+ , Str "the"
+ , Space
+ , Str "equation):"
+ ]
+ , Para
+ [ Math
+ DisplayMath
+ "\\begin{gathered}\nc^2 + \na^2 + b^2\n\\end{gathered}"
+ ]
+ , Para
+ [ Str "edge"
+ , Space
+ , Str "case"
+ , Space
+ , Str "(the"
+ , Space
+ , Str "tag"
+ , Space
+ , Str "is"
+ , Space
+ , Code ( "" , [] , [] ) "hello%bye"
+ , Str ")"
+ ]
+ , Para
+ [ Math
+ DisplayMath
+ "\\begin{hello%bye}\n\\int_a^b f(x) dx\n\\end{hello%bye}"
+ ]
+ , 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
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Year" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Temperature" , Space , Str "(low)" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Temperature" , Space , Str "(high)" ] ]
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1900" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "-10" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "25" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1910" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "-15" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "30" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1920" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "-10" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "32" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1930" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Emph [ Str "N/A" ] ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Emph [ Str "N/A" ] ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1940" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "-2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "40" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 3
+ ( "centered headerless tables" , [] , [] )
+ [ Str "centered"
+ , Space
+ , Str "headerless"
+ , Space
+ , Str "tables"
+ ]
+ , Div
+ ( "" , [ "center" ] , [] )
+ [ Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "d" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ ]
+ , 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
- [ ( [ Str "T1" ], [ [ Plain [ Str "D1" ] ] ] ) ]
- , Para
- [ Str "new", Space, Str "paragraph" ]
+ [ ( []
+ , [ [ 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 "Not::Definition" ]
- , Para
- [ Str "Not", Space, Str "::Definition" ]
- , Para
- [ Str "::Not", Space, Str "definition" ]
+ [ ( [ 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" ] ]
+ [ 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" ]
+ [ Plain
+ [ Str "block" , Space , Str "::" , Space , Str "quote" ]
]
- ]
- , Header 2
- ( "tables with spans", [], [] )
- [ Str "tables", Space, Str "with", Space, Str "spans" ]
+ , 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
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "a" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "d" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "\\/" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "e" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str ">" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "f" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "\\/" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "\\/" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str ">" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "g" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "h" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str ">" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str ">" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str ">" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "d" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\\/" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "e" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "f" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\\/" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "\\/" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "g" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "h" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str ">" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , 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"
]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , 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
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
- ]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "a" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "c" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "d" ] ]
- ]
- , Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "---" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "---" ] ]
- ]
+ (TableHead
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ []
+ ]
+ ])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ []
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "a" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "b" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "c" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "d" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "---" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "---" ] ]
+ ]
+ ]
+ ]
+ (TableFoot ( "" , [] , [] ) [])
+ , Header
+ 2
+ ( "some other placeholders" , [] , [] )
+ [ Str "some"
+ , Space
+ , Str "other"
+ , Space
+ , Str "placeholders"
]
- ]
- ( TableFoot ( "", [], [] ) [] )
- , 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."
- ]
+ [ Code ( "" , [] , [] ) "template"
+ , Space
+ , Str "placeholder"
+ , Space
+ , Str "is"
+ , Space
+ , Str "ignored."
+ ]
, Para
- [ Code
- ( "", [], [] ) "nohtml"
- , Space
- , Str "placeholder"
- , Space
- , Str "is"
- , Space
- , Str "ignored."
- ]
+ [ Code ( "" , [] , [] ) "nohtml"
+ , Space
+ , Str "placeholder"
+ , Space
+ , Str "is"
+ , Space
+ , Str "ignored."
+ ]
]
diff --git a/test/writer.native b/test/writer.native
index e86464f3e..15971bfff 100644
--- a/test/writer.native
+++ b/test/writer.native
@@ -1,599 +1,493 @@
Pandoc
- ( Meta
- { unMeta = fromList
- [
- ( "author"
- , MetaList
- [ MetaInlines
- [ Str "John", Space, Str "MacFarlane" ]
- , MetaInlines
- [ Str "Anonymous" ]
+ 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" ]
+ )
]
- )
- ,
- ( "date"
- , MetaInlines
- [ Str "July", Space, Str "17,", Space, Str "2006" ]
- )
- ,
- ( "title"
- , MetaInlines
- [ Str "Pandoc", Space, Str "Test", Space, Str "Suite" ]
- )
- ]
}
- )
[ 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."
- ]
- , HorizontalRule
- , Header 1
- ( "headers", [], [] )
- [ Str "Headers" ]
- , 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", "" )
- ]
- , Header 3
- ( "level-3-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "3"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 4
- ( "level-4", [], [] )
- [ Str "Level", Space, Str "4" ]
- , Header 5
- ( "level-5", [], [] )
- [ Str "Level", Space, Str "5" ]
- , Header 1
- ( "level-1", [], [] )
- [ Str "Level", Space, Str "1" ]
- , Header 2
- ( "level-2-with-emphasis", [], [] )
- [ Str "Level"
- , Space
- , Str "2"
- , Space
- , Str "with"
- , Space
- , Emph
- [ Str "emphasis" ]
- ]
- , Header 3
- ( "level-3", [], [] )
- [ Str "Level", Space, Str "3" ]
- , Para
- [ Str "with", Space, Str "no", Space, Str "blank", Space, Str "line" ]
- , Header 2
- ( "level-2", [], [] )
- [ Str "Level", Space, Str "2" ]
- , Para
- [ Str "with", Space, Str "no", Space, Str "blank", Space, Str "line" ]
- , HorizontalRule
- , Header 1
- ( "paragraphs", [], [] )
- [ Str "Paragraphs" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "regular"
- , Space
- , Str "paragraph."
- ]
- , 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."
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "one"
- , Space
- , Str "with"
- , Space
- , Str "a"
- , Space
- , Str "bullet."
- , SoftBreak
- , Str "*"
- , Space
- , Str "criminey."
- ]
- , Para
- [ Str "There"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "hard"
- , Space
- , Str "line"
- , Space
- , Str "break"
- , LineBreak
- , Str "here."
- ]
- , HorizontalRule
- , Header 1
- ( "block-quotes", [], [] )
- [ Str "Block", Space, Str "Quotes" ]
- , Para
- [ Str "E-mail", Space, Str "style:" ]
- , BlockQuote
- [ Para
[ Str "This"
, Space
, Str "is"
, Space
, Str "a"
, Space
- , Str "block"
+ , Str "set"
, Space
- , Str "quote."
+ , 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 "It"
+ , Str "John"
, Space
- , Str "is"
+ , Str "Gruber\8217s"
, Space
- , Str "pretty"
+ , Str "markdown"
, Space
- , Str "short."
+ , Str "test"
+ , Space
+ , Str "suite."
]
- ]
- , BlockQuote
- [ Para
- [ Str "Code"
+ , HorizontalRule
+ , Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
+ , 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" , "" )
+ ]
+ , Header
+ 3
+ ( "level-3-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "3"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 4 ( "level-4" , [] , [] ) [ Str "Level" , Space , Str "4" ]
+ , Header
+ 5 ( "level-5" , [] , [] ) [ Str "Level" , Space , Str "5" ]
+ , Header
+ 1 ( "level-1" , [] , [] ) [ Str "Level" , Space , Str "1" ]
+ , Header
+ 2
+ ( "level-2-with-emphasis" , [] , [] )
+ [ Str "Level"
+ , Space
+ , Str "2"
+ , Space
+ , Str "with"
+ , Space
+ , Emph [ Str "emphasis" ]
+ ]
+ , Header
+ 3 ( "level-3" , [] , [] ) [ Str "Level" , Space , Str "3" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , Header
+ 2 ( "level-2" , [] , [] ) [ Str "Level" , Space , Str "2" ]
+ , Para
+ [ Str "with"
+ , Space
+ , Str "no"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ ]
+ , HorizontalRule
+ , Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "regular"
+ , Space
+ , Str "paragraph."
+ ]
+ , 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."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "one"
+ , Space
+ , Str "with"
+ , Space
+ , Str "a"
+ , Space
+ , Str "bullet."
+ , SoftBreak
+ , Str "*"
+ , Space
+ , Str "criminey."
+ ]
+ , Para
+ [ Str "There"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "hard"
+ , Space
+ , Str "line"
+ , Space
+ , Str "break"
+ , LineBreak
+ , Str "here."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "block-quotes" , [] , [] )
+ [ Str "Block" , Space , Str "Quotes" ]
+ , Para [ Str "E-mail" , Space , Str "style:" ]
+ , BlockQuote
+ [ 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."
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Code"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "block"
+ , Space
+ , Str "quote:"
+ ]
+ , CodeBlock
+ ( "" , [] , [] ) "sub status {\n print \"working\";\n}"
+ , Para [ Str "A" , Space , Str "list:" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "item" , Space , Str "one" ] ]
+ , [ Plain [ Str "item" , Space , Str "two" ] ]
+ ]
+ , Para
+ [ Str "Nested" , Space , Str "block" , Space , Str "quotes:" ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ , BlockQuote [ Para [ Str "nested" ] ]
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
, Str "a"
, Space
, Str "block"
, Space
, Str "quote:"
+ , Space
+ , Str "2"
+ , SoftBreak
+ , Str ">"
+ , Space
+ , Str "1."
]
- , CodeBlock
- ( "", [], [] ) "sub status {\n print \"working\";\n}"
- , Para
- [ Str "A", Space, Str "list:" ]
- , OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "item", Space, Str "one" ] ]
- ,
- [ Plain [ Str "item", Space, Str "two" ] ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "a"
+ , Space
+ , Str "following"
+ , Space
+ , Str "paragraph."
]
- , Para
- [ Str "Nested", Space, Str "block", Space, Str "quotes:" ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- , BlockQuote
- [ Para [ Str "nested" ] ]
- ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "block"
- , Space
- , Str "quote:"
- , Space
- , Str "2"
- , SoftBreak
- , Str ">"
- , Space
- , Str "1."
- ]
- , Para
- [ Str "And"
- , Space
- , Str "a"
- , Space
- , Str "following"
- , Space
- , Str "paragraph."
- ]
, HorizontalRule
- , Header 1
- ( "code-blocks", [], [] )
- [ Str "Code", Space, Str "Blocks" ]
- , Para
- [ Str "Code:" ]
+ , Header
+ 1 ( "code-blocks" , [] , [] ) [ Str "Code" , Space , Str "Blocks" ]
+ , Para [ Str "Code:" ]
, CodeBlock
- ( ""
- , []
- , []
- ) "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
- , Para
- [ Str "And:" ]
+ ( "" , [] , [] )
+ "---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
+ , Para [ Str "And:" ]
, CodeBlock
- ( ""
- , []
- , []
- ) " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
+ ( "" , [] , [] )
+ " this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
, HorizontalRule
- , Header 1
- ( "lists", [], [] )
- [ Str "Lists" ]
- , Header 2
- ( "unordered", [], [] )
- [ Str "Unordered" ]
- , Para
- [ Str "Asterisks", Space, Str "tight:" ]
+ , Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
+ , Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
+ , Para [ Str "Asterisks" , Space , Str "tight:" ]
, BulletList
- [
- [ Plain [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Plain [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Asterisks", Space, Str "loose:" ]
+ [ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Plain [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Asterisks" , Space , Str "loose:" ]
, BulletList
- [
- [ Para [ Str "asterisk", Space, Str "1" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "2" ] ]
- ,
- [ Para [ Str "asterisk", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "tight:" ]
+ [ [ Para [ Str "asterisk" , Space , Str "1" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "2" ] ]
+ , [ Para [ Str "asterisk" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "tight:" ]
, BulletList
- [
- [ Plain [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Pluses", Space, Str "loose:" ]
+ [ [ Plain [ Str "Plus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Pluses" , Space , Str "loose:" ]
, BulletList
- [
- [ Para [ Str "Plus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Plus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "tight:" ]
+ [ [ Para [ Str "Plus" , Space , Str "1" ] ]
+ , [ Para [ Str "Plus" , Space , Str "2" ] ]
+ , [ Para [ Str "Plus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "tight:" ]
, BulletList
- [
- [ Plain [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Plain [ Str "Minus", Space, Str "3" ] ]
- ]
- , Para
- [ Str "Minuses", Space, Str "loose:" ]
+ [ [ Plain [ Str "Minus" , Space , Str "1" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "2" ] ]
+ , [ Plain [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Para [ Str "Minuses" , Space , Str "loose:" ]
, BulletList
- [
- [ Para [ Str "Minus", Space, Str "1" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "2" ] ]
- ,
- [ Para [ Str "Minus", Space, Str "3" ] ]
- ]
- , Header 2
- ( "ordered", [], [] )
- [ Str "Ordered" ]
- , Para
- [ Str "Tight:" ]
+ [ [ Para [ Str "Minus" , Space , Str "1" ] ]
+ , [ Para [ Str "Minus" , Space , Str "2" ] ]
+ , [ Para [ Str "Minus" , Space , Str "3" ] ]
+ ]
+ , Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
+ , Para [ Str "Tight:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "First" ] ]
- ,
- [ Plain [ Str "Second" ] ]
- ,
- [ Plain [ Str "Third" ] ]
- ]
- , Para
- [ Str "and:" ]
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second" ] ]
+ , [ Plain [ Str "Third" ] ]
+ ]
+ , Para [ Str "and:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "One" ] ]
- ,
- [ Plain [ Str "Two" ] ]
- ,
- [ Plain [ Str "Three" ] ]
- ]
- , Para
- [ Str "Loose", Space, Str "using", Space, Str "tabs:" ]
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "One" ] ]
+ , [ Plain [ Str "Two" ] ]
+ , [ Plain [ Str "Three" ] ]
+ ]
+ , Para [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para [ Str "Second" ] ]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Para
- [ Str "and", Space, Str "using", Space, Str "spaces:" ]
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second" ] ]
+ , [ Para [ Str "Third" ] ]
+ ]
+ , Para [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
, OrderedList
- ( 1, Decimal, Period )
- [ [ Para [ Str "One" ] ], [ Para [ Str "Two" ] ], [ Para [ Str "Three" ] ] ]
- , Para
- [ Str "Multiple", Space, Str "paragraphs:" ]
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "One" ] ]
+ , [ Para [ Str "Two" ] ]
+ , [ Para [ Str "Three" ] ]
+ ]
+ , Para [ Str "Multiple" , Space , Str "paragraphs:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Para
- [ Str "Item", Space, Str "1,", Space, Str "graf", Space, Str "one." ]
- , 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."
+ ( 1 , Decimal , Period )
+ [ [ Para
+ [ Str "Item"
+ , Space
+ , Str "1,"
+ , Space
+ , Str "graf"
+ , Space
+ , Str "one."
+ ]
+ , 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."
+ ]
+ ]
+ , [ Para [ Str "Item" , Space , Str "2." ] ]
+ , [ Para [ Str "Item" , Space , Str "3." ] ]
+ ]
+ , Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ]
+ , BulletList
+ [ [ Plain [ Str "Tab" ] , BulletList [ [ Plain [ Str "Tab" ] ] ] ]
+ ]
]
]
- ,
- [ Para [ Str "Item", Space, Str "2." ] ]
- ,
- [ Para [ Str "Item", Space, Str "3." ] ]
- ]
- , Header 2
- ( "nested", [], [] )
- [ Str "Nested" ]
- , BulletList
- [
- [ Plain
- [ Str "Tab" ]
- , BulletList
- [ [ Plain [ Str "Tab" ], BulletList [ [ Plain [ Str "Tab" ] ] ] ] ]
- ]
- ]
- , Para
- [ Str "Here\8217s", Space, Str "another:" ]
+ , Para [ Str "Here\8217s" , Space , Str "another:" ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain [ Str "First" ] ]
- ,
- [ Plain
- [ Str "Second:" ]
- , BulletList
- [
- [ Plain [ Str "Fee" ] ]
- ,
- [ Plain [ Str "Fie" ] ]
- ,
- [ Plain [ Str "Foe" ] ]
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "First" ] ]
+ , [ Plain [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
]
+ , [ Plain [ Str "Third" ] ]
]
- ,
- [ Plain [ Str "Third" ] ]
- ]
, Para
- [ Str "Same"
- , Space
- , Str "thing"
- , Space
- , Str "but"
- , Space
- , Str "with"
- , Space
- , Str "paragraphs:"
- ]
+ [ Str "Same"
+ , Space
+ , Str "thing"
+ , Space
+ , Str "but"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paragraphs:"
+ ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Para [ Str "First" ] ]
- ,
- [ Para
- [ Str "Second:" ]
- , BulletList
- [
- [ Plain [ Str "Fee" ] ]
- ,
- [ Plain [ Str "Fie" ] ]
- ,
- [ Plain [ Str "Foe" ] ]
+ ( 1 , Decimal , Period )
+ [ [ Para [ Str "First" ] ]
+ , [ Para [ Str "Second:" ]
+ , BulletList
+ [ [ Plain [ Str "Fee" ] ]
+ , [ Plain [ Str "Fie" ] ]
+ , [ Plain [ Str "Foe" ] ]
+ ]
]
+ , [ Para [ Str "Third" ] ]
]
- ,
- [ Para [ Str "Third" ] ]
- ]
- , Header 2
- ( "tabs-and-spaces", [], [] )
- [ Str "Tabs", Space, Str "and", Space, Str "spaces" ]
+ , Header
+ 2
+ ( "tabs-and-spaces" , [] , [] )
+ [ Str "Tabs" , Space , Str "and" , Space , Str "spaces" ]
, BulletList
- [
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , SoftBreak
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "tabs"
- ]
- ]
- ,
- [ Para
- [ Str "this"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , SoftBreak
- , Str "indented"
- , Space
- , Str "with"
- , Space
- , Str "spaces"
- ]
- , BulletList
- [
- [ Para
+ [ [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -605,16 +499,13 @@ Pandoc
, Space
, Str "tabs"
]
- ]
- ,
- [ Para
+ ]
+ , [ Para
[ Str "this"
, Space
, Str "is"
, Space
- , Str "an"
- , Space
- , Str "example"
+ , Str "a"
, Space
, Str "list"
, Space
@@ -626,1760 +517,1650 @@ Pandoc
, Space
, Str "spaces"
]
- ]
- ]
- ]
- ]
- , Header 2
- ( "fancy-list-markers", [], [] )
- [ Str "Fancy", Space, Str "list", Space, Str "markers" ]
- , OrderedList
- ( 2, Decimal, TwoParens )
- [
- [ Para [ Str "begins", Space, Str "with", Space, Str "2" ] ]
- ,
- [ Para
- [ Str "and", Space, Str "now", Space, Str "3" ]
- , Para
- [ Str "with", Space, Str "a", Space, Str "continuation" ]
- , OrderedList
- ( 4, LowerRoman, Period )
- [
- [ Plain
- [ Str "sublist"
- , Space
- , Str "with"
- , Space
- , Str "roman"
- , Space
- , Str "numerals,"
- , SoftBreak
- , Str "starting"
- , Space
- , Str "with"
- , Space
- , Str "4"
- ]
- ]
- ,
- [ Plain
- [ Str "more", Space, Str "items" ]
- , OrderedList
- ( 1, UpperAlpha, TwoParens )
- [
- [ Plain [ Str "a", Space, Str "subsublist" ] ]
- ,
- [ Plain [ Str "a", Space, Str "subsublist" ] ]
- ]
- ]
- ]
- ]
- ]
- , Para
- [ Str "Nesting:" ]
- , OrderedList
- ( 1, UpperAlpha, Period )
- [
- [ Plain
- [ Str "Upper", Space, Str "Alpha" ]
- , OrderedList
- ( 1, UpperRoman, Period )
- [
- [ Plain
- [ Str "Upper", Space, Str "Roman." ]
- , OrderedList
- ( 6, Decimal, TwoParens )
- [
- [ Plain
- [ Str "Decimal"
- , Space
- , Str "start"
- , Space
- , Str "with"
- , Space
- , Str "6"
- ]
- , OrderedList
- ( 3, LowerAlpha, OneParen )
- [
- [ Plain
- [ Str "Lower"
- , Space
- , Str "alpha"
- , Space
- , Str "with"
- , Space
- , Str "paren"
- ]
+ , BulletList
+ [ [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "tabs"
+ ]
+ ]
+ , [ Para
+ [ Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "an"
+ , Space
+ , Str "example"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , SoftBreak
+ , Str "indented"
+ , Space
+ , Str "with"
+ , Space
+ , Str "spaces"
]
- ]
]
]
- ]
]
]
- ]
- , Para
- [ Str "Autonumbering:" ]
+ , Header
+ 2
+ ( "fancy-list-markers" , [] , [] )
+ [ Str "Fancy" , Space , Str "list" , Space , Str "markers" ]
, OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain [ Str "Autonumber." ] ]
- ,
- [ Plain
- [ Str "More." ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [ [ Plain [ Str "Nested." ] ] ]
+ ( 2 , Decimal , TwoParens )
+ [ [ Para [ Str "begins" , Space , Str "with" , Space , Str "2" ] ]
+ , [ Para [ Str "and" , Space , Str "now" , Space , Str "3" ]
+ , Para
+ [ Str "with" , Space , Str "a" , Space , Str "continuation" ]
+ , OrderedList
+ ( 4 , LowerRoman , Period )
+ [ [ Plain
+ [ Str "sublist"
+ , Space
+ , Str "with"
+ , Space
+ , Str "roman"
+ , Space
+ , Str "numerals,"
+ , SoftBreak
+ , Str "starting"
+ , Space
+ , Str "with"
+ , Space
+ , Str "4"
+ ]
+ ]
+ , [ Plain [ Str "more" , Space , Str "items" ]
+ , OrderedList
+ ( 1 , UpperAlpha , TwoParens )
+ [ [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ , [ Plain [ Str "a" , Space , Str "subsublist" ] ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Nesting:" ]
+ , OrderedList
+ ( 1 , UpperAlpha , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Alpha" ]
+ , OrderedList
+ ( 1 , UpperRoman , Period )
+ [ [ Plain [ Str "Upper" , Space , Str "Roman." ]
+ , OrderedList
+ ( 6 , Decimal , TwoParens )
+ [ [ Plain
+ [ Str "Decimal"
+ , Space
+ , Str "start"
+ , Space
+ , Str "with"
+ , Space
+ , Str "6"
+ ]
+ , OrderedList
+ ( 3 , LowerAlpha , OneParen )
+ [ [ Plain
+ [ Str "Lower"
+ , Space
+ , Str "alpha"
+ , Space
+ , Str "with"
+ , Space
+ , Str "paren"
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ ]
+ , Para [ Str "Autonumbering:" ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "Autonumber." ] ]
+ , [ Plain [ Str "More." ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim ) [ [ Plain [ Str "Nested." ] ] ]
+ ]
]
- ]
, Para
- [ Str "Should"
- , Space
- , Str "not"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "list"
- , Space
- , Str "item:"
- ]
- , Para
- [ Str "M.A.\160\&2007" ]
- , Para
- [ Str "B.", Space, Str "Williams" ]
+ [ Str "Should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item:"
+ ]
+ , Para [ Str "M.A.\160\&2007" ]
+ , Para [ Str "B." , Space , Str "Williams" ]
, HorizontalRule
- , Header 1
- ( "definition-lists", [], [] )
- [ Str "Definition", Space, Str "Lists" ]
+ , Header
+ 1
+ ( "definition-lists" , [] , [] )
+ [ Str "Definition" , Space , Str "Lists" ]
, Para
- [ Str "Tight", Space, Str "using", Space, Str "spaces:" ]
+ [ Str "Tight" , Space , Str "using" , Space , Str "spaces:" ]
, DefinitionList
- [
- ( [ Str "apple" ], [ [ Plain [ Str "red", Space, Str "fruit" ] ] ] )
- ,
- ( [ Str "orange" ], [ [ Plain [ Str "orange", Space, Str "fruit" ] ] ] )
- ,
- ( [ Str "banana" ], [ [ Plain [ Str "yellow", Space, Str "fruit" ] ] ] )
- ]
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Plain [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para [ Str "Tight" , Space , Str "using" , Space , Str "tabs:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Plain [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
+ , Para [ Str "Loose:" ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ] ]
+ )
+ , ( [ Str "banana" ]
+ , [ [ Para [ Str "yellow" , Space , Str "fruit" ] ] ]
+ )
+ ]
, Para
- [ Str "Tight", Space, Str "using", Space, Str "tabs:" ]
+ [ Str "Multiple"
+ , Space
+ , Str "blocks"
+ , Space
+ , Str "with"
+ , Space
+ , Str "italics:"
+ ]
, DefinitionList
- [
- ( [ Str "apple" ], [ [ Plain [ Str "red", Space, Str "fruit" ] ] ] )
- ,
- ( [ Str "orange" ], [ [ Plain [ Str "orange", Space, Str "fruit" ] ] ] )
- ,
- ( [ Str "banana" ], [ [ Plain [ Str "yellow", Space, Str "fruit" ] ] ] )
- ]
- , Para
- [ Str "Loose:" ]
- , DefinitionList
- [
- ( [ Str "apple" ], [ [ Para [ Str "red", Space, Str "fruit" ] ] ] )
- ,
- ( [ Str "orange" ], [ [ Para [ Str "orange", Space, Str "fruit" ] ] ] )
- ,
- ( [ Str "banana" ], [ [ Para [ Str "yellow", Space, Str "fruit" ] ] ] )
- ]
- , Para
- [ Str "Multiple"
- , Space
- , Str "blocks"
- , Space
- , Str "with"
- , Space
- , Str "italics:"
- ]
- , DefinitionList
- [
- (
- [ Emph [ Str "apple" ] ]
- ,
- [
- [ Para
- [ Str "red", Space, Str "fruit" ]
- , Para
- [ Str "contains"
- , Space
- , Str "seeds,"
- , SoftBreak
- , Str "crisp,"
- , Space
- , Str "pleasant"
- , Space
- , Str "to"
- , Space
- , Str "taste"
+ [ ( [ Emph [ Str "apple" ] ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ]
+ , Para
+ [ Str "contains"
+ , Space
+ , Str "seeds,"
+ , SoftBreak
+ , Str "crisp,"
+ , Space
+ , Str "pleasant"
+ , Space
+ , Str "to"
+ , Space
+ , Str "taste"
+ ]
]
]
- ]
- )
- ,
- (
- [ Emph [ Str "orange" ] ]
- ,
- [
- [ Para
- [ Str "orange", Space, Str "fruit" ]
- , CodeBlock
- ( "", [], [] ) "{ orange code block }"
- , BlockQuote
- [ Para [ Str "orange", Space, Str "block", Space, Str "quote" ] ]
+ )
+ , ( [ Emph [ Str "orange" ] ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , CodeBlock ( "" , [] , [] ) "{ orange code block }"
+ , BlockQuote
+ [ Para
+ [ Str "orange" , Space , Str "block" , Space , Str "quote" ]
+ ]
+ ]
]
- ]
- )
- ]
+ )
+ ]
, Para
- [ Str "Multiple", Space, Str "definitions,", Space, Str "tight:" ]
+ [ Str "Multiple"
+ , Space
+ , Str "definitions,"
+ , Space
+ , Str "tight:"
+ ]
, DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [
- [ Plain [ Str "red", Space, Str "fruit" ] ]
- ,
- [ Plain [ Str "computer" ] ]
- ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [
- [ Plain [ Str "orange", Space, Str "fruit" ] ]
- ,
- [ Plain [ Str "bank" ] ]
- ]
- )
- ]
- , Para
- [ Str "Multiple", Space, Str "definitions,", Space, Str "loose:" ]
- , DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [
- [ Para [ Str "red", Space, Str "fruit" ] ]
- ,
- [ Para [ Str "computer" ] ]
- ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [
- [ Para [ Str "orange", Space, Str "fruit" ] ]
- ,
- [ Para [ Str "bank" ] ]
- ]
- )
- ]
- , Para
- [ Str "Blank"
- , Space
- , Str "line"
- , Space
- , Str "after"
- , Space
- , Str "term,"
- , Space
- , Str "indented"
- , Space
- , Str "marker,"
- , Space
- , Str "alternate"
- , Space
- , Str "markers:"
- ]
- , DefinitionList
- [
- (
- [ Str "apple" ]
- ,
- [
- [ Para [ Str "red", Space, Str "fruit" ] ]
- ,
- [ Para [ Str "computer" ] ]
- ]
- )
- ,
- (
- [ Str "orange" ]
- ,
- [
- [ Para
- [ Str "orange", Space, Str "fruit" ]
- , OrderedList
- ( 1, Decimal, Period )
- [ [ Plain [ Str "sublist" ] ], [ Plain [ Str "sublist" ] ] ]
+ [ ( [ Str "apple" ]
+ , [ [ Plain [ Str "red" , Space , Str "fruit" ] ]
+ , [ Plain [ Str "computer" ] ]
]
- ]
- )
- ]
- , Header 1
- ( "html-blocks", [], [] )
- [ Str "HTML", Space, Str "Blocks" ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Plain [ Str "orange" , Space , Str "fruit" ] ]
+ , [ Plain [ Str "bank" ] ]
+ ]
+ )
+ ]
, Para
- [ Str "Simple"
- , Space
- , Str "block"
- , Space
- , Str "on"
- , Space
- , Str "one"
- , Space
- , Str "line:"
- ]
+ [ Str "Multiple"
+ , Space
+ , Str "definitions,"
+ , Space
+ , Str "loose:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ] ]
+ , [ Para [ Str "bank" ] ]
+ ]
+ )
+ ]
+ , Para
+ [ Str "Blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "after"
+ , Space
+ , Str "term,"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "marker,"
+ , Space
+ , Str "alternate"
+ , Space
+ , Str "markers:"
+ ]
+ , DefinitionList
+ [ ( [ Str "apple" ]
+ , [ [ Para [ Str "red" , Space , Str "fruit" ] ]
+ , [ Para [ Str "computer" ] ]
+ ]
+ )
+ , ( [ Str "orange" ]
+ , [ [ Para [ Str "orange" , Space , Str "fruit" ]
+ , OrderedList
+ ( 1 , Decimal , Period )
+ [ [ Plain [ Str "sublist" ] ] , [ Plain [ Str "sublist" ] ] ]
+ ]
+ ]
+ )
+ ]
+ , Header
+ 1 ( "html-blocks" , [] , [] ) [ Str "HTML" , Space , Str "Blocks" ]
+ , Para
+ [ Str "Simple"
+ , Space
+ , Str "block"
+ , Space
+ , Str "on"
+ , Space
+ , Str "one"
+ , Space
+ , Str "line:"
+ ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ]
+ , Para
+ [ Str "And"
+ , Space
+ , Str "nested"
+ , Space
+ , Str "without"
+ , Space
+ , Str "indentation:"
+ ]
, Div
- ( "", [], [] )
- [ Plain [ Str "foo" ] ]
+ ( "" , [] , [] )
+ [ Div
+ ( "" , [] , [] ) [ Div ( "" , [] , [] ) [ Para [ Str "foo" ] ] ]
+ , Div ( "" , [] , [] ) [ Plain [ Str "bar" ] ]
+ ]
, Para
- [ Str "And"
- , Space
- , Str "nested"
- , Space
- , Str "without"
- , Space
- , Str "indentation:"
- ]
- , Div
- ( "", [], [] )
- [ Div
- ( "", [], [] )
- [ Div ( "", [], [] ) [ Para [ Str "foo" ] ] ]
- , Div
- ( "", [], [] )
- [ Plain [ Str "bar" ] ]
- ]
- , Para
- [ Str "Interpreted"
- , Space
- , Str "markdown"
- , Space
- , Str "in"
- , Space
- , Str "a"
- , Space
- , Str "table:"
- ]
- , RawBlock
- ( Format "html" ) ""
- , RawBlock
- ( Format "html" ) ""
- , RawBlock
- ( Format "html" ) ""
+ [ Str "Interpreted"
+ , Space
+ , Str "markdown"
+ , Space
+ , Str "in"
+ , Space
+ , Str "a"
+ , Space
+ , Str "table:"
+ ]
+ , RawBlock (Format "html") ""
+ , RawBlock (Format "html") ""
+ , RawBlock (Format "html") ""
, Plain
- [ Str "This", Space, Str "is", Space, Emph [ Str "emphasized" ] ]
- , RawBlock
- ( Format "html" ) " "
- , RawBlock
- ( Format "html" ) ""
- , Plain
- [ Str "And"
- , Space
- , Str "this"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Str "strong" ]
- ]
- , RawBlock
- ( Format "html" ) " "
- , RawBlock
- ( Format "html" ) " "
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "simple"
- , Space
- , Str "block:"
- ]
- , Div
- ( "", [], [] )
- [ Para [ Str "foo" ] ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "code"
- , Space
- , Str "block,"
- , Space
- , Str "though:"
- ]
- , CodeBlock
- ( "", [], [] ) "\n foo\n"
- , Para
- [ Str "As", Space, Str "should", Space, Str "this:" ]
- , CodeBlock
- ( "", [], [] ) "foo"
- , Para
- [ Str "Now,", Space, Str "nested:" ]
- , Div
- ( "", [], [] )
- [ Div ( "", [], [] ) [ Div ( "", [], [] ) [ Plain [ Str "foo" ] ] ] ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "just"
- , Space
- , Str "be"
- , Space
- , Str "an"
- , Space
- , Str "HTML"
- , Space
- , Str "comment:"
- ]
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "Multiline:" ]
- , RawBlock
- ( Format "html" ) ""
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "Code", Space, Str "block:" ]
- , CodeBlock
- ( "", [], [] ) ""
- , 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:"
- ]
- , RawBlock
- ( Format "html" ) ""
- , Para
- [ Str "Code:" ]
- , CodeBlock
- ( "", [], [] ) "
"
- , Para
- [ Str "Hr\8217s:" ]
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , RawBlock
- ( Format "html" ) "
"
- , HorizontalRule
- , Header 1
- ( "inline-markup", [], [] )
- [ Str "Inline", Space, Str "Markup" ]
- , 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 "."
- ]
- , 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 "."
- ]
- , Para
- [ Str "An"
- , Space
- , Emph
- [ Link
- ( "", [], [] )
- [ Str "emphasized", Space, Str "link" ]
- ( "/url", "" )
- ]
- , Str "."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
- ]
- ]
- , Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Strong
- [ Emph
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "em."
- ]
- ]
- ]
- , Para
- [ Str "So"
- , Space
- , Str "is"
- , Space
- , Strong
- [ Emph [ Str "this" ] ]
- , Space
- , Str "word."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "is"
- , Space
- , Str "code:"
- , Space
- , Code
- ( "", [], [] ) ">"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) "\\$"
- , Str ","
- , Space
- , Code
- ( "", [], [] ) ""
- , Str "."
- ]
- , Para
- [ Strikeout
- [ Str "This", Space, Str "is", Space, Emph [ Str "strikeout" ], Str "." ]
- ]
- , Para
- [ Str "Superscripts:"
- , Space
- , Str "a"
- , Superscript
- [ Str "bc" ]
- , Str "d"
- , Space
- , Str "a"
- , Superscript
- [ Emph [ Str "hello" ] ]
- , Space
- , Str "a"
- , Superscript
- [ Str "hello\160there" ]
- , Str "."
- ]
- , Para
- [ Str "Subscripts:"
- , Space
- , Str "H"
- , Subscript
- [ Str "2" ]
- , Str "O,"
- , Space
- , Str "H"
- , Subscript
- [ Str "23" ]
- , Str "O,"
- , Space
- , Str "H"
- , Subscript
- [ Str "many\160of\160them" ]
- , Str "O."
- ]
- , Para
- [ Str "These"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "be"
- , Space
- , Str "superscripts"
- , Space
- , Str "or"
- , Space
- , Str "subscripts,"
- , SoftBreak
- , Str "because"
- , Space
- , Str "of"
- , Space
- , Str "the"
- , Space
- , Str "unescaped"
- , Space
- , Str "spaces:"
- , Space
- , Str "a^b"
- , Space
- , Str "c^d,"
- , Space
- , Str "a~b"
- , Space
- , Str "c~d."
- ]
- , HorizontalRule
- , Header 1
- ( "smart-quotes-ellipses-dashes", [], [] )
- [ Str "Smart"
- , Space
- , Str "quotes,"
- , Space
- , Str "ellipses,"
- , Space
- , Str "dashes"
- ]
- , Para
- [ Quoted DoubleQuote
- [ Str "Hello," ]
- , Space
- , Str "said"
- , Space
- , Str "the"
- , Space
- , Str "spider."
- , Space
- , Quoted DoubleQuote
- [ Quoted SingleQuote
- [ Str "Shelob" ]
+ [ Str "This"
, Space
, Str "is"
, Space
- , Str "my"
+ , Emph [ Str "emphasized" ]
+ ]
+ , RawBlock (Format "html") " "
+ , RawBlock (Format "html") ""
+ , Plain
+ [ Str "And"
, Space
- , Str "name."
- ]
- ]
- , 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."
- ]
- , 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."
- , SoftBreak
- , Str "So"
- , Space
- , Str "is"
- , Space
- , Quoted SingleQuote
- [ Str "pine." ]
- ]
- , Para
- [ Quoted SingleQuote
- [ Str "He"
+ , Str "this"
, Space
- , Str "said,"
+ , Str "is"
, Space
- , Quoted DoubleQuote
- [ Str "I", Space, Str "want", Space, Str "to", Space, Str "go." ]
+ , Strong [ Str "strong" ]
]
- , Space
- , Str "Were"
- , Space
- , Str "you"
- , Space
- , Str "alive"
- , Space
- , Str "in"
- , Space
- , Str "the"
- , SoftBreak
- , Str "70\8217s?"
- ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "some"
- , Space
- , Str "quoted"
- , Space
- , Quoted SingleQuote
- [ Code ( "", [], [] ) "code" ]
- , Space
- , Str "and"
- , Space
- , Str "a"
- , Space
- , Quoted DoubleQuote
- [ Link
- ( "", [], [] )
- [ Str "quoted", Space, Str "link" ]
- ( "http://example.com/?foo=1&bar=2", "" )
- ]
- , Str "."
- ]
- , Para
- [ Str "Some"
- , Space
- , Str "dashes:"
- , Space
- , Str "one\8212two"
- , Space
- , Str "\8212"
- , Space
- , Str "three\8212four"
- , Space
- , Str "\8212"
- , Space
- , Str "five."
- ]
- , Para
- [ Str "Dashes"
- , Space
- , Str "between"
- , Space
- , Str "numbers:"
- , Space
- , Str "5\8211\&7,"
- , Space
- , Str "255\8211\&66,"
- , Space
- , Str "1987\8211\&1999."
- ]
- , Para
- [ Str "Ellipses\8230and\8230and\8230." ]
- , HorizontalRule
- , Header 1
- ( "latex", [], [] )
- [ Str "LaTeX" ]
- , BulletList
- [
- [ Plain [ RawInline ( Format "tex" ) "\\cite[22-23]{smith.1899}" ] ]
- ,
- [ Plain [ Math InlineMath "2+2=4" ] ]
- ,
- [ Plain [ Math InlineMath "x \\in y" ] ]
- ,
- [ Plain [ Math InlineMath "\\alpha \\wedge \\omega" ] ]
- ,
- [ Plain [ Math InlineMath "223" ] ]
- ,
- [ Plain [ Math InlineMath "p", Str "-Tree" ] ]
- ,
- [ Plain
- [ Str "Here\8217s"
- , Space
- , Str "some"
- , Space
- , Str "display"
- , Space
- , Str "math:"
- , SoftBreak
- , Math DisplayMath "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"
- ]
- ]
- ,
- [ Plain
- [ 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:"
- , Space
- , Math InlineMath "\\alpha + \\omega \\times x^2"
- , Str "."
- ]
- ]
- ]
- , Para
- [ Str "These"
- , Space
- , Str "shouldn\8217t"
- , Space
- , Str "be"
- , Space
- , Str "math:"
- ]
- , BulletList
- [
- [ Plain
- [ Str "To"
- , Space
- , Str "get"
- , Space
- , Str "the"
- , Space
- , Str "famous"
- , Space
- , Str "equation,"
- , Space
- , Str "write"
- , Space
- , Code
- ( "", [], [] ) "$e = mc^2$"
- , Str "."
- ]
- ]
- ,
- [ Plain
- [ 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."
- , SoftBreak
- , Str "(It"
- , Space
- , Str "worked"
- , Space
- , Str "if"
- , Space
- , Quoted DoubleQuote
- [ Str "lot" ]
- , Space
- , Str "is"
- , Space
- , Str "emphasized.)"
- ]
- ]
- ,
- [ Plain
- [ Str "Shoes"
- , Space
- , Str "($20)"
- , Space
- , Str "and"
- , Space
- , Str "socks"
- , Space
- , Str "($5)."
- ]
- ]
- ,
- [ Plain
- [ Str "Escaped"
- , Space
- , Code
- ( "", [], [] ) "$"
- , Str ":"
- , Space
- , Str "$73"
- , Space
- , Emph
- [ Str "this"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "emphasized"
- ]
- , Space
- , Str "23$."
- ]
- ]
- ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Str "LaTeX"
- , Space
- , Str "table:"
- ]
+ , RawBlock (Format "html") " "
+ , RawBlock (Format "html") " "
+ , RawBlock (Format "html") "
"
, RawBlock
- ( Format "tex" ) "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
- , HorizontalRule
- , Header 1
- ( "special-characters", [], [] )
- [ Str "Special", Space, Str "Characters" ]
+ (Format "html")
+ ""
, Para
- [ Str "Here", Space, Str "is", Space, Str "some", Space, Str "unicode:" ]
- , BulletList
- [
- [ Plain [ Str "I", Space, Str "hat:", Space, Str "\206" ] ]
- ,
- [ Plain [ Str "o", Space, Str "umlaut:", Space, Str "\246" ] ]
- ,
- [ Plain [ Str "section:", Space, Str "\167" ] ]
- ,
- [ Plain [ Str "set", Space, Str "membership:", Space, Str "\8712" ] ]
- ,
- [ Plain [ Str "copyright:", Space, Str "\169" ] ]
- ]
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "block:"
+ ]
+ , Div ( "" , [] , [] ) [ Para [ Str "foo" ] ]
, Para
- [ Str "AT&T"
- , Space
- , Str "has"
- , Space
- , Str "an"
- , Space
- , Str "ampersand"
- , Space
- , Str "in"
- , Space
- , Str "their"
- , Space
- , Str "name."
- ]
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "code"
+ , Space
+ , Str "block,"
+ , Space
+ , Str "though:"
+ ]
+ , CodeBlock ( "" , [] , [] ) "\n foo\n"
+ , Para [ Str "As" , Space , Str "should" , Space , Str "this:" ]
+ , CodeBlock ( "" , [] , [] ) "foo"
+ , Para [ Str "Now," , Space , Str "nested:" ]
+ , Div
+ ( "" , [] , [] )
+ [ Div
+ ( "" , [] , [] ) [ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ]
+ ]
, Para
- [ Str "AT&T"
- , Space
- , Str "is"
- , Space
- , Str "another"
- , Space
- , Str "way"
- , Space
- , Str "to"
- , Space
- , Str "write"
- , Space
- , Str "it."
- ]
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "just"
+ , Space
+ , Str "be"
+ , Space
+ , Str "an"
+ , Space
+ , Str "HTML"
+ , Space
+ , Str "comment:"
+ ]
+ , RawBlock (Format "html") ""
+ , Para [ Str "Multiline:" ]
+ , RawBlock (Format "html") ""
+ , RawBlock
+ (Format "html") ""
+ , Para [ Str "Code" , Space , Str "block:" ]
+ , CodeBlock ( "" , [] , [] ) ""
, Para
- [ Str "This", Space, Str "&", Space, Str "that." ]
- , Para
- [ Str "4", Space, Str "<", Space, Str "5." ]
- , Para
- [ Str "6", Space, Str ">", Space, Str "5." ]
- , Para
- [ Str "Backslash:", Space, Str "\\" ]
- , Para
- [ Str "Backtick:", Space, Str "`" ]
- , Para
- [ Str "Asterisk:", Space, Str "*" ]
- , Para
- [ Str "Underscore:", Space, Str "_" ]
- , Para
- [ Str "Left", Space, Str "brace:", Space, Str "{" ]
- , Para
- [ Str "Right", Space, Str "brace:", Space, Str "}" ]
- , Para
- [ Str "Left", Space, Str "bracket:", Space, Str "[" ]
- , Para
- [ Str "Right", Space, Str "bracket:", Space, Str "]" ]
- , Para
- [ Str "Left", Space, Str "paren:", Space, Str "(" ]
- , Para
- [ Str "Right", Space, Str "paren:", Space, Str ")" ]
- , Para
- [ Str "Greater-than:", Space, Str ">" ]
- , Para
- [ Str "Hash:", Space, Str "#" ]
- , Para
- [ Str "Period:", Space, Str "." ]
- , Para
- [ Str "Bang:", Space, Str "!" ]
- , Para
- [ Str "Plus:", Space, Str "+" ]
- , Para
- [ Str "Minus:", Space, Str "-" ]
- , HorizontalRule
- , Header 1
- ( "links", [], [] )
- [ Str "Links" ]
- , Header 2
- ( "explicit", [], [] )
- [ Str "Explicit" ]
- , Para
- [ Str "Just"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "URL" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title preceded by two spaces" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title preceded by a tab" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title with \"quotes\" in it" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "URL", Space, Str "and", Space, Str "title" ]
- ( "/url/", "title with single quotes" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "with_underscore" ]
- ( "/url/with_underscore", "" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "Email", Space, Str "link" ]
- ( "mailto:nobody@nowhere.net", "" )
- ]
- , Para
- [ Link ( "", [], [] ) [ Str "Empty" ] ( "", "" ), Str "." ]
- , Header 2
- ( "reference", [], [] )
- [ Str "Reference" ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Str "With"
- , Space
- , Link
- ( "", [], [] )
- [ Str "embedded", Space, Str "[brackets]" ]
- ( "/url/", "" )
- , Str "."
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "b" ]
- ( "/url/", "" )
- , Space
- , Str "by"
- , Space
- , Str "itself"
- , Space
- , Str "should"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "once" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "twice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "Indented"
- , Space
- , Link
- ( "", [], [] )
- [ Str "thrice" ]
- ( "/url", "" )
- , Str "."
- ]
- , Para
- [ Str "This"
- , Space
- , Str "should"
- , Space
- , Str "[not][]"
- , Space
- , Str "be"
- , Space
- , Str "a"
- , Space
- , Str "link."
- ]
- , CodeBlock
- ( "", [], [] ) "[not]: /url"
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "bar" ]
- ( "/url/", "Title with \"quotes\" inside" )
- , Str "."
- ]
- , Para
- [ Str "Foo"
- , Space
- , Link
- ( "", [], [] )
- [ Str "biz" ]
- ( "/url/", "Title with \"quote\" inside" )
- , Str "."
- ]
- , Header 2
- ( "with-ampersands", [], [] )
- [ Str "With", Space, Str "ampersands" ]
- , Para
- [ Str "Here\8217s"
- , Space
- , Str "a"
- , Space
- , Link
- ( "", [], [] )
- [ Str "link"
+ [ 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:"
+ ]
+ , RawBlock (Format "html") ""
+ , Para [ Str "Code:" ]
+ , CodeBlock ( "" , [] , [] ) "
"
+ , Para [ Str "Hr\8217s:" ]
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , RawBlock (Format "html") "
"
+ , HorizontalRule
+ , Header
+ 1
+ ( "inline-markup" , [] , [] )
+ [ Str "Inline" , Space , Str "Markup" ]
+ , 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 "."
+ ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Emph
+ [ Link
+ ( "" , [] , [] )
+ [ Str "emphasized" , Space , Str "link" ]
+ ( "/url" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Strong
+ [ Emph
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "and"
+ , Space
+ , Str "em."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Strong [ Emph [ Str "this" ] ]
+ , Space
+ , Str "word."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "code:"
+ , Space
+ , Code ( "" , [] , [] ) ">"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) "\\$"
+ , Str ","
+ , Space
+ , Code ( "" , [] , [] ) ""
+ , Str "."
+ ]
+ , Para
+ [ Strikeout
+ [ Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Emph [ Str "strikeout" ]
+ , Str "."
+ ]
+ ]
+ , Para
+ [ Str "Superscripts:"
+ , Space
+ , Str "a"
+ , Superscript [ Str "bc" ]
+ , Str "d"
+ , Space
+ , Str "a"
+ , Superscript [ Emph [ Str "hello" ] ]
+ , Space
+ , Str "a"
+ , Superscript [ Str "hello\160there" ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Subscripts:"
+ , Space
+ , Str "H"
+ , Subscript [ Str "2" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "23" ]
+ , Str "O,"
+ , Space
+ , Str "H"
+ , Subscript [ Str "many\160of\160them" ]
+ , Str "O."
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "be"
+ , Space
+ , Str "superscripts"
+ , Space
+ , Str "or"
+ , Space
+ , Str "subscripts,"
+ , SoftBreak
+ , Str "because"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "unescaped"
+ , Space
+ , Str "spaces:"
+ , Space
+ , Str "a^b"
+ , Space
+ , Str "c^d,"
+ , Space
+ , Str "a~b"
+ , Space
+ , Str "c~d."
+ ]
+ , HorizontalRule
+ , Header
+ 1
+ ( "smart-quotes-ellipses-dashes" , [] , [] )
+ [ Str "Smart"
+ , Space
+ , Str "quotes,"
+ , Space
+ , Str "ellipses,"
+ , Space
+ , Str "dashes"
+ ]
+ , 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"
+ , Space
+ , Str "name."
+ ]
+ ]
+ , 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."
+ ]
+ , 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."
+ , SoftBreak
+ , Str "So"
+ , Space
+ , Str "is"
+ , Space
+ , Quoted SingleQuote [ Str "pine." ]
+ ]
+ , Para
+ [ Quoted
+ SingleQuote
+ [ Str "He"
+ , Space
+ , Str "said,"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ 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?"
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "quoted"
+ , Space
+ , Quoted SingleQuote [ Code ( "" , [] , [] ) "code" ]
+ , Space
+ , Str "and"
+ , Space
+ , Str "a"
+ , Space
+ , Quoted
+ DoubleQuote
+ [ Link
+ ( "" , [] , [] )
+ [ Str "quoted" , Space , Str "link" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , Str "."
+ ]
+ , Para
+ [ Str "Some"
+ , Space
+ , Str "dashes:"
+ , Space
+ , Str "one\8212two"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "three\8212four"
+ , Space
+ , Str "\8212"
+ , Space
+ , Str "five."
+ ]
+ , Para
+ [ Str "Dashes"
+ , Space
+ , Str "between"
+ , Space
+ , Str "numbers:"
+ , Space
+ , Str "5\8211\&7,"
+ , Space
+ , Str "255\8211\&66,"
+ , Space
+ , Str "1987\8211\&1999."
+ ]
+ , Para [ Str "Ellipses\8230and\8230and\8230." ]
+ , HorizontalRule
+ , Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
+ , BulletList
+ [ [ Plain [ RawInline (Format "tex") "\\cite[22-23]{smith.1899}" ]
+ ]
+ , [ Plain [ Math InlineMath "2+2=4" ] ]
+ , [ Plain [ Math InlineMath "x \\in y" ] ]
+ , [ Plain [ Math InlineMath "\\alpha \\wedge \\omega" ] ]
+ , [ Plain [ Math InlineMath "223" ] ]
+ , [ Plain [ Math InlineMath "p" , Str "-Tree" ] ]
+ , [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "some"
+ , Space
+ , Str "display"
+ , Space
+ , Str "math:"
+ , SoftBreak
+ , Math
+ DisplayMath
+ "\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}"
+ ]
+ ]
+ , [ Plain
+ [ 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:"
+ , Space
+ , Math InlineMath "\\alpha + \\omega \\times x^2"
+ , Str "."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "These"
+ , Space
+ , Str "shouldn\8217t"
+ , Space
+ , Str "be"
+ , Space
+ , Str "math:"
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "To"
+ , Space
+ , Str "get"
+ , Space
+ , Str "the"
+ , Space
+ , Str "famous"
+ , Space
+ , Str "equation,"
+ , Space
+ , Str "write"
+ , Space
+ , Code ( "" , [] , [] ) "$e = mc^2$"
+ , Str "."
+ ]
+ ]
+ , [ Plain
+ [ 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."
+ , SoftBreak
+ , Str "(It"
+ , Space
+ , Str "worked"
+ , Space
+ , Str "if"
+ , Space
+ , Quoted DoubleQuote [ Str "lot" ]
+ , Space
+ , Str "is"
+ , Space
+ , Str "emphasized.)"
+ ]
+ ]
+ , [ Plain
+ [ Str "Shoes"
+ , Space
+ , Str "($20)"
+ , Space
+ , Str "and"
+ , Space
+ , Str "socks"
+ , Space
+ , Str "($5)."
+ ]
+ ]
+ , [ Plain
+ [ Str "Escaped"
+ , Space
+ , Code ( "" , [] , [] ) "$"
+ , Str ":"
+ , Space
+ , Str "$73"
+ , Space
+ , Emph
+ [ Str "this"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "emphasized"
+ ]
+ , Space
+ , Str "23$."
+ ]
+ ]
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
+ , Space
+ , Str "LaTeX"
+ , Space
+ , Str "table:"
+ ]
+ , RawBlock
+ (Format "tex")
+ "\\begin{tabular}{|l|l|}\\hline\nAnimal & Number \\\\ \\hline\nDog & 2 \\\\\nCat & 1 \\\\ \\hline\n\\end{tabular}"
+ , HorizontalRule
+ , Header
+ 1
+ ( "special-characters" , [] , [] )
+ [ Str "Special" , Space , Str "Characters" ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "some"
+ , Space
+ , Str "unicode:"
+ ]
+ , BulletList
+ [ [ Plain [ Str "I" , Space , Str "hat:" , Space , Str "\206" ] ]
+ , [ Plain [ Str "o" , Space , Str "umlaut:" , Space , Str "\246" ]
+ ]
+ , [ Plain [ Str "section:" , Space , Str "\167" ] ]
+ , [ Plain
+ [ Str "set" , Space , Str "membership:" , Space , Str "\8712" ]
+ ]
+ , [ Plain [ Str "copyright:" , Space , Str "\169" ] ]
+ ]
+ , Para
+ [ Str "AT&T"
+ , Space
+ , Str "has"
+ , Space
, Str "an"
, Space
, Str "ampersand"
, Space
, Str "in"
, Space
- , Str "the"
+ , Str "their"
, Space
- , Str "URL"
+ , Str "name."
]
- ( "http://example.com/?foo=1&bar=2", "" )
- , Str "."
- ]
, 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" ]
- ( "http://att.com/", "AT&T" )
- , Str "."
- ]
+ [ Str "AT&T"
+ , Space
+ , Str "is"
+ , Space
+ , Str "another"
+ , Space
+ , Str "way"
+ , Space
+ , Str "to"
+ , Space
+ , Str "write"
+ , Space
+ , Str "it."
+ ]
+ , Para [ Str "This" , Space , Str "&" , Space , Str "that." ]
+ , Para [ Str "4" , Space , Str "<" , Space , Str "5." ]
+ , Para [ Str "6" , Space , Str ">" , Space , Str "5." ]
+ , Para [ Str "Backslash:" , Space , Str "\\" ]
+ , Para [ Str "Backtick:" , Space , Str "`" ]
+ , Para [ Str "Asterisk:" , Space , Str "*" ]
+ , Para [ Str "Underscore:" , Space , Str "_" ]
+ , Para [ Str "Left" , Space , Str "brace:" , Space , Str "{" ]
+ , Para [ Str "Right" , Space , Str "brace:" , Space , Str "}" ]
+ , Para [ Str "Left" , Space , Str "bracket:" , Space , Str "[" ]
+ , Para [ Str "Right" , Space , Str "bracket:" , Space , Str "]" ]
+ , Para [ Str "Left" , Space , Str "paren:" , Space , Str "(" ]
+ , Para [ Str "Right" , Space , Str "paren:" , Space , Str ")" ]
+ , Para [ Str "Greater-than:" , Space , Str ">" ]
+ , Para [ Str "Hash:" , Space , Str "#" ]
+ , Para [ Str "Period:" , Space , Str "." ]
+ , Para [ Str "Bang:" , Space , Str "!" ]
+ , Para [ Str "Plus:" , Space , Str "+" ]
+ , Para [ Str "Minus:" , Space , Str "-" ]
+ , HorizontalRule
+ , Header 1 ( "links" , [] , [] ) [ Str "Links" ]
+ , Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
, Para
- [ Str "Here\8217s"
- , Space
- , Str "an"
- , Space
- , Link
- ( "", [], [] )
- [ Str "inline", Space, Str "link" ]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
+ [ Str "Just"
+ , Space
+ , Str "a"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
+ , Str "."
+ ]
, Para
- [ Str "Here\8217s"
- , Space
- , Str "an"
- , Space
- , Link
- ( "", [], [] )
- [ Str "inline"
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by two spaces" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title preceded by a tab" )
+ , Str "."
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with \"quotes\" in it" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "URL" , Space , Str "and" , Space , Str "title" ]
+ ( "/url/" , "title with single quotes" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "with_underscore" ]
+ ( "/url/with_underscore" , "" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Email" , Space , Str "link" ]
+ ( "mailto:nobody@nowhere.net" , "" )
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" ) , Str "." ]
+ , Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "With"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "embedded" , Space , Str "[brackets]" ]
+ ( "/url/" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
+ , Space
+ , Str "by"
+ , Space
+ , Str "itself"
+ , Space
+ , Str "should"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Indented"
+ , Space
+ , Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
+ , Str "."
+ ]
+ , Para
+ [ Str "This"
+ , Space
+ , Str "should"
+ , Space
+ , Str "[not][]"
+ , Space
+ , Str "be"
+ , Space
+ , Str "a"
+ , Space
+ , Str "link."
+ ]
+ , CodeBlock ( "" , [] , [] ) "[not]: /url"
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "bar" ]
+ ( "/url/" , "Title with \"quotes\" inside" )
+ , Str "."
+ ]
+ , Para
+ [ Str "Foo"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "biz" ]
+ ( "/url/" , "Title with \"quote\" inside" )
+ , Str "."
+ ]
+ , Header
+ 2
+ ( "with-ampersands" , [] , [] )
+ [ Str "With" , Space , Str "ampersands" ]
+ , 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 "."
+ ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "a"
, Space
, Str "link"
, Space
+ , Str "with"
+ , Space
+ , Str "an"
+ , Space
+ , Str "amersand"
+ , Space
, Str "in"
, Space
- , Str "pointy"
+ , Str "the"
, Space
- , Str "braces"
- ]
- ( "/script?foo=1&bar=2", "" )
- , Str "."
- ]
- , Header 2
- ( "autolinks", [], [] )
- [ Str "Autolinks" ]
- , Para
- [ Str "With"
- , Space
- , Str "an"
- , Space
- , Str "ampersand:"
- , Space
- , Link
- ( "", [ "uri" ], [] )
- [ Str "http://example.com/?foo=1&bar=2" ]
- ( "http://example.com/?foo=1&bar=2", "" )
- ]
- , BulletList
- [
- [ Plain [ Str "In", Space, Str "a", Space, Str "list?" ] ]
- ,
- [ Plain
- [ Link
- ( "", [ "uri" ], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
- ]
- ]
- ,
- [ Plain [ Str "It", Space, Str "should." ] ]
- ]
- , Para
- [ Str "An"
- , Space
- , Str "e-mail"
- , Space
- , Str "address:"
- , Space
- , Link
- ( "", [ "email" ], [] )
- [ Str "nobody@nowhere.net" ]
- ( "mailto:nobody@nowhere.net", "" )
- ]
- , BlockQuote
- [ Para
- [ Str "Blockquoted:"
+ , Str "link"
+ , Space
+ , Str "text:"
, Space
, Link
- ( "", [ "uri" ], [] )
- [ Str "http://example.com/" ]
- ( "http://example.com/", "" )
+ ( "" , [] , [] ) [ Str "AT&T" ] ( "http://att.com/" , "AT&T" )
+ , Str "."
]
- ]
, Para
- [ Str "Auto-links"
- , Space
- , Str "should"
- , Space
- , Str "not"
- , Space
- , Str "occur"
- , Space
- , Str "here:"
- , Space
- , Code
- ( "", [], [] ) " "
- ]
- , CodeBlock
- ( "", [], [] ) "or here: "
- , HorizontalRule
- , Header 1
- ( "images", [], [] )
- [ Str "Images" ]
- , 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):"
- ]
- , Para
- [ Image
- ( "", [], [] )
- [ Str "lalune" ]
- ( "lalune.jpg", "fig:Voyage dans la Lune" )
- ]
- , Para
- [ Str "Here"
- , Space
- , Str "is"
- , Space
- , Str "a"
- , Space
- , Str "movie"
- , Space
- , Image
- ( "", [], [] )
- [ Str "movie" ]
- ( "movie.jpg", "" )
- , Space
- , Str "icon."
- ]
- , HorizontalRule
- , Header 1
- ( "footnotes", [], [] )
- [ Str "Footnotes" ]
- , 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"
- , 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."
- ]
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline" , Space , Str "link" ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
]
- , 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"
- , SoftBreak
- , 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
- ( "", [], [] ) " { }"
- , 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"
- , SoftBreak
- , Str "lazy"
- , Space
- , 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."
- ]
+ , Para
+ [ Str "Here\8217s"
+ , Space
+ , Str "an"
+ , Space
+ , Link
+ ( "" , [] , [] )
+ [ Str "inline"
+ , Space
+ , Str "link"
+ , Space
+ , Str "in"
+ , Space
+ , Str "pointy"
+ , Space
+ , Str "braces"
+ ]
+ ( "/script?foo=1&bar=2" , "" )
+ , Str "."
]
- , 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"
- , SoftBreak
- , 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"
- , SoftBreak
- , 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]."
- ]
+ , Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
+ , Para
+ [ Str "With"
+ , Space
+ , Str "an"
+ , Space
+ , Str "ampersand:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/?foo=1&bar=2" ]
+ ( "http://example.com/?foo=1&bar=2" , "" )
+ ]
+ , BulletList
+ [ [ Plain [ Str "In" , Space , Str "a" , Space , Str "list?" ] ]
+ , [ Plain
+ [ Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , [ Plain [ Str "It" , Space , Str "should." ] ]
+ ]
+ , Para
+ [ Str "An"
+ , Space
+ , Str "e-mail"
+ , Space
+ , Str "address:"
+ , Space
+ , Link
+ ( "" , [ "email" ] , [] )
+ [ Str "nobody@nowhere.net" ]
+ ( "mailto:nobody@nowhere.net" , "" )
]
- ]
, BlockQuote
- [ Para
- [ Str "Notes"
- , Space
- , Str "can"
- , Space
- , Str "go"
- , Space
- , Str "in"
- , Space
- , Str "quotes."
- , Note
- [ Para [ Str "In", Space, Str "quote." ] ]
+ [ Para
+ [ Str "Blockquoted:"
+ , Space
+ , Link
+ ( "" , [ "uri" ] , [] )
+ [ Str "http://example.com/" ]
+ ( "http://example.com/" , "" )
+ ]
+ ]
+ , Para
+ [ Str "Auto-links"
+ , Space
+ , Str "should"
+ , Space
+ , Str "not"
+ , Space
+ , Str "occur"
+ , Space
+ , Str "here:"
+ , Space
+ , Code ( "" , [] , [] ) " "
+ ]
+ , CodeBlock ( "" , [] , [] ) "or here: "
+ , HorizontalRule
+ , Header 1 ( "images" , [] , [] ) [ Str "Images" ]
+ , 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):"
+ ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "lalune" ]
+ ( "lalune.jpg" , "fig:Voyage dans la Lune" )
+ ]
+ , Para
+ [ Str "Here"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "movie"
+ , Space
+ , Image ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
+ , Space
+ , Str "icon."
+ ]
+ , HorizontalRule
+ , Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
+ , 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"
+ , 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."
+ ]
+ ]
+ , 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"
+ , SoftBreak
+ , 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 ( "" , [] , [] ) " { }"
+ , 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"
+ , SoftBreak
+ , Str "lazy"
+ , Space
+ , 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"
+ , SoftBreak
+ , 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"
+ , SoftBreak
+ , 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]."
+ ]
+ ]
+ ]
+ , BlockQuote
+ [ Para
+ [ Str "Notes"
+ , Space
+ , Str "can"
+ , Space
+ , Str "go"
+ , Space
+ , Str "in"
+ , Space
+ , Str "quotes."
+ , Note [ Para [ Str "In" , Space , Str "quote." ] ]
+ ]
]
- ]
, OrderedList
- ( 1, Decimal, Period )
- [
- [ Plain
- [ Str "And"
- , Space
- , Str "in"
- , Space
- , Str "list"
- , Space
- , Str "items."
- , Note
- [ Para [ Str "In", Space, Str "list." ] ]
+ ( 1 , Decimal , Period )
+ [ [ Plain
+ [ Str "And"
+ , Space
+ , Str "in"
+ , Space
+ , Str "list"
+ , Space
+ , Str "items."
+ , Note [ Para [ Str "In" , Space , Str "list." ] ]
+ ]
]
]
- ]
, 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."
- ]
+ [ 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."
+ ]
]
"
+ , Para
+ [ Str "Html" , Space , Str "blocks" , Space , Str "can" ]
+ , RawBlock (Format "html") "