Pandoc
Meta
{ unMeta =
fromList
[ ( "generator" , MetaInlines [ Str "pandoc" ] )
, ( "title" , MetaInlines [ Str "Pandoc Test Suite" ] )
]
}
[ Header
1
( "pandoc-test-suite" , [ "title" ] , [] )
[ Str "Pandoc Test Suite" ]
, Para
[ Str
"This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite."
]
, HorizontalRule
, Header 1 ( "headers" , [] , [] ) [ Str "Headers" ]
, Header
2
( "level-2-with-an-embedded-link" , [] , [] )
[ Str "Level 2 with an "
, Link
( "" , [] , [] ) [ Str "embedded link" ] ( "/url" , "" )
]
, Header
3
( "level-3-with-emphasis" , [] , [] )
[ Str "Level 3 with " , Emph [ Str "emphasis" ] ]
, Header 4 ( "level-4" , [] , [] ) [ Str "Level 4" ]
, Header 5 ( "level-5" , [] , [] ) [ Str "Level 5" ]
, Header 1 ( "level-1" , [] , [] ) [ Str "Level 1" ]
, Header
2
( "level-2-with-emphasis" , [] , [] )
[ Str "Level 2 with " , Emph [ Str "emphasis" ] ]
, Header 3 ( "level-3" , [] , [] ) [ Str "Level 3" ]
, Para [ Str "with no blank line" ]
, Header 2 ( "level-2" , [] , [] ) [ Str "Level 2" ]
, Para [ Str "with no blank line" ]
, HorizontalRule
, Header 1 ( "paragraphs" , [] , [] ) [ Str "Paragraphs" ]
, Para [ Str "Here's a regular paragraph." ]
, Para
[ Str
"In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item."
]
, Para [ Str "Here's one with a bullet. * criminey." ]
, Para
[ Str "There should be a hard line break"
, LineBreak
, Str "here."
]
, HorizontalRule
, Header
1 ( "block-quotes" , [] , [] ) [ Str "Block Quotes" ]
, Para [ Str "E-mail style:" ]
, BlockQuote
[ Para [ Str "This is a block quote. It is pretty short." ]
]
, BlockQuote
[ Para [ Str "Code in a block quote:" ]
, CodeBlock
( "" , [] , [] ) "sub status {\n print \"working\";\n}"
, Para [ Str "A list:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "item one" ] ]
, [ Plain [ Str "item two" ] ]
]
, Para [ Str "Nested block quotes:" ]
, BlockQuote [ Para [ Str "nested" ] ]
, BlockQuote [ Para [ Str "nested" ] ]
]
, Para [ Str "This should not be a block quote: 2 > 1." ]
, Para [ Str "Box-style:" ]
, BlockQuote
[ Para [ Str "Example:" ]
, CodeBlock
( "" , [] , [] ) "sub status {\n print \"working\";\n}"
]
, BlockQuote
[ OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "do laundry" ] ]
, [ Plain [ Str "take out the trash" ] ]
]
]
, Para [ Str "Here's a nested one:" ]
, BlockQuote
[ Para [ Str "Joe said:" ]
, BlockQuote [ Para [ Str "Don't quote me." ] ]
]
, Para [ Str "And a following paragraph." ]
, HorizontalRule
, Header
1 ( "inline-quotes" , [] , [] ) [ Str "Inline quotes" ]
, Para
[ Str "Normal text but then a "
, Quoted
DoubleQuote
[ Span
( ""
, []
, [ ( "cite"
, "https://www.imdb.com/title/tt0062622/quotes/qt0396921"
)
]
)
[ Str "inline quote" ]
]
, Str "."
]
, Para
[ Quoted
DoubleQuote
[ Str "Missing a cite attribute means its just normal text"
]
]
, HorizontalRule
, Header 1 ( "code-blocks" , [] , [] ) [ Str "Code Blocks" ]
, Para [ Str "Code:" ]
, CodeBlock
( "" , [] , [] )
"---- (should be four hyphens)\n\nsub status {\n print \"working\";\n}\n\nthis code block is indented by one tab"
, Para [ Str "And:" ]
, CodeBlock
( "" , [] , [] )
" this code block is indented by two tabs\n\nThese should not be escaped: \\$ \\\\ \\> \\[ \\{"
, HorizontalRule
, Header 1 ( "lists" , [] , [] ) [ Str "Lists" ]
, Header 2 ( "unordered" , [] , [] ) [ Str "Unordered" ]
, Para [ Str "Asterisks tight:" ]
, BulletList
[ [ Plain [ Str "asterisk 1" ] ]
, [ Plain [ Str "asterisk 2" ] ]
, [ Plain [ Str "asterisk 3" ] ]
]
, Para [ Str "Asterisks loose:" ]
, BulletList
[ [ Para [ Str "asterisk 1" ] ]
, [ Para [ Str "asterisk 2" ] ]
, [ Para [ Str "asterisk 3" ] ]
]
, Para [ Str "Pluses tight:" ]
, BulletList
[ [ Plain [ Str "Plus 1" ] ]
, [ Plain [ Str "Plus 2" ] ]
, [ Plain [ Str "Plus 3" ] ]
]
, Para [ Str "Pluses loose:" ]
, BulletList
[ [ Para [ Str "Plus 1" ] ]
, [ Para [ Str "Plus 2" ] ]
, [ Para [ Str "Plus 3" ] ]
]
, Para [ Str "Minuses tight:" ]
, BulletList
[ [ Plain [ Str "Minus 1" ] ]
, [ Plain [ Str "Minus 2" ] ]
, [ Plain [ Str "Minus 3" ] ]
]
, Para [ Str "Minuses loose:" ]
, BulletList
[ [ Para [ Str "Minus 1" ] ]
, [ Para [ Str "Minus 2" ] ]
, [ Para [ Str "Minus 3" ] ]
]
, Header 2 ( "ordered" , [] , [] ) [ Str "Ordered" ]
, Para [ Str "Tight:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "First" ] ]
, [ Plain [ Str "Second" ] ]
, [ Plain [ Str "Third" ] ]
]
, Para [ Str "and:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "One" ] ]
, [ Plain [ Str "Two" ] ]
, [ Plain [ Str "Three" ] ]
]
, Para [ Str "Loose using tabs:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Para [ Str "First" ] ]
, [ Para [ Str "Second" ] ]
, [ Para [ Str "Third" ] ]
]
, Para [ Str "and using spaces:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Para [ Str "One" ] ]
, [ Para [ Str "Two" ] ]
, [ Para [ Str "Three" ] ]
]
, Para [ Str "Multiple paragraphs:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Para [ Str "Item 1, graf one." ]
, Para
[ Str
"Item 1. graf two. The quick brown fox jumped over the lazy dog's back."
]
]
, [ Para [ Str "Item 2." ] ]
, [ Para [ Str "Item 3." ] ]
]
, Para [ Str "List styles:" ]
, OrderedList ( 1 , DefaultStyle , DefaultDelim ) []
, OrderedList ( 1 , LowerRoman , DefaultDelim ) []
, OrderedList ( 1 , LowerRoman , DefaultDelim ) []
, OrderedList ( 1 , DefaultStyle , DefaultDelim ) []
, OrderedList ( 1 , LowerRoman , DefaultDelim ) []
, OrderedList ( 1 , LowerRoman , DefaultDelim ) []
, Header 2 ( "nested" , [] , [] ) [ Str "Nested" ]
, BulletList
[ [ Plain [ Str "Tab" ]
, BulletList
[ [ Plain [ Str "Tab" ]
, BulletList [ [ Plain [ Str "Tab" ] ] ]
]
]
]
]
, Para [ Str "Here's another:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "First" ] ]
, [ Plain [ Str "Second:" ]
, BulletList
[ [ Plain [ Str "Fee" ] ]
, [ Plain [ Str "Fie" ] ]
, [ Plain [ Str "Foe" ] ]
]
]
, [ Plain [ Str "Third" ] ]
]
, Para [ Str "Same thing but with paragraphs:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Para [ Str "First" ] ]
, [ Para [ Str "Second:" ]
, BulletList
[ [ Plain [ Str "Fee" ] ]
, [ Plain [ Str "Fie" ] ]
, [ Plain [ Str "Foe" ] ]
]
]
, [ Para [ Str "Third" ] ]
]
, Header
2 ( "tabs-and-spaces" , [] , [] ) [ Str "Tabs and spaces" ]
, BulletList
[ [ Para [ Str "this is a list item indented with tabs" ] ]
, [ Para [ Str "this is a list item indented with spaces" ]
, BulletList
[ [ Para
[ Str
"this is an example list item indented with tabs"
]
]
, [ Para
[ Str
"this is an example list item indented with spaces"
]
]
]
]
]
, Header
2
( "fancy-list-markers" , [] , [] )
[ Str "Fancy list markers" ]
, OrderedList
( 2 , Decimal , DefaultDelim )
[ [ Plain [ Str "begins with 2" ] ]
, [ Para [ Str "and now 3" ]
, Para [ Str "with a continuation" ]
, OrderedList
( 4 , LowerRoman , DefaultDelim )
[ [ Plain
[ Str "sublist with roman numerals, starting with 4" ]
]
, [ Plain [ Str "more items" ]
, OrderedList
( 1 , UpperAlpha , DefaultDelim )
[ [ Plain [ Str "a subsublist" ] ]
, [ Plain [ Str "a subsublist" ] ]
]
]
]
]
]
, Para [ Str "Nesting:" ]
, OrderedList
( 1 , UpperAlpha , DefaultDelim )
[ [ Plain [ Str "Upper Alpha" ]
, OrderedList
( 1 , UpperRoman , DefaultDelim )
[ [ Plain [ Str "Upper Roman." ]
, OrderedList
( 6 , Decimal , DefaultDelim )
[ [ Plain [ Str "Decimal start with 6" ]
, OrderedList
( 3 , LowerAlpha , DefaultDelim )
[ [ Plain [ Str "Lower alpha with paren" ] ] ]
]
]
]
]
]
]
, Para [ Str "Autonumbering:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "Autonumber." ] ]
, [ Plain [ Str "More." ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "Nested." ] ] ]
]
]
, HorizontalRule
, Header 2 ( "definition" , [] , [] ) [ Str "Definition" ]
, DefinitionList
[ ( [ Str "Violin" ]
, [ [ Plain [ Str "Stringed musical instrument." ] ]
, [ Plain [ Str "Torture device." ] ]
]
)
, ( [ Str "Cello" , LineBreak , Str "Violoncello" ]
, [ [ Plain [ Str "Low-voiced stringed instrument." ] ] ]
)
]
, HorizontalRule
, Header
1 ( "inline-markup" , [] , [] ) [ Str "Inline Markup" ]
, Para
[ Str "This is "
, Emph [ Str "emphasized" ]
, Str ", and so "
, Emph [ Str "is this" ]
, Str "."
]
, Para
[ Str "This is "
, Strong [ Str "strong" ]
, Str ", and so "
, Strong [ Str "is this" ]
, Str "."
]
, Para
[ Str "Empty "
, Strong []
, Str " and "
, Emph []
, Str "."
]
, Para
[ Str "An "
, Emph
[ Link
( "" , [] , [] ) [ Str "emphasized link" ] ( "/url" , "" )
]
, Str "."
]
, Para [ Strong [ Emph [ Str "This is strong and em." ] ] ]
, Para
[ Str "So is "
, Strong [ Emph [ Str "this" ] ]
, Str " word."
]
, Para [ Strong [ Emph [ Str "This is strong and em." ] ] ]
, Para
[ Str "So is "
, Strong [ Emph [ Str "this" ] ]
, Str " word."
]
, Para
[ Str "This is code: "
, Code ( "" , [] , [] ) ">"
, Str ", "
, Code ( "" , [] , [] ) "$"
, Str ", "
, Code ( "" , [] , [] ) "\\"
, Str ", "
, Code ( "" , [] , [] ) "\\$"
, Str ", "
, Code ( "" , [] , [] ) ""
, Str "."
]
, Para
[ Str "This is "
, SmallCaps [ Str "small caps" ]
, Str "."
]
, Para
[ Str "These are all underlined: "
, Underline [ Str "foo" ]
, Str " and "
, Underline [ Str "bar" ]
, Str "."
]
, Para
[ Str "These are all strikethrough: "
, Strikeout [ Str "foo" ]
, Str ", "
, Strikeout [ Str "bar" ]
, Str ", and "
, Strikeout [ Str "baz" ]
, Str "."
]
, HorizontalRule
, Header
1
( "smart-quotes-ellipses-dashes" , [] , [] )
[ Str "Smart quotes, ellipses, dashes" ]
, Para
[ Str "\"Hello,\" said the spider. \"'Shelob' is my name.\""
]
, Para [ Str "'A', 'B', and 'C' are letters." ]
, Para
[ Str
"'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'"
]
, Para
[ Str
"'He said, \"I want to go.\"' Were you alive in the 70's?"
]
, Para
[ Str "Here is some quoted '"
, Code ( "" , [] , [] ) "code"
, Str "' and a \""
, Link
( "" , [] , [] )
[ Str "quoted link" ]
( "http://example.com/?foo=1&bar=2" , "" )
, Str "\"."
]
, Para
[ Str "Some dashes: one---two --- three--four -- five." ]
, Para
[ Str "Dashes between numbers: 5-7, 255-66, 1987-1999." ]
, Para [ Str "Ellipses...and. . .and . . . ." ]
, HorizontalRule
, Header 1 ( "latex" , [] , [] ) [ Str "LaTeX" ]
, BulletList
[ [ Plain [ Str "\\cite[22-23]{smith.1899}" ] ]
, [ Plain [ Str "\\doublespacing" ] ]
, [ Plain [ Str "$2+2=4$" ] ]
, [ Plain [ Str "$x \\in y$" ] ]
, [ Plain [ Str "$\\alpha \\wedge \\omega$" ] ]
, [ Plain [ Str "$223$" ] ]
, [ Plain [ Str "$p$-Tree" ] ]
, [ Plain
[ Str
"$\\frac{d}{dx}f(x)=\\lim_{h\\to 0}\\frac{f(x+h)-f(x)}{h}$"
]
]
, [ Plain
[ Str
"Here's one that has a line break in it: $\\alpha + \\omega \\times x^2$."
]
]
]
, Para [ Str "These shouldn't be math:" ]
, BulletList
[ [ Plain
[ Str "To get the famous equation, write "
, Code ( "" , [] , [] ) "$e = mc^2$"
, Str "."
]
]
, [ Plain
[ Str "$22,000 is a "
, Emph [ Str "lot" ]
, Str
" of money. So is $34,000. (It worked if \"lot\" is emphasized.)"
]
]
, [ Plain
[ Str "Escaped "
, Code ( "" , [] , [] ) "$"
, Str ": $73 "
, Emph [ Str "this should be emphasized" ]
, Str " 23$."
]
]
]
, Para [ Str "Here's a LaTeX table:" ]
, Para
[ Str
"\\begin{tabular}{|l|l|}\\hline Animal & Number \\\\ \\hline Dog & 2 \\\\ Cat & 1 \\\\ \\hline \\end{tabular}"
]
, HorizontalRule
, Header
1
( "special-characters" , [] , [] )
[ Str "Special Characters" ]
, Para [ Str "Here is some unicode:" ]
, BulletList
[ [ Plain [ Str "I hat: \206" ] ]
, [ Plain [ Str "o umlaut: \246" ] ]
, [ Plain [ Str "section: \167" ] ]
, [ Plain [ Str "set membership: \8712" ] ]
, [ Plain [ Str "copyright: \169" ] ]
]
, Para [ Str "AT&T has an ampersand in their name." ]
, Para [ Str "AT&T is another way to write it." ]
, Para [ Str "This & that." ]
, Para [ Str "4 < 5." ]
, Para [ Str "6 > 5." ]
, Para [ Str "Backslash: \\" ]
, Para [ Str "Backtick: `" ]
, Para [ Str "Asterisk: *" ]
, Para [ Str "Underscore: _" ]
, Para [ Str "Left brace: {" ]
, Para [ Str "Right brace: }" ]
, Para [ Str "Left bracket: [" ]
, Para [ Str "Right bracket: ]" ]
, Para [ Str "Left paren: (" ]
, Para [ Str "Right paren: )" ]
, Para [ Str "Greater-than: >" ]
, Para [ Str "Hash: #" ]
, Para [ Str "Period: ." ]
, Para [ Str "Bang: !" ]
, Para [ Str "Plus: +" ]
, Para [ Str "Minus: -" ]
, HorizontalRule
, Header 1 ( "links" , [] , [] ) [ Str "Links" ]
, Header 2 ( "explicit" , [] , [] ) [ Str "Explicit" ]
, Para
[ Str "Just a "
, Link ( "" , [] , [] ) [ Str "URL" ] ( "/url/" , "" )
, Str "."
]
, Para
[ Link
( "" , [] , [] )
[ Str "URL and title" ]
( "/url/" , "title" )
, Str "."
]
, Para
[ Link
( "" , [] , [] )
[ Str "URL and title" ]
( "/url/" , "title preceded by two spaces" )
, Str "."
]
, Para
[ Link
( "" , [] , [] )
[ Str "URL and title" ]
( "/url/" , "title preceded by a tab" )
, Str "."
]
, Para
[ Link
( "" , [] , [] )
[ Str "URL and title" ]
( "/url/" , "title with \"quotes\" in it" )
]
, Para
[ Link
( "" , [] , [] )
[ Str "URL and title" ]
( "/url/" , "title with single quotes" )
]
, Para [ Str "Email link (nobody [at] nowhere.net)" ]
, Para
[ Link ( "" , [] , [] ) [ Str "Empty" ] ( "" , "" )
, Str "."
]
, Header 2 ( "reference" , [] , [] ) [ Str "Reference" ]
, Para
[ Str "Foo "
, Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
, Str "."
]
, Para
[ Str "Foo "
, Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
, Str "."
]
, Para
[ Str "Foo "
, Link ( "" , [] , [] ) [ Str "bar" ] ( "/url/" , "" )
, Str "."
]
, Para
[ Str "With "
, Link
( "" , [] , [] )
[ Str "embedded [brackets]" ]
( "/url/" , "" )
, Str "."
]
, Para
[ Link ( "" , [] , [] ) [ Str "b" ] ( "/url/" , "" )
, Str " by itself should be a link."
]
, Para
[ Str "Indented "
, Link ( "" , [] , [] ) [ Str "once" ] ( "/url" , "" )
, Str "."
]
, Para
[ Str "Indented "
, Link ( "" , [] , [] ) [ Str "twice" ] ( "/url" , "" )
, Str "."
]
, Para
[ Str "Indented "
, Link ( "" , [] , [] ) [ Str "thrice" ] ( "/url" , "" )
, Str "."
]
, Para [ Str "This should [not] be a link." ]
, CodeBlock ( "" , [] , [] ) "[not]: /url"
, Para
[ Str "Foo "
, Link
( "" , [] , [] )
[ Str "bar" ]
( "/url/" , "Title with \"quotes\" inside" )
, Str "."
]
, Para
[ Str "Foo "
, Link
( "" , [] , [] )
[ Str "biz" ]
( "/url/" , "Title with \"quote\" inside" )
, Str "."
]
, Header
2 ( "with-ampersands" , [] , [] ) [ Str "With ampersands" ]
, Para
[ Str "Here's a "
, Link
( "" , [] , [] )
[ Str "link with an ampersand in the URL" ]
( "http://example.com/?foo=1&bar=2" , "" )
, Str "."
]
, Para
[ Str "Here's a link with an amersand in the link text: "
, Link
( "" , [] , [] )
[ Str "AT&T" ]
( "http://att.com/" , "AT&T" )
, Str "."
]
, Para
[ Str "Here's an "
, Link
( "" , [] , [] )
[ Str "inline link" ]
( "/script?foo=1&bar=2" , "" )
, Str "."
]
, Para
[ Str "Here's an "
, Link
( "" , [] , [] )
[ Str "inline link in pointy braces" ]
( "/script?foo=1&bar=2" , "" )
, Str "."
]
, Header 2 ( "autolinks" , [] , [] ) [ Str "Autolinks" ]
, Para
[ Str "With an ampersand: "
, Link
( "" , [] , [] )
[ Str "http://example.com/?foo=1&bar=2" ]
( "http://example.com/?foo=1&bar=2" , "" )
]
, BulletList
[ [ Plain [ Str "In a list?" ] ]
, [ Plain
[ Link
( "" , [] , [] )
[ Str "http://example.com/" ]
( "http://example.com/" , "" )
]
]
, [ Plain [ Str "It should." ] ]
]
, Para [ Str "An e-mail address: nobody [at] nowhere.net" ]
, BlockQuote
[ Para
[ Str "Blockquoted: "
, Link
( "" , [] , [] )
[ Str "http://example.com/" ]
( "http://example.com/" , "" )
]
]
, Para
[ Str "Auto-links should not occur here: "
, Code ( "" , [] , [] ) ""
]
, CodeBlock
( "" , [] , [] ) "or here: "
, HorizontalRule
, Header 1 ( "images" , [] , [] ) [ Str "Images" ]
, Para
[ Str
"From \"Voyage dans la Lune\" by Georges Melies (1902):"
]
, Para
[ Image
( "" , [] , [] )
[ Str "lalune" ]
( "lalune.jpg" , "Voyage dans la Lune" )
]
, Para
[ Str "Here is a movie "
, Image
( "" , [] , [] ) [ Str "movie" ] ( "movie.jpg" , "" )
, Str " icon."
]
, HorizontalRule
, Header 1 ( "footnotes" , [] , [] ) [ Str "Footnotes" ]
, Para
[ Str "Here is a footnote reference"
, Link ( "" , [] , [] ) [ Str "(1)" ] ( "#note_1" , "" )
, Str ", and another"
, Link
( "" , [] , [] )
[ Str "(longnote)" ]
( "#note_longnote" , "" )
, Str ". This should "
, Emph [ Str "not" ]
, Str
" be a footnote reference, because it contains a space^(my note)."
]
, Para
[ Link ( "" , [] , [] ) [ Str "(1)" ] ( "#ref_1" , "" )
, Str
" Here is the footnote. It can go anywhere in the document, not just at the end."
]
, Para
[ Link
( "" , [] , [] )
[ Str "(longnote)" ]
( "#ref_longnote" , "" )
, Str
" Here's the other note. This one contains multiple blocks."
]
, Para
[ Str
"Caret characters are used to indicate that the blocks all belong to a single footnote (as with block quotes)."
]
, CodeBlock ( "" , [] , [] ) " { }"
, Para
[ Str
"If you want, you can use a caret at the beginning of every line, as with blockquotes, but all that you need is a caret at the beginning of the first line of the block and any preceding blank lines."
]
, Para [ Str "text " , Emph [ Str "Leading space" ] ]
, Para [ Emph [ Str "Trailing space" ] , Str " text" ]
, Para [ Str "text " , Emph [ Str "Leading spaces" ] ]
, Para [ Emph [ Str "Trailing spaces" ] , Str " text" ]
, Header 1 ( "tables" , [] , [] ) [ Str "Tables" ]
, Header
2
( "tables-with-headers" , [] , [] )
[ Str "Tables with Headers" ]
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Para [ Str "Row headers" ]
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 1)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 1)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
]
]
(TableFoot
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
])
, HorizontalRule
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead ( "" , [] , [] ) [])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead ( "" , [] , [] ) [])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
]
, TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Para [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
]
, TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, Header
2
( "tables-without-headers" , [] , [] )
[ Str "Tables without Headers" ]
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead ( "" , [] , [] ) [])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Para [ Str "tbody tags omitted" ]
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead ( "" , [] , [] ) [])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Para [ Str "empty head" ]
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead ( "" , [] , [] ) [])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Para [ Str "explicit body and foot" ]
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead ( "" , [] , [] ) [])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
]
]
(TableFoot
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
])
, Header
2
( "colspans-and-rowspans" , [] , [] )
[ Str "Colspans and Rowspans" ]
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead ( "" , [] , [] ) [])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 2)
[ Plain [ Str "1 and 2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 3)
[ Plain [ Str "4, 5, and 6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, HorizontalRule
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 3)
[ Plain [ Str "Numbers" ] ]
]
])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 2)
(ColSpan 1)
[ Plain [ Str "1 and 4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
, Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
]
]
(TableFoot ( "" , [] , [] ) [])
, Header 2 ( "attributes" , [] , [] ) [ Str "Attributes" ]
, Table
( "attrib-test-table" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [ "table-head" ] , [] )
[ Row
( "" , [ "table-head-row" ] , [] )
[ Cell
( "" , [] , [ ( "abbr" , "x" ) ] )
AlignDefault
(RowSpan 1)
(ColSpan 3)
[ Plain [ Str "Cat X" ] ]
]
])
[ TableBody
( "" , [ "main" ] , [ ( "part" , "body" ) ] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [ ( "part" , "row" ) ] )
[ Cell
( "" , [] , [ ( "part" , "cell" ) ] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [ ( "valign" , "bottom" ) ] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [ ( "style" , "color: #151950" ) ] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
]
]
(TableFoot
( "" , [ "summary" ] , [] )
[ Row
( "" , [] , [ ( "bgcolor" , "#ccc" ) ] )
[ Cell
( "" , [] , [ ( "square" , "true" ) ] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
])
, Header
2 ( "tag-omission" , [] , [] ) [ Str "Tag omission" ]
, Para [ Str "thead, tbody, and tfoot" ]
, Table
( "" , [] , [] )
(Caption Nothing [])
[ ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
, ( AlignDefault , ColWidthDefault )
]
(TableHead
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "X" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Y" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "Z" ] ]
]
])
[ TableBody
( "" , [] , [] )
(RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "1" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "2" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
]
]
(TableFoot
( "" , [] , [] )
[ Row
( "" , [] , [] )
[ Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "4" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "5" ] ]
, Cell
( "" , [] , [] )
AlignDefault
(RowSpan 1)
(ColSpan 1)
[ Plain [ Str "6" ] ]
]
])
, Header
2 ( "empty-tables" , [] , [] ) [ Str "Empty Tables" ]
, Para [ Str "This section should be empty." ]
]