2021-09-19 21:09:51 +02:00
|
|
|
Pandoc
|
2021-09-29 06:17:53 +02:00
|
|
|
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" ]
|
|
|
|
)
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
}
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Header
|
|
|
|
1
|
|
|
|
( "level-one-header" , [] , [] )
|
|
|
|
[ Str "Level" , Space , Str "one" , Space , Str "header" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
|
|
|
[ Str "This"
|
|
|
|
, Space
|
|
|
|
, Str "is"
|
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "set"
|
|
|
|
, Space
|
|
|
|
, Str "of"
|
|
|
|
, Space
|
|
|
|
, Str "tests"
|
|
|
|
, Space
|
|
|
|
, Str "for"
|
|
|
|
, Space
|
|
|
|
, Str "pandoc."
|
|
|
|
, Space
|
|
|
|
, Str "Most"
|
|
|
|
, Space
|
|
|
|
, Str "of"
|
|
|
|
, Space
|
|
|
|
, Str "them"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "are"
|
|
|
|
, Space
|
|
|
|
, Str "adapted"
|
|
|
|
, Space
|
|
|
|
, Str "from"
|
2021-09-19 21:09:51 +02:00
|
|
|
, SoftBreak
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "John"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "Gruber\8217s"
|
|
|
|
, Space
|
|
|
|
, Str "markdown"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "test"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "suite."
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "regular"
|
|
|
|
, Space
|
|
|
|
, Str "paragraph."
|
|
|
|
]
|
|
|
|
, Para
|
|
|
|
[ Str "In"
|
|
|
|
, Space
|
|
|
|
, Str "Markdown"
|
|
|
|
, Space
|
|
|
|
, Str "1.0.0"
|
|
|
|
, Space
|
|
|
|
, Str "and"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "earlier."
|
|
|
|
, Space
|
|
|
|
, Str "Version"
|
2021-09-19 21:09:51 +02:00
|
|
|
, SoftBreak
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "8."
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "This"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "line"
|
|
|
|
, Space
|
|
|
|
, Str "turns"
|
|
|
|
, Space
|
|
|
|
, Str "into"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "list"
|
|
|
|
, Space
|
|
|
|
, Str "item."
|
|
|
|
, SoftBreak
|
|
|
|
, Str "Because"
|
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, Space
|
|
|
|
, Str "hard-wrapped"
|
|
|
|
, Space
|
|
|
|
, Str "line"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
|
|
|
, Str "in"
|
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "the"
|
|
|
|
, SoftBreak
|
|
|
|
, Str "middle"
|
|
|
|
, Space
|
|
|
|
, Str "of"
|
|
|
|
, Space
|
2021-09-19 21:09:51 +02:00
|
|
|
, Str "a"
|
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "paragraph"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "looked"
|
|
|
|
, Space
|
|
|
|
, Str "like"
|
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, SoftBreak
|
|
|
|
, Str "list"
|
|
|
|
, Space
|
|
|
|
, Str "item."
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, Para
|
|
|
|
[ Str "Here\8217s"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, Space
|
|
|
|
, Str "block"
|
|
|
|
, Space
|
|
|
|
, Str "quote:"
|
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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."
|
|
|
|
]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, CodeBlock
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [] , [] )
|
|
|
|
"---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}"
|
2021-09-19 21:09:51 +02:00
|
|
|
, CodeBlock
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [] , [] ) "this code block is indented by one tab"
|
|
|
|
, Para [ Str "And:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, CodeBlock
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [] , [] )
|
|
|
|
"this block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
|
|
|
|
, Para [ Str "And:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, CodeBlock
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [ "python" ] , [] ) "def my_function(x):\n return x + 1"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, CodeBlock
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [ "haskell" ] , [] )
|
|
|
|
"-- this code is in haskell\ndata Tree = Leaf | Node Tree Tree"
|
2021-09-19 21:09:51 +02:00
|
|
|
, CodeBlock
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [ "haskell" ] , [] )
|
|
|
|
"-- this code is in haskell too\ndata Nat = Zero | Succ Nat"
|
2021-09-19 21:09:51 +02:00
|
|
|
, CodeBlock
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [ "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:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, BulletList
|
2021-09-29 06:17:53 +02:00
|
|
|
[ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
|
|
|
|
, [ Plain [ Str "asterisk" , Space , Str "2" ] ]
|
|
|
|
, [ Plain [ Str "asterisk" , Space , Str "3" ] ]
|
|
|
|
]
|
|
|
|
, Para [ Str "Asterisks" , Space , Str "loose:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, BulletList
|
2021-09-29 06:17:53 +02:00
|
|
|
[ [ Plain [ Str "asterisk" , Space , Str "1" ] ]
|
|
|
|
, [ Plain [ Str "asterisk" , Space , Str "2" ] ]
|
|
|
|
, [ Plain [ Str "asterisk" , Space , Str "3" ] ]
|
|
|
|
]
|
|
|
|
, Para [ Str "Pluses" , Space , Str "tight:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, BulletList
|
2021-09-29 06:17:53 +02:00
|
|
|
[ [ Plain [ Str "Plus" , Space , Str "1" ] ]
|
|
|
|
, [ Plain [ Str "Plus" , Space , Str "2" ] ]
|
|
|
|
, [ Plain [ Str "Plus" , Space , Str "3" ] ]
|
|
|
|
]
|
|
|
|
, Para [ Str "Pluses" , Space , Str "loose:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, BulletList
|
2021-09-29 06:17:53 +02:00
|
|
|
[ [ Plain [ Str "Plus" , Space , Str "1" ] ]
|
|
|
|
, [ Plain [ Str "Plus" , Space , Str "2" ] ]
|
|
|
|
, [ Plain [ Str "Plus" , Space , Str "3" ] ]
|
|
|
|
]
|
|
|
|
, Para [ Str "Minuses" , Space , Str "tight:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, BulletList
|
2021-09-29 06:17:53 +02:00
|
|
|
[ [ Plain [ Str "Minus" , Space , Str "1" ] ]
|
|
|
|
, [ Plain [ Str "Minus" , Space , Str "2" ] ]
|
|
|
|
, [ Plain [ Str "Minus" , Space , Str "3" ] ]
|
|
|
|
]
|
|
|
|
, Para [ Str "Minuses" , Space , Str "loose:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, BulletList
|
2021-09-29 06:17:53 +02:00
|
|
|
[ [ 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:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, OrderedList
|
2021-09-29 06:17:53 +02:00
|
|
|
( 1 , Decimal , Period )
|
|
|
|
[ [ Plain [ Str "First" ] ]
|
|
|
|
, [ Plain [ Str "Second" ] ]
|
|
|
|
, [ Plain [ Str "Third" ] ]
|
|
|
|
]
|
|
|
|
, Para [ Str "and:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, OrderedList
|
2021-09-29 06:17:53 +02:00
|
|
|
( 1 , Decimal , Period )
|
|
|
|
[ [ Plain [ Str "One" ] ]
|
|
|
|
, [ Plain [ Str "Two" ] ]
|
|
|
|
, [ Plain [ Str "Three" ] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, Para [ Str "Loose" , Space , Str "using" , Space , Str "tabs:" ]
|
|
|
|
, OrderedList
|
|
|
|
( 1 , Decimal , Period )
|
|
|
|
[ [ Plain [ Str "First" ] ]
|
|
|
|
, [ Plain [ Str "Second" ] ]
|
|
|
|
, [ Plain [ Str "Third" ] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, Para [ Str "and" , Space , Str "using" , Space , Str "spaces:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, OrderedList
|
2021-09-29 06:17:53 +02:00
|
|
|
( 1 , Decimal , Period )
|
|
|
|
[ [ Plain [ Str "One" ] ]
|
|
|
|
, [ Plain [ Str "Two" ] ]
|
|
|
|
, [ Plain [ Str "Three" ] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, Para [ Str "Multiple" , Space , Str "paragraphs:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, OrderedList
|
2021-09-29 06:17:53 +02:00
|
|
|
( 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."
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "The"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "quick"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "brown"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "fox"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "jumped"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "over"
|
|
|
|
, Space
|
|
|
|
, Str "the"
|
|
|
|
, Space
|
|
|
|
, Str "lazy"
|
|
|
|
, Space
|
|
|
|
, Str "dog\8217s"
|
|
|
|
, SoftBreak
|
|
|
|
, Str "back."
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
]
|
|
|
|
, [ 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" ] ] ] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, Para [ Str "Here\8217s" , Space , Str "another:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, OrderedList
|
2021-09-29 06:17:53 +02:00
|
|
|
( 1 , Decimal , Period )
|
|
|
|
[ [ Para [ Str "First" ] ]
|
|
|
|
, [ Para [ Str "Second:" ]
|
|
|
|
, BlockQuote
|
|
|
|
[ BulletList
|
|
|
|
[ [ Plain [ Str "Fee" ] ]
|
|
|
|
, [ Plain [ Str "Fie" ] ]
|
|
|
|
, [ Plain [ Str "Foe" ] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
]
|
|
|
|
]
|
|
|
|
, [ 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" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, OrderedList
|
2021-09-29 06:17:53 +02:00
|
|
|
( 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"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, Para [ Str "Autonumbering:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, OrderedList
|
2021-09-29 06:17:53 +02:00
|
|
|
( 1 , DefaultStyle , DefaultDelim )
|
|
|
|
[ [ Plain [ Str "Autonumber." ] ]
|
|
|
|
, [ Plain [ Str "More." ]
|
|
|
|
, OrderedList
|
|
|
|
( 1 , DefaultStyle , DefaultDelim ) [ [ Plain [ Str "Nested." ] ] ]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Autonumbering"
|
|
|
|
, Space
|
|
|
|
, Str "with"
|
|
|
|
, Space
|
|
|
|
, Str "explicit"
|
|
|
|
, Space
|
|
|
|
, Str "start:"
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, OrderedList
|
2021-09-29 06:17:53 +02:00
|
|
|
( 4 , LowerAlpha , TwoParens )
|
|
|
|
[ [ Plain [ Str "item" , Space , Str "1" ] ]
|
|
|
|
, [ Plain [ Str "item" , Space , Str "2" ] ]
|
|
|
|
]
|
|
|
|
, Header 2 ( "definition" , [] , [] ) [ Str "Definition" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, DefinitionList
|
2021-09-29 06:17:53 +02:00
|
|
|
[ ( [ 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."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
|
|
|
)
|
2021-09-29 06:17:53 +02:00
|
|
|
, ( [ Str "term"
|
|
|
|
, Space
|
|
|
|
, Str "with"
|
|
|
|
, Space
|
|
|
|
, Emph [ Str "emphasis" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, [ [ Para [ Str "Definition" , Space , Str "3." ] ] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
)
|
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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" ] ] ] )
|
|
|
|
]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, DefinitionList
|
2021-09-29 06:17:53 +02:00
|
|
|
[ ( [ Str "address" ]
|
|
|
|
, [ [ Para [ Str "61" , Space , Str "Main" , Space , Str "St." ] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
)
|
|
|
|
, ( [ 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" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Simple"
|
|
|
|
, Space
|
|
|
|
, Str "block"
|
|
|
|
, Space
|
|
|
|
, Str "on"
|
|
|
|
, Space
|
|
|
|
, Str "one"
|
|
|
|
, Space
|
|
|
|
, Str "line:"
|
|
|
|
]
|
|
|
|
, RawBlock (Format "html") "<div>foo</div>"
|
|
|
|
, Para [ Str "Now," , Space , Str "nested:" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, RawBlock
|
2021-09-29 06:17:53 +02:00
|
|
|
(Format "html")
|
|
|
|
"<div>\n <div>\n <div>\n foo\n </div>\n </div>\n</div>"
|
|
|
|
, Header
|
|
|
|
1 ( "latex-block" , [] , [] ) [ Str "LaTeX" , Space , Str "Block" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, RawBlock
|
2021-09-29 06:17:53 +02:00
|
|
|
(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" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "This"
|
|
|
|
, Space
|
|
|
|
, Str "is"
|
|
|
|
, Space
|
|
|
|
, Emph [ Str "emphasized" ]
|
|
|
|
, Str "."
|
|
|
|
, Space
|
|
|
|
, Str "This"
|
|
|
|
, Space
|
|
|
|
, Str "is"
|
|
|
|
, Space
|
|
|
|
, Strong [ Str "strong" ]
|
|
|
|
, Str "."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "This"
|
|
|
|
, Space
|
|
|
|
, Str "is"
|
|
|
|
, Space
|
|
|
|
, Str "code:"
|
|
|
|
, Space
|
|
|
|
, Code ( "" , [] , [] ) ">"
|
|
|
|
, Str ","
|
|
|
|
, Space
|
|
|
|
, Code ( "" , [] , [] ) "$"
|
|
|
|
, Str ","
|
|
|
|
, Space
|
|
|
|
, Code ( "" , [] , [] ) "\\"
|
|
|
|
, Str ","
|
|
|
|
, Space
|
|
|
|
, Code ( "" , [] , [] ) "\\$"
|
|
|
|
, Str ","
|
|
|
|
, Space
|
|
|
|
, Code ( "" , [] , [] ) "<html>"
|
|
|
|
, Str "."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Here"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "is"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "some"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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" ] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "AT&T"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "has"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
|
|
|
, Str "an"
|
|
|
|
, Space
|
|
|
|
, Str "ampersand"
|
|
|
|
, Space
|
|
|
|
, Str "in"
|
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "their"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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 "."
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Explicit"
|
|
|
|
, Space
|
|
|
|
, Str "with"
|
|
|
|
, Space
|
|
|
|
, Str "no"
|
|
|
|
, Space
|
|
|
|
, Str "label:"
|
|
|
|
, Space
|
|
|
|
, Link ( "" , [] , [] ) [ Str "foo" ] ( "foo" , "" )
|
|
|
|
, Str "."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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/" , "" )
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Another"
|
|
|
|
, Space
|
|
|
|
, Link
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Str "style"
|
|
|
|
, Space
|
|
|
|
, Str "of"
|
|
|
|
, Space
|
|
|
|
, Str "reference"
|
|
|
|
, Space
|
|
|
|
, Str "link"
|
|
|
|
]
|
|
|
|
( "/url1/" , "" )
|
|
|
|
, Str "."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Here\8217s"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "link"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "with"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "an"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "amersand"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "in"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "the"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "link"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "text:"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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" , "" )
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "and"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Link
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Str "nobody@nowhere.net" ]
|
|
|
|
( "mailto:nobody@nowhere.net" , "" )
|
|
|
|
, Str "."
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, Para [ Str "But" , Space , Str "not" , Space , Str "here:" ]
|
|
|
|
, CodeBlock ( "" , [] , [] ) "http://example.com/"
|
|
|
|
, Header 1 ( "images" , [] , [] ) [ Str "Images" ]
|
|
|
|
, Para
|
|
|
|
[ Str "From"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Quoted
|
|
|
|
DoubleQuote
|
|
|
|
[ Str "Voyage"
|
|
|
|
, Space
|
|
|
|
, Str "dans"
|
|
|
|
, Space
|
|
|
|
, Str "la"
|
|
|
|
, Space
|
|
|
|
, Str "Lune"
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "by"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "Georges"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "Melies"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "movie"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Image ( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "icon."
|
|
|
|
]
|
|
|
|
, Para
|
|
|
|
[ Str "And"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Str "an"
|
2021-09-19 21:09:51 +02:00
|
|
|
, Space
|
2021-09-29 06:17:53 +02:00
|
|
|
, Link
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Image ( "" , [] , [] ) [ Str "A movie" ] ( "movie.jpg" , "" ) ]
|
|
|
|
( "/url" , "" )
|
|
|
|
, Str "."
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, 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"
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, [ 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,"
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, [ 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?"
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, []
|
|
|
|
, [ Str "Continuation" , Space , Str "line" ]
|
|
|
|
, [ Str "\160\160and" , Space , Str "another" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, Header
|
|
|
|
1
|
|
|
|
( "simple-tables" , [] , [] )
|
|
|
|
[ Str "Simple" , Space , Str "Tables" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Table
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [] , [] )
|
|
|
|
(Caption Nothing [])
|
|
|
|
[ ( AlignDefault , ColWidthDefault )
|
|
|
|
, ( AlignDefault , ColWidthDefault )
|
|
|
|
, ( AlignDefault , ColWidthDefault )
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
(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" ] ]
|
|
|
|
]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
(TableFoot ( "" , [] , [] ) [])
|
|
|
|
, Para [ Str "Headless" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Table
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [] , [] )
|
|
|
|
(Caption Nothing [])
|
|
|
|
[ ( AlignDefault , ColWidthDefault )
|
|
|
|
, ( AlignDefault , ColWidthDefault )
|
|
|
|
, ( AlignDefault , ColWidthDefault )
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2022-02-11 18:42:24 +01:00
|
|
|
(TableHead ( "" , [] , [] ) [])
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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" ] ]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
(TableFoot ( "" , [] , [] ) [])
|
|
|
|
, Header
|
|
|
|
1 ( "grid-tables" , [] , [] ) [ Str "Grid" , Space , Str "Tables" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Table
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [] , [] )
|
|
|
|
(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" ] ]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
(TableFoot ( "" , [] , [] ) [])
|
|
|
|
, Para [ Str "Headless" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Table
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [] , [] )
|
|
|
|
(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" ] ]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
(TableFoot ( "" , [] , [] ) [])
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Spaces"
|
|
|
|
, Space
|
|
|
|
, Str "at"
|
|
|
|
, Space
|
|
|
|
, Str "ends"
|
|
|
|
, Space
|
|
|
|
, Str "of"
|
|
|
|
, Space
|
|
|
|
, Str "lines"
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Table
|
2021-09-29 06:17:53 +02:00
|
|
|
( "" , [] , [] )
|
|
|
|
(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" ] ]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
(TableFoot ( "" , [] , [] ) [])
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Multiple"
|
|
|
|
, Space
|
|
|
|
, Str "blocks"
|
|
|
|
, Space
|
|
|
|
, Str "in"
|
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, Space
|
|
|
|
, Str "cell"
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
, Table
|
|
|
|
( "" , [] , [] )
|
|
|
|
(Caption Nothing [])
|
|
|
|
[ ( AlignDefault , ColWidth 0.2375 )
|
|
|
|
, ( AlignDefault , ColWidth 0.15 )
|
|
|
|
, ( AlignDefault , ColWidth 0.1625 )
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
(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"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
(TableFoot ( "" , [] , [] ) [])
|
2022-07-30 17:56:44 +02:00
|
|
|
, Para
|
|
|
|
[ Str "Table"
|
|
|
|
, Space
|
|
|
|
, Str "with"
|
|
|
|
, Space
|
|
|
|
, Str "cells"
|
|
|
|
, Space
|
|
|
|
, Str "spanning"
|
|
|
|
, Space
|
|
|
|
, Str "multiple"
|
|
|
|
, Space
|
|
|
|
, Str "rows"
|
|
|
|
, Space
|
|
|
|
, Str "or"
|
|
|
|
, Space
|
|
|
|
, Str "columns:"
|
|
|
|
]
|
|
|
|
, Table
|
|
|
|
( "" , [] , [] )
|
|
|
|
(Caption Nothing [])
|
|
|
|
[ ( AlignDefault , ColWidth 0.175 )
|
|
|
|
, ( AlignDefault , ColWidth 0.1 )
|
|
|
|
, ( AlignDefault , ColWidth 0.1375 )
|
|
|
|
]
|
|
|
|
(TableHead
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Row
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 2)
|
|
|
|
[ Plain [ Str "Property" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "Earth" ] ]
|
|
|
|
]
|
|
|
|
])
|
|
|
|
[ TableBody
|
|
|
|
( "" , [] , [] )
|
|
|
|
(RowHeadColumns 0)
|
|
|
|
[]
|
|
|
|
[ Row
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 3)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "Temperature" , SoftBreak , Str "1961-1990" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "min" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "-89.2" , Space , Str "\176C" ] ]
|
|
|
|
]
|
|
|
|
, Row
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "mean" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "14" , Space , Str "\176C" ] ]
|
|
|
|
]
|
|
|
|
, Row
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "min" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "56.7" , Space , Str "\176C" ] ]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
(TableFoot ( "" , [] , [] ) [])
|
|
|
|
, Para
|
|
|
|
[ Str "Table"
|
|
|
|
, Space
|
|
|
|
, Str "with"
|
|
|
|
, Space
|
|
|
|
, Str "complex"
|
|
|
|
, Space
|
|
|
|
, Str "header:"
|
|
|
|
]
|
|
|
|
, Table
|
|
|
|
( "" , [] , [] )
|
|
|
|
(Caption Nothing [])
|
|
|
|
[ ( AlignDefault , ColWidth 0.275 )
|
|
|
|
, ( AlignDefault , ColWidth 0.1 )
|
|
|
|
, ( AlignDefault , ColWidth 0.1 )
|
|
|
|
, ( AlignDefault , ColWidth 0.1 )
|
|
|
|
]
|
|
|
|
(TableHead
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Row
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 2)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "Location" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 3)
|
|
|
|
[ Plain
|
|
|
|
[ Str "Temperature"
|
|
|
|
, Space
|
|
|
|
, Str "1961-1990"
|
|
|
|
, SoftBreak
|
|
|
|
, Str "in"
|
|
|
|
, Space
|
|
|
|
, Str "degree"
|
|
|
|
, Space
|
|
|
|
, Str "Celsius"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
, Row
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "min" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "mean" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "max" ] ]
|
|
|
|
]
|
|
|
|
])
|
|
|
|
[ TableBody
|
|
|
|
( "" , [] , [] )
|
|
|
|
(RowHeadColumns 0)
|
|
|
|
[]
|
|
|
|
[ Row
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "Antarctica" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "-89.2" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "N/A" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "19.8" ] ]
|
|
|
|
]
|
|
|
|
, Row
|
|
|
|
( "" , [] , [] )
|
|
|
|
[ Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "Earth" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "-89.2" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "14" ] ]
|
|
|
|
, Cell
|
|
|
|
( "" , [] , [] )
|
|
|
|
AlignDefault
|
|
|
|
(RowSpan 1)
|
|
|
|
(ColSpan 1)
|
|
|
|
[ Plain [ Str "56.7" ] ]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
(TableFoot ( "" , [] , [] ) [])
|
2021-09-29 06:17:53 +02:00
|
|
|
, Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Note
|
|
|
|
[ Para
|
|
|
|
[ Str "Note"
|
|
|
|
, Space
|
|
|
|
, Str "with"
|
|
|
|
, Space
|
|
|
|
, Str "one"
|
|
|
|
, Space
|
|
|
|
, Str "line."
|
|
|
|
]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Note
|
|
|
|
[ Para
|
|
|
|
[ Str "Note"
|
|
|
|
, Space
|
|
|
|
, Str "with"
|
|
|
|
, SoftBreak
|
|
|
|
, Str "continuation"
|
|
|
|
, Space
|
|
|
|
, Str "line."
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Note
|
|
|
|
[ Para [ Str "Note" , Space , Str "with" ]
|
|
|
|
, Para [ Str "continuation" , Space , Str "block." ]
|
|
|
|
]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Math DisplayMath "E = mc^2"
|
|
|
|
, Math DisplayMath "\\alpha = \\beta"
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2022-03-29 17:50:55 +02:00
|
|
|
[ Span
|
|
|
|
( "" , [] , [ ( "label" , "hithere" ) , ( "nowrap" , "" ) ] )
|
|
|
|
[ Math
|
|
|
|
DisplayMath
|
|
|
|
"\\begin{aligned}\nE &= mc^2\\\\\nF &= \\pi E\n\\end{aligned}"
|
|
|
|
, Math DisplayMath "F &= \\gamma \\alpha^2"
|
|
|
|
]
|
2021-09-29 06:17:53 +02:00
|
|
|
]
|
|
|
|
, Para [ Str "All" , Space , Str "done." ]
|
|
|
|
, Header 1 ( "default-role" , [] , [] ) [ Str "Default-Role" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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"
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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 "."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Math DisplayMath "\\alpha = beta" , Math DisplayMath "E = mc^2" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Some"
|
|
|
|
, Space
|
|
|
|
, Superscript [ Str "of" ]
|
|
|
|
, Space
|
|
|
|
, Str "these"
|
|
|
|
, Space
|
|
|
|
, Superscript [ Str "words" ]
|
|
|
|
, Space
|
|
|
|
, Str "are"
|
|
|
|
, Space
|
|
|
|
, Str "in"
|
|
|
|
, Space
|
|
|
|
, Superscript [ Str "superscript" ]
|
|
|
|
, Str "."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Reset"
|
|
|
|
, Space
|
|
|
|
, Str "default-role"
|
|
|
|
, Space
|
|
|
|
, Str "to"
|
|
|
|
, Space
|
|
|
|
, Str "the"
|
|
|
|
, Space
|
|
|
|
, Str "default"
|
|
|
|
, Space
|
|
|
|
, Str "default."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "And"
|
|
|
|
, Space
|
|
|
|
, Str "now"
|
|
|
|
, Space
|
|
|
|
, Span
|
|
|
|
( "" , [ "title-ref" ] , [] ) [ Str "some-invalid-string-3231231" ]
|
|
|
|
, Space
|
|
|
|
, Str "is"
|
|
|
|
, Space
|
|
|
|
, Str "nonsense."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "And"
|
|
|
|
, Space
|
|
|
|
, Str "now"
|
|
|
|
, Space
|
|
|
|
, Str "with"
|
|
|
|
, Space
|
|
|
|
, RawInline
|
|
|
|
(Format "html") "<b>inline</b> <span id=\"test\">HTML</span>"
|
|
|
|
, Str "."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "And"
|
|
|
|
, Space
|
|
|
|
, Str "some"
|
|
|
|
, Space
|
|
|
|
, Str "inline"
|
|
|
|
, Space
|
|
|
|
, Str "haskell"
|
|
|
|
, Space
|
|
|
|
, Code ( "" , [ "haskell" ] , [] ) "fmap id [1,2..10]"
|
|
|
|
, Str "."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Indirect"
|
|
|
|
, Space
|
|
|
|
, Str "python"
|
|
|
|
, Space
|
|
|
|
, Str "role"
|
|
|
|
, Space
|
|
|
|
, Code
|
|
|
|
( "" , [ "py" , "python" , "indirect" ] , [] )
|
|
|
|
"[x*x for x in [1,2,3,4,5]]"
|
|
|
|
, Str "."
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
, Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ 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" ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|