aboutsummaryrefslogtreecommitdiff
path: root/test/vimwiki-reader.native
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-09-28 21:17:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-28 21:17:53 -0700
commit0bdcf415e4eff83ad8e35c1d41c8a28e0bbd5da1 (patch)
treec9bda08418e67755254ad2d1d2e95dd691bd1902 /test/vimwiki-reader.native
parent8018179b3df34cd7fdbd77c7a08b21fd8d5b5b31 (diff)
downloadpandoc-0bdcf415e4eff83ad8e35c1d41c8a28e0bbd5da1.tar.gz
Switch from pretty-simple to pretty-show for native output.
Update tests. Reason: it turns out that the native output generated by pretty-simple isn't always readable by the native reader. According to https://github.com/cdepillabout/pretty-simple/issues/99 it is not a design goal of the library that the rendered values be readable using 'read'. This makes it unsuitable for our purposes. pretty-show is a bit slower and it uses 4-space indents (non-configurable), but it doesn't have this serious drawback.
Diffstat (limited to 'test/vimwiki-reader.native')
-rw-r--r--test/vimwiki-reader.native4290
1 files changed, 2150 insertions, 2140 deletions
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
- ( "header", [], [] )
- [ Str "header" ]
- , Header 2
- ( "header level two", [], [] )
- [ Str "header", Space, Str "level", Space, Str "two" ]
- , Header 3
- ( "header level 3", [], [] )
- [ Str "header", Space, Code ( "", [], [] ) "level", Space, Str "3" ]
- , Header 4
- ( "header level four", [], [] )
- [ Str "header"
- , Space
- , Strikeout
- [ Str "level" ]
- , Space
- , Str "four"
- ]
- , Header 5
- ( "header level 5", [], [] )
- [ Str "header"
- , Space
- , Emph
- [ Span
- ( "level", [], [] ) []
- , Strong
- [ Str "level" ]
- , Space
- , Str "5"
- ]
- ]
- , Header 6
- ( "header level 6", [], [] )
- [ Str "header", Space, Str "level", Space, Str "6" ]
- , Para
- [ Str "======="
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "header"
- , Space
- , Str "========"
- ]
- , Para
- [ Str "hi=="
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "header"
- , Space
- , Str "=="
- ]
- , Para
- [ Str "==="
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "header"
- , Space
- , Str "=="
- ]
- , Para
- [ Str "==="
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "header"
- , Space
- , Str "===-"
- ]
- , Para
- [ Str "not", Space, Str "a", Space, Str "header:" ]
- , Para
- [ Str "=n=" ]
- , Para
- [ Str "==="
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "header"
- , Space
- , Str "===="
- ]
- , Header 2
- ( "centred header", [ "justcenter" ], [] )
- [ Str "centred", Space, Str "header" ]
- , Header 2
- ( "header with some == in between", [], [] )
- [ Str "header"
- , Space
- , Str "with"
- , Space
- , Str "some"
- , Space
- , Code
- ( "", [], [] ) "=="
- , Space
- , Str "in"
- , Space
- , Str "between"
- ]
- , Header 2
- ( "header with some == in between", [], [] )
- [ Str "header"
- , Space
- , Str "with"
- , Space
- , Str "some"
- , Space
- , Str "=="
- , Space
- , Str "in"
- , Space
- , Str "between"
- ]
- , Header 2
- ( "header with some ==in between", [], [] )
- [ Str "header"
- , Space
- , Str "with"
- , Space
- , Str "some"
- , Space
- , Str "==in"
- , Space
- , Str "between"
- ]
- , Header 2
- ( "emph strong and strikeout", [], [] )
- [ Str "emph"
- , Space
- , Str "strong"
- , Space
- , Str "and"
- , Space
- , Str "strikeout"
- ]
- , Para
- [ Emph
- [ Str "emph" ]
- , Space
- , Span
- ( "strong", [], [] ) []
- , Strong
- [ Str "strong" ]
- ]
- , Para
- [ Span
- ( "strong and emph", [], [] ) []
- , Strong
- [ Emph [ Str "strong", Space, Str "and", Space, Str "emph" ] ]
- ]
- , Para
- [ Emph
- [ Span
- ( "emph and strong", [], [] ) []
- , Strong
- [ Str "emph", Space, Str "and", Space, Str "strong" ]
+ [ Header
+ 1
+ ( "implemented" , [] , [] )
+ [ Emph
+ [ Span ( "implemented" , [] , [] ) []
+ , Strong [ Str "implemented" ]
+ ]
]
- ]
- , 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" ]
+ , 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 "emph"
+ , Str "3"
]
- ]
- , Para
- [ Emph
- [ Strikeout
- [ Str "strikeout" ]
+ , Header
+ 4
+ ( "header level four" , [] , [] )
+ [ Str "header"
, Space
- , Str "inside"
+ , Strikeout [ Str "level" ]
, Space
- , Str "emph"
+ , Str "four"
]
- ]
- , 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"
+ ]
]
- ]
- , 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" ]
+ , Header
+ 6
+ ( "header level 6" , [] , [] )
+ [ Str "header" , Space , Str "level" , Space , Str "6" ]
, 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"
+ [ Str "======="
, Space
- , Str "4"
+ , Str "not"
, Space
- , Str "spaces)"
+ , Str "a"
, Space
- , Str "This"
+ , Str "header"
, Space
- , Str "would"
+ , Str "========"
+ ]
+ , Para
+ [ Str "hi=="
, Space
- , Str "be"
+ , Str "not"
, Space
, Str "a"
, Space
- , Str "blockquote"
- , Space
- , Str "in"
- , Space
- , Str "Vimwiki."
- , Space
- , Str "It"
+ , Str "header"
, Space
- , Str "is"
+ , Str "=="
+ ]
+ , Para
+ [ Str "==="
, Space
, Str "not"
, Space
- , Span
- ( "highlighted", [], [] ) []
- , Strong
- [ Str "highlighted" ]
+ , Str "a"
, Space
- , Str "in"
+ , Str "header"
, Space
- , Str "Vim"
+ , Str "=="
+ ]
+ , Para
+ [ Str "==="
, Space
- , Str "but"
- , SoftBreak
- , Str "(indentation"
+ , Str "not"
, Space
- , Str "1"
+ , Str "a"
, Space
- , Str "space"
+ , Str "header"
, Space
- , Str "followed"
+ , Str "===-"
+ ]
+ , Para
+ [ Str "not" , Space , Str "a" , Space , Str "header:" ]
+ , Para [ Str "=n=" ]
+ , Para
+ [ Str "==="
, Space
- , Str "by"
+ , Str "not"
, Space
- , Str "1"
+ , Str "a"
, Space
- , Str "tab"
+ , Str "header"
, Space
- , Str "of"
+ , Str "===="
+ ]
+ , Header
+ 2
+ ( "centred header" , [ "justcenter" ] , [] )
+ [ Str "centred" , Space , Str "header" ]
+ , Header
+ 2
+ ( "header with some == in between" , [] , [] )
+ [ Str "header"
, Space
- , Str "width"
+ , Str "with"
, Space
- , Str "4)"
+ , Str "some"
, Space
- , Str "could"
+ , Code ( "" , [] , [] ) "=="
, Space
- , Str "be"
+ , Str "in"
, Space
- , Str "styled"
+ , Str "between"
+ ]
+ , Header
+ 2
+ ( "header with some == in between" , [] , [] )
+ [ Str "header"
, Space
- , Str "by"
+ , Str "with"
+ , Space
+ , Str "some"
, Space
- , Str "CSS"
+ , Str "=="
, Space
, Str "in"
, Space
- , Str "HTML."
+ , Str "between"
+ ]
+ , Header
+ 2
+ ( "header with some ==in between" , [] , [] )
+ [ Str "header"
, Space
- , Str "Blockquotes"
+ , Str "with"
, Space
- , Str "are"
+ , Str "some"
, Space
- , Str "usually"
+ , Str "==in"
, Space
- , Str "used"
+ , Str "between"
+ ]
+ , Header
+ 2
+ ( "emph strong and strikeout" , [] , [] )
+ [ Str "emph"
, Space
- , Str "to"
+ , Str "strong"
, Space
- , Str "quote"
+ , Str "and"
, Space
- , Str "a"
- , SoftBreak
- , Str "(indentation"
+ , Str "strikeout"
+ ]
+ , Para
+ [ Emph [ Str "emph" ]
, Space
- , Str "1"
+ , 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 "tab"
+ , Str "two"
, Space
- , Str "of"
+ , Str "stars:"
, Space
- , Str "width"
+ , Str "**"
+ ]
+ , Para
+ [ Str "just"
, Space
- , Str "4)"
+ , Str "two"
, Space
- , Str "long"
+ , Str "underscores:"
, Space
- , Str "piece"
+ , Str "__"
+ ]
+ , Para
+ [ Str "just"
, Space
- , Str "of"
+ , Str "four"
, Space
- , Str "text"
+ , Str "~s:"
, Space
- , Str "from"
+ , 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 "another"
+ , Str "a"
, Space
- , Str "source."
+ , Str "rule"
, Space
- , Strikeout
- [ Str "blah", Space, Str "blah" ]
+ , Str "(trailing"
, Space
- , Span
- ( "-blockquote", [], [] )
- [ Str "" ]
- , Span
- ( "blockquote", [ "tag" ], [] )
- [ Str "blockquote" ]
+ , Str "spaces):"
+ , SoftBreak
+ , Str "-----"
]
- ]
- , Header 2
- ( "external links", [], [] )
- [ Str "external", Space, Str "links" ]
, Para
- [ Link
- ( "", [], [] )
- [ Emph
- [ Str "Google" ]
+ [ Str "not"
+ , Space
+ , Str "a"
, Space
- , Str "search"
+ , Str "rule"
, Space
- , Str "engine"
+ , Str "(leading"
+ , Space
+ , Str "spaces):"
+ , SoftBreak
+ , Str "----"
]
- ( "http://google.com", "" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "http://pandoc.org" ]
- ( "http://pandoc.org", "" )
- ]
+ , Header 2 ( "comments" , [] , [] ) [ Str "comments" ]
, 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"
+ [ Str "this"
+ , SoftBreak
+ , Str "is"
, Space
- , Str "of"
+ , Str "%%"
, Space
- , Str "the"
+ , Str "not"
, Space
- , Str "link"
+ , Str "secret"
]
- ( "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" )
- ]
+ , Header
+ 2
+ ( "inline code" , [] , [] )
+ [ Str "inline" , Space , Str "code" ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "try"
+ [ Str "Here"
, Space
- , Str "me"
- , Space
- , Str "to"
- , Space
- , Str "test"
+ , Str "is"
, Space
- , Str "tag"
+ , Str "some"
, Space
- , Str "anchors"
+ , Code ( "" , [] , [] ) "inline code"
+ , Str "."
]
- ( "#tag-one", "wikilink" )
- ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "try"
+ [ Str "Just"
, Space
- , Str "me"
+ , Str "two"
, Space
- , Str "to"
+ , Str "backticks:"
, Space
- , Str "test"
+ , 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 "header"
+ , Str "text"
+ , Space
+ , Str "with"
, Space
- , Str "anchors"
+ , Str "attributes"
]
- ( "#block quotes", "wikilink" )
- ]
- , Para
- [ Link
- ( "", [], [] )
- [ Str "try"
+ , 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 "me"
+ , Str "with"
, Space
- , Str "to"
+ , Str "nested"
, Space
- , Str "test"
+ , Str "syntax"
+ ]
+ , CodeBlock ( "" , [ "sql" ] , [] ) "SELECT * FROM table"
+ , Header
+ 3
+ ( "empty preformatted text" , [] , [] )
+ [ Str "empty"
, Space
- , Str "strong"
+ , Str "preformatted"
, Space
- , Str "anchors"
+ , 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" , "" )
]
- ( "#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" )
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://pandoc.org" ]
+ ( "http://pandoc.org" , "" )
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Str "Important", Space, Str "Data" ]
- ( "file:../assets/data.csv", "" )
- ]
- , Header 3
- ( "links with thumbnails", [], [] )
- [ Str "links", Space, Str "with", Space, Str "thumbnails" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "ftp://vim.org" ]
+ ( "ftp://vim.org" , "" )
+ ]
, Para
- [ Link
- ( "", [], [] )
- [ Image ( "", [], [] ) [ Str "" ] ( "./movie.jpg", "" ) ]
- ( "http://www.google.com", "" )
- ]
- , Header 2
- ( "images", [], [] )
- [ Str "images" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "http://google.com" ]
+ ( "http://google.com" , "" )
+ ]
, Para
- [ Image ( "", [], [] ) [ Str "" ] ( "file:./lalune.jpg", "" ) ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "email" , Space , Str "me" ]
+ ( "mailto:info@example.org" , "" )
+ ]
, 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" ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "mailto:hello@bye.com" ]
+ ( "mailto:hello@bye.com" , "" )
+ ]
+ , Header
+ 2
+ ( "internal links" , [] , [] )
+ [ Str "internal" , Space , Str "links" ]
, Para
- [ Image
- ( "", [], [ ( "style", "width:150px;height:120px;" ) ] )
- [ Emph [ Str "cool", Space, Str "stuff" ] ]
- ( "lalune.jpg", "" )
- ]
+ [ Link
+ ( "" , [] , [] )
+ [ Str "This is a link" ]
+ ( "This is a link" , "wikilink" )
+ ]
, Para
- [ Image
- ( "", [], [ ( "style", "font-color:red" ) ] )
- [ Span
- ( "Non-existing", [], [] ) []
- , Strong
- [ Str "Non-existing" ]
- , Space
- , Str "image"
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Description"
+ , Space
+ , Str "of"
+ , Space
+ , Str "the"
+ , Space
+ , Str "link"
+ ]
+ ( "This is a link source" , "wikilink" )
]
- ( "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 ) []
- ]
+ [ 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"
]
- )
- [ 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" ] ]
- ]
+ ( "#tag-one" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "try"
+ , Space
+ , Str "me"
+ , Space
+ , Str "to"
+ , Space
+ , Str "test"
+ , Space
+ , Str "header"
+ , Space
+ , Str "anchors"
]
- ]
- ( 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."
- ]
+ ( "#block quotes" , "wikilink" )
+ ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "try"
+ , Space
+ , Str "me"
+ , Space
+ , Str "to"
+ , Space
+ , Str "test"
+ , Space
+ , Str "strong"
+ , Space
+ , Str "anchors"
+ ]
+ ( "#strong" , "wikilink" )
]
- ,
- [ Plain
- [ Str "ordered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "2"
- ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Tasks" , Space , Str "for" , Space , Str "tomorrow" ]
+ ( "Todo List#Tomorrow" , "wikilink" )
]
- ]
- , BulletList
- [
- [ Plain
- [ Str "Bulleted"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "1"
- ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "diary:2017-05-01" ]
+ ( "diary/2017-05-01" , "wikilink" )
]
- ,
- [ Plain
- [ Str "Bulleted"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "2"
- ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Str "Important" , Space , Str "Data" ]
+ ( "file:../assets/data.csv" , "" )
]
- ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "Bulleted"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "1"
- ]
+ , Header
+ 3
+ ( "links with thumbnails" , [] , [] )
+ [ Str "links"
+ , Space
+ , Str "with"
+ , Space
+ , Str "thumbnails"
]
- ,
- [ Plain
- [ Str "the"
- , Space
- , Str "#"
- , Space
- , Str "become"
- , Space
- , Str "numbers"
- , Space
- , Str "when"
- , Space
- , Str "converted"
- , Space
- , Str "to"
- , Space
- , Str "HTML"
- ]
+ , Para
+ [ Link
+ ( "" , [] , [] )
+ [ Image ( "" , [] , [] ) [ Str "" ] ( "./movie.jpg" , "" ) ]
+ ( "http://www.google.com" , "" )
]
- ]
- , BulletList
- [
- [ Plain
- [ Str "Bulleted"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "1"
- ]
+ , Header 2 ( "images" , [] , [] ) [ Str "images" ]
+ , Para
+ [ Image
+ ( "" , [] , [] ) [ Str "" ] ( "file:./lalune.jpg" , "" )
]
- ,
- [ Plain
- [ Str "Bulleted"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "2"
- ]
+ , Para
+ [ Image
+ ( "" , [] , [] )
+ [ Str "Vimwiki" ]
+ ( "http://vimwiki.googlecode.com/hg/images/vimwiki_logo.png"
+ , ""
+ )
+ , SoftBreak
+ , Image
+ ( "" , [] , [] ) [ Str "" ] ( "file:./movie.jpg" , "" )
]
- ]
- , BulletList
- [
- [ Plain [ Str "Item", Space, Str "1" ] ]
- ,
- [ Plain
- [ Str "Item", Space, Str "2" ]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Str "Sub"
+ , 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"
+ , Str "1,"
, Space
- , Str "(indentation"
+ , Str "and"
, Space
- , Str "4"
+ , Str "here"
, Space
- , Str "spaces)"
- , SoftBreak
- , Str "Sub"
+ , Str "is"
, Space
- , Str "item"
+ , Str "some"
, Space
- , Str "1"
+ , Str "math"
, Space
- , Str "continued"
+ , Str "belonging"
, Space
- , Str "line."
- , SoftBreak
- , Str "Sub"
+ , 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 "next"
+ , Str "some"
, Space
- , Str "continued"
+ , Str "preformatted"
, Space
- , Str "line."
- ]
- ]
- ,
- [ Plain
- [ Str "Sub"
+ , Str "and"
+ , Space
+ , Str "tables"
+ , Space
+ , Str "belonging"
+ , Space
+ , Str "to"
, Space
, Str "item"
, Space
- , Str "2,"
+ , Str "1"
, Space
, Str "as"
, Space
- , Str "an"
- , Space
- , Str "ordered"
+ , 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 "list"
+ , Str "some"
, Space
- , Str "item"
+ , Str "more"
, Space
- , Str "even"
+ , Str "text"
, Space
- , Str "though"
+ , Str "belonging"
, Space
- , Str "the"
+ , Str "to"
, Space
- , Str "identifier"
+ , Str "item"
, Space
- , Str "is"
+ , Str "1."
+ ]
+ ]
+ , [ Plain
+ [ Str "ordered"
, Space
- , Code
- ( "", [], [] ) "*"
+ , Str "list"
, Space
- , Str "(indentation"
+ , Str "item"
, Space
, Str "2"
+ ]
+ ]
+ ]
+ , BulletList
+ [ [ Plain
+ [ Str "Bulleted"
, Space
- , Str "spaces"
+ , Str "list"
, Space
- , Str "followed"
+ , Str "item"
, Space
- , Str "by"
+ , Str "1"
+ ]
+ ]
+ , [ Plain
+ [ Str "Bulleted"
, Space
- , Str "one"
+ , Str "list"
, Space
- , Str "tab"
+ , Str "item"
, Space
- , Str "of"
+ , Str "2"
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Bulleted"
, Space
- , Str "width"
+ , Str "list"
+ , Space
+ , Str "item"
, Space
- , Str "4)"
+ , Str "1"
]
- ]
- ,
- [ Plain
- [ Str "etc."
- , SoftBreak
- , Str "Continuation"
+ ]
+ , [ Plain
+ [ Str "the"
, Space
- , Str "of"
+ , Str "#"
, Space
- , Str "Item"
+ , Str "become"
, Space
- , Str "2"
- , SoftBreak
- , Str "Next"
+ , Str "numbers"
, Space
- , Str "continuation"
+ , Str "when"
, Space
- , Str "of"
+ , Str "converted"
, Space
- , Str "Item"
+ , Str "to"
, Space
- , Str "2"
+ , Str "HTML"
]
- ]
]
]
- ]
- , 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 "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
]
- ]
- ,
- [ Plain
- [ Str "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "2"
+ , [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
]
]
- ,
- [ Plain
- [ Str "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "3"
+ , 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 "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "1"
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Str "1" ]
+ , BulletList [ [ Plain [ Code ( "" , [] , [] ) "1.1" ] ] ]
]
- ]
- ,
- [ Plain
- [ Str "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "2"
+ , [ Plain [ Str "2" ]
+ , BulletList [ [ Plain [ Str "2.1" ] ] ]
]
]
- ,
- [ Plain
- [ Str "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "3"
- ]
+ , 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"
+ ( 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 "2"
+ ]
]
- ]
- ,
- [ Plain
- [ Str "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "3"
+ , [ 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"
+ ( 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 "2"
+ ]
]
- ]
- ,
- [ Plain
- [ Str "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "3"
+ , [ 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"
+ ( 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 "2"
+ ]
]
- ]
- ,
- [ Plain
- [ Str "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "3"
+ , [ 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"
+ ( 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 "2"
+ ]
]
- ]
- ,
- [ Plain
- [ Str "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "3"
+ , [ 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"
+ ( 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 "2"
+ ]
]
- ]
- ,
- [ Plain
- [ Str "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "3"
+ , [ 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"
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "1"
+ ]
]
- ]
- ,
- [ Plain
- [ Str "Bulleted"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "2"
+ , [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "2"
+ ]
]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
+ , [ Plain
[ Str "Numbered"
, Space
, Str "list"
, Space
- , Str "sub"
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
+ ]
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Str "Numbered"
+ , Space
+ , Str "list"
, Space
, Str "item"
, Space
, Str "1"
]
- ]
- ,
- [ Plain
- [ Str "more", Space, Str "..." ]
- , BulletList
- [
- [ Plain
- [ Str "and", Space, Str "more", Space, Str "..." ]
- ]
- ,
- [ Plain [ Str "..." ] ]
- ]
- ]
- ,
- [ Plain
+ ]
+ , [ Plain
[ Str "Numbered"
, Space
, Str "list"
, Space
- , Str "sub"
+ , 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"
- ]
+ ]
+ ]
+ , 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 "Numbered"
- , Space
- , Str "list"
- , Space
- , Str "sub"
- , Space
- , Str "sub"
- , Space
- , Str "item"
- , Space
- , Str "2"
- ]
+ , [ 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 "etc." ] ]
]
- ]
- ,
- [ Plain
- [ Str "Bulleted"
- , Space
- , Str "list"
- , Space
- , Str "item"
- , Space
- , Str "3"
+ , [ Plain
+ [ Str "Bulleted"
+ , Space
+ , Str "list"
+ , Space
+ , Str "item"
+ , Space
+ , Str "3"
+ ]
]
]
- ]
- , Header 2
- ( "todo lists", [], [] )
- [ Str "todo", Space, Str "lists" ]
+ , 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
+ [ Span ( "" , [ "done0" ] , [] ) []
+ , Str "task"
+ , Space
+ , Str "1"
+ ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain [ Span ( "" , [ "done1" ] , [] ) [] , Str "5" ] ]
+ ]
]
- ]
- ,
- [ Plain
- [ Str "[r]"
- , Space
- , Str "not"
- , Space
- , Str "a"
- , Space
- , Str "todo"
- , Space
- , Str "item"
+ , [ Plain [ Span ( "" , [ "done2" ] , [] ) [] , Str "3" ] ]
+ , [ Plain
+ [ Str "[]"
+ , 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
+ [ 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
- ( "", [], [] ) "[ ]"
+ , [ Plain
+ [ Str "[r]"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "todo"
+ , Space
+ , Str "item"
+ ]
]
- , OrderedList
- ( 1, DefaultStyle, DefaultDelim )
- [
- [ Plain
- [ Span
- ( "", [ "done3" ], [] ) []
- , Str "4"
- , SoftBreak
- , Str "5"
+ , [ Plain
+ [ Str "["
+ , Space
+ , Str "]"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "todo"
+ , Space
+ , Str "item"
]
- ]
- ,
- [ Plain
- [ Span ( "", [ "done4" ], [] ) [] ]
- , Table
- ( "", [], [] )
- ( Caption Nothing [] )
- [
- ( AlignDefault, ColWidthDefault )
- ,
- ( AlignDefault, ColWidthDefault )
+ ]
+ , [ 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 ( "" , [] , [] ) "[ ]"
]
- ( TableHead
- ( "", [], [] )
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 ) []
- ]
+ , OrderedList
+ ( 1 , DefaultStyle , DefaultDelim )
+ [ [ Plain
+ [ Span ( "" , [ "done3" ] , [] ) []
+ , Str "4"
+ , SoftBreak
+ , Str "5"
+ ]
]
- )
- [ TableBody
- ( "", [], [] )
- ( RowHeadColumns 0 ) []
- [ Row
- ( "", [], [] )
- [ Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "a" ] ]
- , Cell
- ( "", [], [] ) AlignDefault
- ( RowSpan 1 )
- ( ColSpan 1 )
- [ Plain [ Str "b" ] ]
- ]
+ , [ 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 ( "" , [] , [] ) [])
]
]
- ( TableFoot ( "", [], [] ) [] )
- ]
+ ]
+ , [ Plain
+ [ Span ( "" , [ "done4" ] , [] ) []
+ , Str "task"
+ , Space
+ , Str "2"
+ ]
]
]
- ,
- [ Plain
- [ Span ( "", [ "done4" ], [] ) [], Str "task", Space, Str "2" ]
- ]
- ]
- , Header 2
- ( "math", [], [] )
- [ Str "math" ]
- , Para
- [ Math InlineMath " \\sum_i a_i^2 = 1 " ]
+ , 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 "\\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}" ]
+ [ 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):"
- ]
+ [ 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}" ]
+ [ 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 ")"
- ]
+ [ 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}" ]
+ [ 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 "$$"
- ]
+ [ 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" ]
+ [ 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" ]
+ [ 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)" ] ]
- ]
+ ( "" , [] , [] )
+ (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" ] ]
+ ]
+ ]
]
- )
- [ 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"
]
- ]
- ( 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 ) []
+ ( "" , [ "center" ] , [] )
+ [ Table
+ ( "" , [] , [] )
+ (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" ] ]
+ (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 ( "" , [] , [] ) [])
]
- ( TableFoot ( "", [], [] ) [] )
- ]
- , Header 2
- ( "paragraphs", [], [] )
- [ Str "paragraphs" ]
+ , 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."
- ]
+ [ 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" ]
+ [ 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 "1" ]
+ , [ [ Plain [ Str "Definition" , Space , Str "1" ] ] ]
+ )
+ , ( [ Str "Term" , Space , Str "2" ]
+ , [ [ Plain [ Str "Definition" , Space , Str "2" ] ]
+ , [ Plain [ Str "Definition" , Space , Str "3" ] ]
+ ]
+ )
+ , ( [ Str "Term"
+ , Space
+ , Str "::"
+ , Space
+ , Span ( "separated" , [] , [] ) []
+ , Strong [ Str "separated" ]
+ , Space
+ , Str "by"
+ , Space
+ , Str "::"
+ , Space
+ , Emph [ Str "double" , Space , Str "colons" ]
+ ]
+ , [ [ Plain [ Str "Def1" ] ] , [ Plain [ Str "Def2" ] ] ]
+ )
+ , ( [ Str "Term"
+ , Space
+ , Str "with"
+ , Space
+ , Str "lots"
+ , Space
+ , Str "of"
+ , Space
+ , Str "trailing"
+ , Space
+ , Str "colons:::::::"
+ ]
+ , [ [ Plain [ Str "Definition" ] ] ]
+ )
+ , ( [ Str "::"
+ , Space
+ , Str "This"
+ , Space
+ , Str "is"
+ , Space
+ , Str "::"
+ , Space
+ , Str "A"
+ , Space
+ , Str "term"
+ , Space
+ , Str "(rather"
+ , Space
+ , Str "than"
+ , Space
+ , Str "a"
+ , Space
+ , Str "definition)"
+ ]
+ , [ [ Plain
+ [ Str "and"
+ , Space
+ , Str "this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "a"
+ , Space
+ , Str "definition"
+ ]
]
]
- ]
- )
- ,
- (
- [ Str "Term", Space, Str "Without", Space, Str "definitions" ]
- , [ [] ]
- )
- ,
- (
- [ Str "Part"
- , Space
- , Str "::"
- , Space
- , Str "of"
- , Space
- , Str "::"
- , Space
- , Str "dt"
- ]
- ,
- [ [ Plain [ Str "part", Space, Str "of", Space, Str "::dd" ] ] ]
- )
- ]
- , DefinitionList
- [
- ( []
- ,
- [
- [ Plain
- [ Str "Definition"
- , Space
- , Str "1"
- , Space
- , Str "without"
- , Space
- , Str "a"
- , Space
- , Str "term"
+ )
+ , ( [ 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" ]
]
]
- ,
- [ Plain
- [ Str "Definition"
- , Space
- , Str "2"
- , Space
- , Str "without"
- , Space
- , Str "a"
- , Space
- , Str "term"
+ )
+ ]
+ , DefinitionList
+ [ ( []
+ , [ [ Plain
+ [ Str "Definition"
+ , Space
+ , Str "1"
+ , Space
+ , Str "without"
+ , Space
+ , Str "a"
+ , Space
+ , Str "term"
+ ]
+ ]
+ , [ Plain
+ [ Str "Definition"
+ , Space
+ , Str "2"
+ , Space
+ , Str "without"
+ , Space
+ , Str "a"
+ , Space
+ , Str "term"
+ ]
]
]
- ]
- )
- ]
+ )
+ ]
, DefinitionList
- [ ( [ Str "T1" ], [ [ Plain [ Str "D1" ] ] ] ) ]
- , Para
- [ Str "new", Space, Str "paragraph" ]
+ [ ( [ 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" ]
+ [ ( [ 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" ] ]
+ [ Plain
+ [ Str "block" , Space , Str "::" , Space , Str "quote" ]
+ ]
+ , Header
+ 2
+ ( "metadata placeholders" , [] , [] )
+ [ Str "metadata" , Space , Str "placeholders" ]
, Para
- [ Str "sub", Subscript [ Str "script" ] ]
- , Header 2
- ( "the todo mark", [], [] )
- [ Str "the", Space, Str "todo", Space, Str "mark" ]
+ [ Str "%this"
+ , Space
+ , Str "is"
+ , Space
+ , Str "not"
+ , Space
+ , Str "a"
+ , Space
+ , Str "placeholder"
+ ]
, Para
- [ Span ( "", [ "todo" ], [] ) [ Str "TODO:" ] ]
- , Header 1
- ( "not implemented yet", [], [] )
- [ Emph
- [ Span
- ( "not implemented yet", [], [] ) []
- , Strong
- [ Str "not", Space, Str "implemented", Space, Str "yet" ]
+ [ 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" ]
+ , 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 )
+ ]
+ (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 ">" ] ]
+ ]
+ ]
]
- )
- [ 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 )
+ ]
+ (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 "---" ] ]
+ ]
+ ]
]
- )
- [ 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."
+ ]
]