Pandoc
  Meta
    { unMeta =
        fromList
          [ ( "date" , MetaInlines [ Str "2017-05-01" ] )
          , ( "title" , MetaInlines [ Str "title" ] )
          ]
    }
  [ Header
      1
      ( "implemented" , [] , [] )
      [ Emph
          [ Span ( "implemented" , [] , [] ) []
          , Strong [ Str "implemented" ]
          ]
      ]
  , Header 1 ( "header" , [] , [] ) [ Str "header" ]
  , Header
      2
      ( "header level two" , [] , [] )
      [ Str "header" , Space , Str "level" , Space , Str "two" ]
  , Header
      3
      ( "header level 3" , [] , [] )
      [ Str "header"
      , Space
      , Code ( "" , [] , [] ) "level"
      , Space
      , Str "3"
      ]
  , Header
      4
      ( "header level four" , [] , [] )
      [ Str "header"
      , Space
      , Strikeout [ Str "level" ]
      , Space
      , Str "four"
      ]
  , Header
      5
      ( "header level 5" , [] , [] )
      [ Str "header"
      , Space
      , Emph
          [ Span ( "level" , [] , [] ) []
          , Strong [ Str "level" ]
          , Space
          , Str "5"
          ]
      ]
  , Header
      6
      ( "header level 6" , [] , [] )
      [ Str "header" , Space , Str "level" , Space , Str "6" ]
  , Para
      [ Str "======="
      , Space
      , Str "not"
      , Space
      , Str "a"
      , Space
      , Str "header"
      , Space
      , Str "========"
      ]
  , Para
      [ Str "hi=="
      , Space
      , Str "not"
      , Space
      , Str "a"
      , Space
      , Str "header"
      , Space
      , Str "=="
      ]
  , Para
      [ Str "==="
      , Space
      , Str "not"
      , Space
      , Str "a"
      , Space
      , Str "header"
      , Space
      , Str "=="
      ]
  , Para
      [ Str "==="
      , Space
      , Str "not"
      , Space
      , Str "a"
      , Space
      , Str "header"
      , Space
      , Str "===-"
      ]
  , Para
      [ Str "not" , Space , Str "a" , Space , Str "header:" ]
  , Para [ Str "=n=" ]
  , Para
      [ Str "==="
      , Space
      , Str "not"
      , Space
      , Str "a"
      , Space
      , Str "header"
      , Space
      , Str "===="
      ]
  , Header
      2
      ( "centred header" , [ "justcenter" ] , [] )
      [ Str "centred" , Space , Str "header" ]
  , Header
      2
      ( "header with some == in between" , [] , [] )
      [ Str "header"
      , Space
      , Str "with"
      , Space
      , Str "some"
      , Space
      , Code ( "" , [] , [] ) "=="
      , Space
      , Str "in"
      , Space
      , Str "between"
      ]
  , Header
      2
      ( "header with some == in between" , [] , [] )
      [ Str "header"
      , Space
      , Str "with"
      , Space
      , Str "some"
      , Space
      , Str "=="
      , Space
      , Str "in"
      , Space
      , Str "between"
      ]
  , Header
      2
      ( "header with some ==in between" , [] , [] )
      [ Str "header"
      , Space
      , Str "with"
      , Space
      , Str "some"
      , Space
      , Str "==in"
      , Space
      , Str "between"
      ]
  , Header
      2
      ( "emph strong and strikeout" , [] , [] )
      [ Str "emph"
      , Space
      , Str "strong"
      , Space
      , Str "and"
      , Space
      , Str "strikeout"
      ]
  , Para
      [ Emph [ Str "emph" ]
      , Space
      , Span ( "strong" , [] , [] ) []
      , Strong [ Str "strong" ]
      ]
  , Para
      [ Span ( "strong and emph" , [] , [] ) []
      , Strong
          [ Emph
              [ Str "strong" , Space , Str "and" , Space , Str "emph" ]
          ]
      ]
  , Para
      [ Emph
          [ Span ( "emph and strong" , [] , [] ) []
          , Strong
              [ Str "emph" , Space , Str "and" , Space , Str "strong" ]
          ]
      ]
  , Para
      [ Span ( "emph inside strong" , [] , [] ) []
      , Strong
          [ Emph [ Str "emph" , Space , Str "inside" ]
          , Space
          , Str "strong"
          ]
      ]
  , Para
      [ Span ( "strong with emph" , [] , [] ) []
      , Strong
          [ Str "strong"
          , Space
          , Str "with"
          , Space
          , Emph [ Str "emph" ]
          ]
      ]
  , Para
      [ Emph
          [ Span ( "strong inside" , [] , [] ) []
          , Strong [ Str "strong" , Space , Str "inside" ]
          , Space
          , Str "emph"
          ]
      ]
  , Para
      [ Emph
          [ Strikeout [ Str "strikeout" ]
          , Space
          , Str "inside"
          , Space
          , Str "emph"
          ]
      ]
  , Para
      [ Strikeout
          [ Str "This"
          , Space
          , Str "is"
          , Space
          , Emph [ Str "struck" , Space , Str "out" ]
          , Space
          , Str "with"
          , Space
          , Str "emph"
          ]
      ]
  , Para [ Str "*not" , SoftBreak , Str "strong*" ]
  , Para
      [ Str "just"
      , Space
      , Str "two"
      , Space
      , Str "stars:"
      , Space
      , Str "**"
      ]
  , Para
      [ Str "just"
      , Space
      , Str "two"
      , Space
      , Str "underscores:"
      , Space
      , Str "__"
      ]
  , Para
      [ Str "just"
      , Space
      , Str "four"
      , Space
      , Str "~s:"
      , Space
      , Str "~~~~"
      ]
  , Para [ Str "_not" , SoftBreak , Str "emph_" ]
  , Para [ Str "~~not" , SoftBreak , Str "strikeout~~" ]
  , Header
      2
      ( "horizontal rule" , [] , [] )
      [ Str "horizontal" , Space , Str "rule" ]
  , Para [ Str "top" ]
  , HorizontalRule
  , Para [ Str "middle" ]
  , HorizontalRule
  , Para
      [ Str "not" , Space , Str "a" , Space , Str "rule-----" ]
  , Para
      [ Str "not"
      , Space
      , Str "a"
      , Space
      , Str "rule"
      , Space
      , Str "(trailing"
      , Space
      , Str "spaces):"
      , SoftBreak
      , Str "-----"
      ]
  , Para
      [ Str "not"
      , Space
      , Str "a"
      , Space
      , Str "rule"
      , Space
      , Str "(leading"
      , Space
      , Str "spaces):"
      , SoftBreak
      , Str "----"
      ]
  , Header 2 ( "comments" , [] , [] ) [ Str "comments" ]
  , Para
      [ Str "this"
      , SoftBreak
      , Str "is"
      , Space
      , Str "%%"
      , Space
      , Str "not"
      , Space
      , Str "secret"
      ]
  , Header
      2
      ( "inline code" , [] , [] )
      [ Str "inline" , Space , Str "code" ]
  , Para
      [ Str "Here"
      , Space
      , Str "is"
      , Space
      , Str "some"
      , Space
      , Code ( "" , [] , [] ) "inline code"
      , Str "."
      ]
  , Para
      [ Str "Just"
      , Space
      , Str "two"
      , Space
      , Str "backticks:"
      , Space
      , Str "``"
      ]
  , Header
      2
      ( "preformatted text" , [] , [] )
      [ Str "preformatted" , Space , Str "text" ]
  , CodeBlock
      ( "" , [] , [] )
      "  Tyger! Tyger! burning bright\n   In the forests of the night,\n    What immortal hand or eye\n     Could frame thy fearful symmetry?\n  In what distant deeps or skies\n   Burnt the fire of thine eyes?\n    On what wings dare he aspire?\n     What the hand dare sieze the fire?"
  , Header
      3
      ( "preformatted text with attributes" , [] , [] )
      [ Str "preformatted"
      , Space
      , Str "text"
      , Space
      , Str "with"
      , Space
      , Str "attributes"
      ]
  , CodeBlock
      ( ""
      , []
      , [ ( "class" , "python" ) , ( "style" , "color:blue" ) ]
      )
      " for i in range(1, 5):\n     print(i)"
  , Header
      3
      ( "preformatted text with nested syntax" , [] , [] )
      [ Str "preformatted"
      , Space
      , Str "text"
      , Space
      , Str "with"
      , Space
      , Str "nested"
      , Space
      , Str "syntax"
      ]
  , CodeBlock ( "" , [ "sql" ] , [] ) "SELECT * FROM table"
  , Header
      3
      ( "empty preformatted text" , [] , [] )
      [ Str "empty"
      , Space
      , Str "preformatted"
      , Space
      , Str "text"
      ]
  , CodeBlock ( "" , [] , [] ) ""
  , Header
      2
      ( "block quotes" , [] , [] )
      [ Str "block" , Space , Str "quotes" ]
  , BlockQuote
      [ Plain
          [ Str "(indentation"
          , Space
          , Str "4"
          , Space
          , Str "spaces)"
          , Space
          , Str "This"
          , Space
          , Str "would"
          , Space
          , Str "be"
          , Space
          , Str "a"
          , Space
          , Str "blockquote"
          , Space
          , Str "in"
          , Space
          , Str "Vimwiki."
          , Space
          , Str "It"
          , Space
          , Str "is"
          , Space
          , Str "not"
          , Space
          , Span ( "highlighted" , [] , [] ) []
          , Strong [ Str "highlighted" ]
          , Space
          , Str "in"
          , Space
          , Str "Vim"
          , Space
          , Str "but"
          , SoftBreak
          , Str "(indentation"
          , Space
          , Str "1"
          , Space
          , Str "space"
          , Space
          , Str "followed"
          , Space
          , Str "by"
          , Space
          , Str "1"
          , Space
          , Str "tab"
          , Space
          , Str "of"
          , Space
          , Str "width"
          , Space
          , Str "4)"
          , Space
          , Str "could"
          , Space
          , Str "be"
          , Space
          , Str "styled"
          , Space
          , Str "by"
          , Space
          , Str "CSS"
          , Space
          , Str "in"
          , Space
          , Str "HTML."
          , Space
          , Str "Blockquotes"
          , Space
          , Str "are"
          , Space
          , Str "usually"
          , Space
          , Str "used"
          , Space
          , Str "to"
          , Space
          , Str "quote"
          , Space
          , Str "a"
          , SoftBreak
          , Str "(indentation"
          , Space
          , Str "1"
          , Space
          , Str "tab"
          , Space
          , Str "of"
          , Space
          , Str "width"
          , Space
          , Str "4)"
          , Space
          , Str "long"
          , Space
          , Str "piece"
          , Space
          , Str "of"
          , Space
          , Str "text"
          , Space
          , Str "from"
          , Space
          , Str "another"
          , Space
          , Str "source."
          , Space
          , Strikeout [ Str "blah" , Space , Str "blah" ]
          , Space
          , Span ( "-blockquote" , [] , [] ) [ Str "" ]
          , Span
              ( "blockquote" , [ "tag" ] , [] ) [ Str "blockquote" ]
          ]
      ]
  , Header
      2
      ( "external links" , [] , [] )
      [ Str "external" , Space , Str "links" ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Emph [ Str "Google" ]
          , Space
          , Str "search"
          , Space
          , Str "engine"
          ]
          ( "http://google.com" , "" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "http://pandoc.org" ]
          ( "http://pandoc.org" , "" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "ftp://vim.org" ]
          ( "ftp://vim.org" , "" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "http://google.com" ]
          ( "http://google.com" , "" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "email" , Space , Str "me" ]
          ( "mailto:info@example.org" , "" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "mailto:hello@bye.com" ]
          ( "mailto:hello@bye.com" , "" )
      ]
  , Header
      2
      ( "internal links" , [] , [] )
      [ Str "internal" , Space , Str "links" ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "This is a link" ]
          ( "This is a link" , "wikilink" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "Description"
          , Space
          , Str "of"
          , Space
          , Str "the"
          , Space
          , Str "link"
          ]
          ( "This is a link source" , "wikilink" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "projects/Important Project 1" ]
          ( "projects/Important Project 1" , "wikilink" )
      , SoftBreak
      , Link
          ( "" , [] , [] )
          [ Str "../index" ]
          ( "../index" , "wikilink" )
      , SoftBreak
      , Link
          ( "" , [] , [] )
          [ Str "Other" , Space , Str "files" ]
          ( "a subdirectory/" , "wikilink" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "try"
          , Space
          , Str "me"
          , Space
          , Str "to"
          , Space
          , Str "test"
          , Space
          , Str "tag"
          , Space
          , Str "anchors"
          ]
          ( "#tag-one" , "wikilink" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "try"
          , Space
          , Str "me"
          , Space
          , Str "to"
          , Space
          , Str "test"
          , Space
          , Str "header"
          , Space
          , Str "anchors"
          ]
          ( "#block quotes" , "wikilink" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "try"
          , Space
          , Str "me"
          , Space
          , Str "to"
          , Space
          , Str "test"
          , Space
          , Str "strong"
          , Space
          , Str "anchors"
          ]
          ( "#strong" , "wikilink" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "Tasks" , Space , Str "for" , Space , Str "tomorrow" ]
          ( "Todo List#Tomorrow" , "wikilink" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "diary:2017-05-01" ]
          ( "diary/2017-05-01" , "wikilink" )
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Str "Important" , Space , Str "Data" ]
          ( "file:../assets/data.csv" , "" )
      ]
  , Header
      3
      ( "links with thumbnails" , [] , [] )
      [ Str "links"
      , Space
      , Str "with"
      , Space
      , Str "thumbnails"
      ]
  , Para
      [ Link
          ( "" , [] , [] )
          [ Image ( "" , [] , [] ) [ Str "" ] ( "./movie.jpg" , "" ) ]
          ( "http://www.google.com" , "" )
      ]
  , Header 2 ( "images" , [] , [] ) [ Str "images" ]
  , Para
      [ Image
          ( "" , [] , [] ) [ Str "" ] ( "file:./lalune.jpg" , "" )
      ]
  , Para
      [ Image
          ( "" , [] , [] )
          [ Str "Vimwiki" ]
          ( "http://vimwiki.googlecode.com/hg/images/vimwiki_logo.png"
          , ""
          )
      , SoftBreak
      , Image
          ( "" , [] , [] ) [ Str "" ] ( "file:./movie.jpg" , "" )
      ]
  , Header
      3
      ( "image with attributes" , [] , [] )
      [ Str "image"
      , Space
      , Str "with"
      , Space
      , Str "attributes"
      ]
  , Para
      [ Image
          ( "" , [] , [ ( "style" , "width:150px;height:120px;" ) ] )
          [ Emph [ Str "cool" , Space , Str "stuff" ] ]
          ( "lalune.jpg" , "" )
      ]
  , Para
      [ Image
          ( "" , [] , [ ( "style" , "font-color:red" ) ] )
          [ Span ( "Non-existing" , [] , [] ) []
          , Strong [ Str "Non-existing" ]
          , Space
          , Str "image"
          ]
          ( "nonexist.jpg" , "" )
      ]
  , Para
      [ Image
          ( "" , [] , [ ( "style" , "width:150px;height:120px;" ) ] )
          [ Emph [ Str "cool" , Space , Str "stuff" ] ]
          ( "lalune.jpg" , "" )
      ]
  , Header 2 ( "lists" , [] , [] ) [ Str "lists" ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain
            [ Str "ordered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1,"
            , Space
            , Str "and"
            , Space
            , Str "here"
            , Space
            , Str "is"
            , Space
            , Str "some"
            , Space
            , Str "math"
            , Space
            , Str "belonging"
            , Space
            , Str "to"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        , Para [ Math DisplayMath "a^2 + b^2 = c^2" ]
        , Plain
            [ Str "and"
            , Space
            , Str "some"
            , Space
            , Str "preformatted"
            , Space
            , Str "and"
            , Space
            , Str "tables"
            , Space
            , Str "belonging"
            , Space
            , Str "to"
            , Space
            , Str "item"
            , Space
            , Str "1"
            , Space
            , Str "as"
            , Space
            , Str "well"
            ]
        , CodeBlock ( "" , [] , [] ) "I'm part of item 1."
        , Table
            ( "" , [] , [] )
            (Caption Nothing [])
            [ ( AlignDefault , ColWidthDefault )
            , ( AlignDefault , ColWidthDefault )
            ]
            (TableHead
               ( "" , [] , [] )
               [ Row
                   ( "" , [] , [] )
                   [ Cell
                       ( "" , [] , [] )
                       AlignDefault
                       (RowSpan 1)
                       (ColSpan 1)
                       []
                   , Cell
                       ( "" , [] , [] )
                       AlignDefault
                       (RowSpan 1)
                       (ColSpan 1)
                       []
                   ]
               ])
            [ TableBody
                ( "" , [] , [] )
                (RowHeadColumns 0)
                []
                [ Row
                    ( "" , [] , [] )
                    [ Cell
                        ( "" , [] , [] )
                        AlignDefault
                        (RowSpan 1)
                        (ColSpan 1)
                        [ Plain [ Str "this" , Space , Str "table" ] ]
                    , Cell
                        ( "" , [] , [] )
                        AlignDefault
                        (RowSpan 1)
                        (ColSpan 1)
                        [ Plain [ Str "is" ] ]
                    ]
                , Row
                    ( "" , [] , [] )
                    [ Cell
                        ( "" , [] , [] )
                        AlignDefault
                        (RowSpan 1)
                        (ColSpan 1)
                        [ Plain
                            [ Str "also"
                            , Space
                            , Str "a"
                            , Space
                            , Str "part"
                            ]
                        ]
                    , Cell
                        ( "" , [] , [] )
                        AlignDefault
                        (RowSpan 1)
                        (ColSpan 1)
                        [ Plain
                            [ Str "of"
                            , Space
                            , Str "item"
                            , Space
                            , Str "1"
                            ]
                        ]
                    ]
                ]
            ]
            (TableFoot ( "" , [] , [] ) [])
        , Plain
            [ Str "and"
            , Space
            , Str "some"
            , Space
            , Str "more"
            , Space
            , Str "text"
            , Space
            , Str "belonging"
            , Space
            , Str "to"
            , Space
            , Str "item"
            , Space
            , Str "1."
            ]
        ]
      , [ Plain
            [ Str "ordered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      ]
  , BulletList
      [ [ Plain
            [ Str "Bulleted"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Bulleted"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain
            [ Str "Bulleted"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "the"
            , Space
            , Str "#"
            , Space
            , Str "become"
            , Space
            , Str "numbers"
            , Space
            , Str "when"
            , Space
            , Str "converted"
            , Space
            , Str "to"
            , Space
            , Str "HTML"
            ]
        ]
      ]
  , BulletList
      [ [ Plain
            [ Str "Bulleted"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Bulleted"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      ]
  , BulletList
      [ [ Plain [ Str "Item" , Space , Str "1" ] ]
      , [ Plain [ Str "Item" , Space , Str "2" ]
        , OrderedList
            ( 1 , DefaultStyle , DefaultDelim )
            [ [ Plain
                  [ Str "Sub"
                  , Space
                  , Str "item"
                  , Space
                  , Str "1"
                  , Space
                  , Str "(indentation"
                  , Space
                  , Str "4"
                  , Space
                  , Str "spaces)"
                  , SoftBreak
                  , Str "Sub"
                  , Space
                  , Str "item"
                  , Space
                  , Str "1"
                  , Space
                  , Str "continued"
                  , Space
                  , Str "line."
                  , SoftBreak
                  , Str "Sub"
                  , Space
                  , Str "item"
                  , Space
                  , Str "1"
                  , Space
                  , Str "next"
                  , Space
                  , Str "continued"
                  , Space
                  , Str "line."
                  ]
              ]
            , [ Plain
                  [ Str "Sub"
                  , Space
                  , Str "item"
                  , Space
                  , Str "2,"
                  , Space
                  , Str "as"
                  , Space
                  , Str "an"
                  , Space
                  , Str "ordered"
                  , Space
                  , Str "list"
                  , Space
                  , Str "item"
                  , Space
                  , Str "even"
                  , Space
                  , Str "though"
                  , Space
                  , Str "the"
                  , Space
                  , Str "identifier"
                  , Space
                  , Str "is"
                  , Space
                  , Code ( "" , [] , [] ) "*"
                  , Space
                  , Str "(indentation"
                  , Space
                  , Str "2"
                  , Space
                  , Str "spaces"
                  , Space
                  , Str "followed"
                  , Space
                  , Str "by"
                  , Space
                  , Str "one"
                  , Space
                  , Str "tab"
                  , Space
                  , Str "of"
                  , Space
                  , Str "width"
                  , Space
                  , Str "4)"
                  ]
              ]
            , [ Plain
                  [ Str "etc."
                  , SoftBreak
                  , Str "Continuation"
                  , Space
                  , Str "of"
                  , Space
                  , Str "Item"
                  , Space
                  , Str "2"
                  , SoftBreak
                  , Str "Next"
                  , Space
                  , Str "continuation"
                  , Space
                  , Str "of"
                  , Space
                  , Str "Item"
                  , Space
                  , Str "2"
                  ]
              ]
            ]
        ]
      ]
  , Para
      [ Str "But"
      , Space
      , Str "this"
      , Space
      , Str "is"
      , Space
      , Str "a"
      , Space
      , Str "new"
      , Space
      , Str "paragraph."
      ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain [ Str "1" ]
        , BulletList [ [ Plain [ Code ( "" , [] , [] ) "1.1" ] ] ]
        ]
      , [ Plain [ Str "2" ]
        , BulletList [ [ Plain [ Str "2.1" ] ] ]
        ]
      ]
  , BulletList [ [ Plain [ Str "3" ] ] ]
  , Header
      3
      ( "ordered lists with non-# identifiers" , [] , [] )
      [ Str "ordered"
      , Space
      , Str "lists"
      , Space
      , Str "with"
      , Space
      , Str "non-#"
      , Space
      , Str "identifiers"
      ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "3"
            ]
        ]
      ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "3"
            ]
        ]
      ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "3"
            ]
        ]
      ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "3"
            ]
        ]
      ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "3"
            ]
        ]
      ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "3"
            ]
        ]
      ]
  , OrderedList
      ( 1 , DefaultStyle , DefaultDelim )
      [ [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        ]
      , [ Plain
            [ Str "Numbered"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "3"
            ]
        ]
      ]
  , BulletList
      [ [ Plain
            [ Str "Bulleted"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "1"
            ]
        ]
      , [ Plain
            [ Str "Bulleted"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "2"
            ]
        , OrderedList
            ( 1 , DefaultStyle , DefaultDelim )
            [ [ Plain
                  [ Str "Numbered"
                  , Space
                  , Str "list"
                  , Space
                  , Str "sub"
                  , Space
                  , Str "item"
                  , Space
                  , Str "1"
                  ]
              ]
            , [ Plain [ Str "more" , Space , Str "..." ]
              , BulletList
                  [ [ Plain
                        [ Str "and"
                        , Space
                        , Str "more"
                        , Space
                        , Str "..."
                        ]
                    ]
                  , [ Plain [ Str "..." ] ]
                  ]
              ]
            , [ Plain
                  [ Str "Numbered"
                  , Space
                  , Str "list"
                  , Space
                  , Str "sub"
                  , Space
                  , Str "item"
                  , Space
                  , Str "3"
                  ]
              , OrderedList
                  ( 1 , DefaultStyle , DefaultDelim )
                  [ [ Plain
                        [ Str "Numbered"
                        , Space
                        , Str "list"
                        , Space
                        , Str "sub"
                        , Space
                        , Str "sub"
                        , Space
                        , Str "item"
                        , Space
                        , Str "1"
                        ]
                    ]
                  , [ Plain
                        [ Str "Numbered"
                        , Space
                        , Str "list"
                        , Space
                        , Str "sub"
                        , Space
                        , Str "sub"
                        , Space
                        , Str "item"
                        , Space
                        , Str "2"
                        ]
                    ]
                  ]
              ]
            , [ Plain [ Str "etc." ] ]
            ]
        ]
      , [ Plain
            [ Str "Bulleted"
            , Space
            , Str "list"
            , Space
            , Str "item"
            , Space
            , Str "3"
            ]
        ]
      ]
  , Header
      2
      ( "todo lists" , [] , [] )
      [ Str "todo" , Space , Str "lists" ]
  , BulletList
      [ [ Plain
            [ Span ( "" , [ "done0" ] , [] ) []
            , Str "task"
            , Space
            , Str "1"
            ]
        , OrderedList
            ( 1 , DefaultStyle , DefaultDelim )
            [ [ Plain [ Span ( "" , [ "done1" ] , [] ) [] , Str "5" ] ]
            ]
        ]
      , [ Plain [ Span ( "" , [ "done2" ] , [] ) [] , Str "3" ] ]
      , [ Plain
            [ Str "[]"
            , Space
            , Str "not"
            , Space
            , Str "a"
            , Space
            , Str "todo"
            , Space
            , Str "item"
            ]
        ]
      , [ Plain
            [ Str "["
            , Space
            , Str "]not"
            , Space
            , Str "a"
            , Space
            , Str "todo"
            , Space
            , Str "item"
            ]
        ]
      , [ Plain
            [ Str "[r]"
            , Space
            , Str "not"
            , Space
            , Str "a"
            , Space
            , Str "todo"
            , Space
            , Str "item"
            ]
        ]
      , [ Plain
            [ Str "["
            , Space
            , Str "]"
            , Space
            , Str "not"
            , Space
            , Str "a"
            , Space
            , Str "todo"
            , Space
            , Str "item"
            ]
        ]
      , [ Plain
            [ Span ( "" , [ "done2" ] , [] ) []
            , Str "a"
            , Space
            , Str "tab"
            , Space
            , Str "in"
            , Space
            , Str "the"
            , Space
            , Str "todo"
            , Space
            , Str "list"
            , Space
            , Str "marker"
            , Space
            , Code ( "" , [] , [] ) "[ ]"
            ]
        , OrderedList
            ( 1 , DefaultStyle , DefaultDelim )
            [ [ Plain
                  [ Span ( "" , [ "done3" ] , [] ) []
                  , Str "4"
                  , SoftBreak
                  , Str "5"
                  ]
              ]
            , [ Plain [ Span ( "" , [ "done4" ] , [] ) [] ]
              , Table
                  ( "" , [] , [] )
                  (Caption Nothing [])
                  [ ( AlignDefault , ColWidthDefault )
                  , ( AlignDefault , ColWidthDefault )
                  ]
                  (TableHead
                     ( "" , [] , [] )
                     [ Row
                         ( "" , [] , [] )
                         [ Cell
                             ( "" , [] , [] )
                             AlignDefault
                             (RowSpan 1)
                             (ColSpan 1)
                             []
                         , Cell
                             ( "" , [] , [] )
                             AlignDefault
                             (RowSpan 1)
                             (ColSpan 1)
                             []
                         ]
                     ])
                  [ TableBody
                      ( "" , [] , [] )
                      (RowHeadColumns 0)
                      []
                      [ Row
                          ( "" , [] , [] )
                          [ Cell
                              ( "" , [] , [] )
                              AlignDefault
                              (RowSpan 1)
                              (ColSpan 1)
                              [ Plain [ Str "a" ] ]
                          , Cell
                              ( "" , [] , [] )
                              AlignDefault
                              (RowSpan 1)
                              (ColSpan 1)
                              [ Plain [ Str "b" ] ]
                          ]
                      ]
                  ]
                  (TableFoot ( "" , [] , [] ) [])
              ]
            ]
        ]
      , [ Plain
            [ Span ( "" , [ "done4" ] , [] ) []
            , Str "task"
            , Space
            , Str "2"
            ]
        ]
      ]
  , Header 2 ( "math" , [] , [] ) [ Str "math" ]
  , Para [ Math InlineMath " \\sum_i a_i^2 = 1 " ]
  , Para [ Math DisplayMath "\\sum_i a_i^2\n=\n1" ]
  , Para
      [ Math
          DisplayMath
          "\\begin{aligned}\n\\sum_i a_i^2 &= 1 + 1 \\\\\n&= 2.\n\\end{aligned}"
      ]
  , Para
      [ Str "edge"
      , Space
      , Str "case"
      , Space
      , Str "(the"
      , Space
      , Code ( "" , [] , [] ) "c^2 + "
      , Space
      , Str "after"
      , Space
      , Str "the"
      , Space
      , Str "multline"
      , Space
      , Str "tag"
      , Space
      , Str "is"
      , Space
      , Str "in"
      , Space
      , Str "the"
      , Space
      , Str "equation):"
      ]
  , Para
      [ Math
          DisplayMath
          "\\begin{gathered}\nc^2 + \na^2 + b^2\n\\end{gathered}"
      ]
  , Para
      [ Str "edge"
      , Space
      , Str "case"
      , Space
      , Str "(the"
      , Space
      , Str "tag"
      , Space
      , Str "is"
      , Space
      , Code ( "" , [] , [] ) "hello%bye"
      , Str ")"
      ]
  , Para
      [ Math
          DisplayMath
          "\\begin{hello%bye}\n\\int_a^b f(x) dx\n\\end{hello%bye}"
      ]
  , Para
      [ Str "Just"
      , Space
      , Str "two"
      , Space
      , Str "dollar"
      , Space
      , Str "signs:"
      , Space
      , Str "$$"
      ]
  , Para
      [ Str "[not"
      , Space
      , Str "math]"
      , Space
      , Str "You"
      , Space
      , Str "have"
      , Space
      , Str "$1"
      , SoftBreak
      , Str "and"
      , Space
      , Str "I"
      , Space
      , Str "have"
      , Space
      , Str "$1."
      ]
  , Header 2 ( "tags" , [] , [] ) [ Str "tags" ]
  , Para
      [ Span ( "-tag-one" , [] , [] ) [ Str "" ]
      , Span ( "tag-one" , [ "tag" ] , [] ) [ Str "tag-one" ]
      , Space
      , Span ( "-tag-two" , [] , [] ) [ Str "" ]
      , Span ( "tag-two" , [ "tag" ] , [] ) [ Str "tag-two" ]
      ]
  , Header 2 ( "tables" , [] , [] ) [ Str "tables" ]
  , Table
      ( "" , [] , [] )
      (Caption Nothing [])
      [ ( AlignDefault , ColWidthDefault )
      , ( AlignDefault , ColWidthDefault )
      , ( AlignDefault , ColWidthDefault )
      ]
      (TableHead
         ( "" , [] , [] )
         [ Row
             ( "" , [] , [] )
             [ Cell
                 ( "" , [] , [] )
                 AlignDefault
                 (RowSpan 1)
                 (ColSpan 1)
                 [ Plain [ Str "Year" ] ]
             , Cell
                 ( "" , [] , [] )
                 AlignDefault
                 (RowSpan 1)
                 (ColSpan 1)
                 [ Plain [ Str "Temperature" , Space , Str "(low)" ] ]
             , Cell
                 ( "" , [] , [] )
                 AlignDefault
                 (RowSpan 1)
                 (ColSpan 1)
                 [ Plain [ Str "Temperature" , Space , Str "(high)" ] ]
             ]
         ])
      [ TableBody
          ( "" , [] , [] )
          (RowHeadColumns 0)
          []
          [ Row
              ( "" , [] , [] )
              [ Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "1900" ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "-10" ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "25" ] ]
              ]
          , Row
              ( "" , [] , [] )
              [ Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "1910" ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "-15" ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "30" ] ]
              ]
          , Row
              ( "" , [] , [] )
              [ Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "1920" ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "-10" ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "32" ] ]
              ]
          , Row
              ( "" , [] , [] )
              [ Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "1930" ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Emph [ Str "N/A" ] ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Emph [ Str "N/A" ] ] ]
              ]
          , Row
              ( "" , [] , [] )
              [ Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "1940" ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "-2" ] ]
              , Cell
                  ( "" , [] , [] )
                  AlignDefault
                  (RowSpan 1)
                  (ColSpan 1)
                  [ Plain [ Str "40" ] ]
              ]
          ]
      ]
      (TableFoot ( "" , [] , [] ) [])
  , Header
      3
      ( "centered headerless tables" , [] , [] )
      [ Str "centered"
      , Space
      , Str "headerless"
      , Space
      , Str "tables"
      ]
  , Div
      ( "" , [ "center" ] , [] )
      [ Table
          ( "" , [] , [] )
          (Caption Nothing [])
          [ ( AlignDefault , ColWidthDefault )
          , ( AlignDefault , ColWidthDefault )
          ]
          (TableHead
             ( "" , [] , [] )
             [ Row
                 ( "" , [] , [] )
                 [ Cell
                     ( "" , [] , [] )
                     AlignDefault
                     (RowSpan 1)
                     (ColSpan 1)
                     []
                 , Cell
                     ( "" , [] , [] )
                     AlignDefault
                     (RowSpan 1)
                     (ColSpan 1)
                     []
                 ]
             ])
          [ TableBody
              ( "" , [] , [] )
              (RowHeadColumns 0)
              []
              [ Row
                  ( "" , [] , [] )
                  [ Cell
                      ( "" , [] , [] )
                      AlignDefault
                      (RowSpan 1)
                      (ColSpan 1)
                      [ Plain [ Str "a" ] ]
                  , Cell
                      ( "" , [] , [] )
                      AlignDefault
                      (RowSpan 1)
                      (ColSpan 1)
                      [ Plain [ Str "b" ] ]
                  ]
              , Row
                  ( "" , [] , [] )
                  [ Cell
                      ( "" , [] , [] )
                      AlignDefault
                      (RowSpan 1)
                      (ColSpan 1)
                      [ Plain [ Str "c" ] ]
                  , Cell
                      ( "" , [] , [] )
                      AlignDefault
                      (RowSpan 1)
                      (ColSpan 1)
                      [ Plain [ Str "d" ] ]
                  ]
              ]
          ]
          (TableFoot ( "" , [] , [] ) [])
      ]
  , Header 2 ( "paragraphs" , [] , [] ) [ Str "paragraphs" ]
  , Para
      [ Str "This"
      , Space
      , Str "is"
      , Space
      , Str "first"
      , Space
      , Str "paragraph"
      , SoftBreak
      , Str "with"
      , Space
      , Str "two"
      , Space
      , Str "lines."
      ]
  , Para
      [ Str "This"
      , Space
      , Str "is"
      , Space
      , Str "a"
      , Space
      , Str "second"
      , Space
      , Str "paragraph"
      , Space
      , Str "with"
      , SoftBreak
      , Str "two"
      , Space
      , Str "lines"
      , Space
      , Str "after"
      , Space
      , Str "many"
      , Space
      , Str "blank"
      , Space
      , Str "lines."
      ]
  , Header
      2
      ( "definition list" , [] , [] )
      [ Str "definition" , Space , Str "list" ]
  , DefinitionList
      [ ( [ Str "Term" , Space , Str "1" ]
        , [ [ Plain [ Str "Definition" , Space , Str "1" ] ] ]
        )
      , ( [ Str "Term" , Space , Str "2" ]
        , [ [ Plain [ Str "Definition" , Space , Str "2" ] ]
          , [ Plain [ Str "Definition" , Space , Str "3" ] ]
          ]
        )
      , ( [ Str "Term"
          , Space
          , Str "::"
          , Space
          , Span ( "separated" , [] , [] ) []
          , Strong [ Str "separated" ]
          , Space
          , Str "by"
          , Space
          , Str "::"
          , Space
          , Emph [ Str "double" , Space , Str "colons" ]
          ]
        , [ [ Plain [ Str "Def1" ] ] , [ Plain [ Str "Def2" ] ] ]
        )
      , ( [ Str "Term"
          , Space
          , Str "with"
          , Space
          , Str "lots"
          , Space
          , Str "of"
          , Space
          , Str "trailing"
          , Space
          , Str "colons:::::::"
          ]
        , [ [ Plain [ Str "Definition" ] ] ]
        )
      , ( [ Str "::"
          , Space
          , Str "This"
          , Space
          , Str "is"
          , Space
          , Str "::"
          , Space
          , Str "A"
          , Space
          , Str "term"
          , Space
          , Str "(rather"
          , Space
          , Str "than"
          , Space
          , Str "a"
          , Space
          , Str "definition)"
          ]
        , [ [ Plain
                [ Str "and"
                , Space
                , Str "this"
                , Space
                , Str "is"
                , Space
                , Str "a"
                , Space
                , Str "definition"
                ]
            ]
          ]
        )
      , ( [ Str "Term"
          , Space
          , Str "Without"
          , Space
          , Str "definitions"
          ]
        , [ [] ]
        )
      , ( [ Str "Part"
          , Space
          , Str "::"
          , Space
          , Str "of"
          , Space
          , Str "::"
          , Space
          , Str "dt"
          ]
        , [ [ Plain
                [ Str "part" , Space , Str "of" , Space , Str "::dd" ]
            ]
          ]
        )
      ]
  , DefinitionList
      [ ( []
        , [ [ Plain
                [ Str "Definition"
                , Space
                , Str "1"
                , Space
                , Str "without"
                , Space
                , Str "a"
                , Space
                , Str "term"
                ]
            ]
          , [ Plain
                [ Str "Definition"
                , Space
                , Str "2"
                , Space
                , Str "without"
                , Space
                , Str "a"
                , Space
                , Str "term"
                ]
            ]
          ]
        )
      ]
  , DefinitionList
      [ ( [ Str "T1" ] , [ [ Plain [ Str "D1" ] ] ] ) ]
  , Para [ Str "new" , Space , Str "paragraph" ]
  , DefinitionList
      [ ( [ Str "T1" ] , [ [ Plain [ Str "D1" ] ] ] ) ]
  , Para [ Str "Not::Definition" ]
  , Para [ Str "Not" , Space , Str "::Definition" ]
  , Para [ Str "::Not" , Space , Str "definition" ]
  , BlockQuote
      [ Plain [ Str "::" , Space , Str "blockquote" ] ]
  , BlockQuote
      [ Plain
          [ Str "block" , Space , Str "::" , Space , Str "quote" ]
      ]
  , Header
      2
      ( "metadata placeholders" , [] , [] )
      [ Str "metadata" , Space , Str "placeholders" ]
  , Para
      [ Str "%this"
      , Space
      , Str "is"
      , Space
      , Str "not"
      , Space
      , Str "a"
      , Space
      , Str "placeholder"
      ]
  , Para
      [ Str "placeholders"
      , SoftBreak
      , Str "serves"
      , Space
      , Str "as"
      , Space
      , Str "space"
      , Space
      , Str "/"
      , Space
      , Str "softbreak"
      , Space
      , Str "in"
      , Space
      , Str "paragraphs"
      ]
  , Header
      2
      ( "sup, sub" , [] , [] )
      [ Str "sup," , Space , Str "sub" ]
  , Para [ Str "super" , Superscript [ Str "script" ] ]
  , Para [ Str "sub" , Subscript [ Str "script" ] ]
  , Header
      2
      ( "the todo mark" , [] , [] )
      [ Str "the" , Space , Str "todo" , Space , Str "mark" ]
  , Para [ Span ( "" , [ "todo" ] , [] ) [ Str "TODO:" ] ]
  , Header
      1
      ( "not implemented yet" , [] , [] )
      [ Emph
          [ Span ( "not implemented yet" , [] , [] ) []
          , Strong
              [ Str "not"
              , Space
              , Str "implemented"
              , Space
              , Str "yet"
              ]
          ]
      ]
  , Header
      2
      ( "tables with spans" , [] , [] )
      [ Str "tables" , Space , Str "with" , Space , Str "spans" ]
  , Table
      ( "" , [] , [] )
      (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 ">" ] ]
              ]
          ]
      ]
      (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)
                 []
             ]
         ])
      [ 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"
      ]
  , Para
      [ Code ( "" , [] , [] ) "template"
      , Space
      , Str "placeholder"
      , Space
      , Str "is"
      , Space
      , Str "ignored."
      ]
  , Para
      [ Code ( "" , [] , [] ) "nohtml"
      , Space
      , Str "placeholder"
      , Space
      , Str "is"
      , Space
      , Str "ignored."
      ]
  ]