aboutsummaryrefslogtreecommitdiff
path: root/test/tables-rstsubset.native
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-09-19 12:09:51 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-21 12:37:42 -0700
commitc266734448544a118ed80e47deaa2590131c7f84 (patch)
treed5793b1dc732456894c96e8ee6829dab9d539388 /test/tables-rstsubset.native
parent5f7e7f539a02818d0a94309b15d648d51d1eaee6 (diff)
downloadpandoc-c266734448544a118ed80e47deaa2590131c7f84.tar.gz
Use pretty-simple to format native output.
Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.)
Diffstat (limited to 'test/tables-rstsubset.native')
-rw-r--r--test/tables-rstsubset.native1214
1 files changed, 913 insertions, 301 deletions
diff --git a/test/tables-rstsubset.native b/test/tables-rstsubset.native
index 2536ff954..dce2c9406 100644
--- a/test/tables-rstsubset.native
+++ b/test/tables-rstsubset.native
@@ -1,301 +1,913 @@
-[Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Simple",Space,Str "table",Space,Str "indented",Space,Str "two",Space,Str "spaces:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."]])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Center"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [Plain [Str "Here\8217s",Space,Str "the",Space,Str "caption.",Space,Str "It",Space,Str "may",Space,Str "span",Space,Str "multiple",Space,Str "lines."]])
- [(AlignDefault,ColWidth 0.1375)
- ,(AlignDefault,ColWidth 0.125)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.3375)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Centered",SoftBreak,Str "Header"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default",Space,Str "aligned"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",SoftBreak,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",SoftBreak,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",SoftBreak,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.1375)
- ,(AlignDefault,ColWidth 0.125)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.3375)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Centered",SoftBreak,Str "Header"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Left",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Right",SoftBreak,Str "Aligned"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Default",Space,Str "aligned"]]]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",SoftBreak,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",SoftBreak,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",SoftBreak,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)
- ,(AlignDefault,ColWidthDefault)]
- (TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "123"]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "1"]]]])]
- (TableFoot ("",[],[])
- [])
-,Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table ("",[],[]) (Caption Nothing
- [])
- [(AlignDefault,ColWidth 0.1375)
- ,(AlignDefault,ColWidth 0.125)
- ,(AlignDefault,ColWidth 0.15)
- ,(AlignDefault,ColWidth 0.3375)]
- (TableHead ("",[],[])
- [])
- [(TableBody ("",[],[]) (RowHeadColumns 0)
- []
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "First"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "12.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",SoftBreak,Str "spans",Space,Str "multiple",Space,Str "lines."]]]
- ,Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Second"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "row"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "5.0"]]
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- [Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",Space,Str "Note",SoftBreak,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",SoftBreak,Str "rows."]]]])]
- (TableFoot ("",[],[])
- [])]
+[ Para
+ [ Str "Simple", Space, Str "table", Space, Str "with", Space, Str "caption:" ]
+, Table
+ ( "", [], [] )
+ ( Caption Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ]
+ )
+ [
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ]
+ ( TableHead
+ ( "", [], [] )
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Default" ] ]
+ ]
+ ]
+ )
+ [ TableBody
+ ( "", [], [] )
+ ( RowHeadColumns 0 ) []
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ ( TableFoot ( "", [], [] ) [] )
+, Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "", [], [] )
+ ( Caption Nothing [] )
+ [
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ]
+ ( TableHead
+ ( "", [], [] )
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Default" ] ]
+ ]
+ ]
+ )
+ [ TableBody
+ ( "", [], [] )
+ ( RowHeadColumns 0 ) []
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ ( TableFoot ( "", [], [] ) [] )
+, Para
+ [ Str "Simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "indented"
+ , Space
+ , Str "two"
+ , Space
+ , Str "spaces:"
+ ]
+, Table
+ ( "", [], [] )
+ ( Caption Nothing
+ [ Plain
+ [ Str "Demonstration"
+ , Space
+ , Str "of"
+ , Space
+ , Str "simple"
+ , Space
+ , Str "table"
+ , Space
+ , Str "syntax."
+ ]
+ ]
+ )
+ [
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ]
+ ( TableHead
+ ( "", [], [] )
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Right" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Left" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Center" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Default" ] ]
+ ]
+ ]
+ )
+ [ TableBody
+ ( "", [], [] )
+ ( RowHeadColumns 0 ) []
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ ( TableFoot ( "", [], [] ) [] )
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "with"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "", [], [] )
+ ( Caption Nothing
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "the"
+ , Space
+ , Str "caption."
+ , Space
+ , Str "It"
+ , Space
+ , Str "may"
+ , Space
+ , Str "span"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ )
+ [
+ ( AlignDefault, ColWidth 0.15 )
+ ,
+ ( AlignDefault, ColWidth 0.1375 )
+ ,
+ ( AlignDefault, ColWidth 0.1625 )
+ ,
+ ( AlignDefault, ColWidth 0.35 )
+ ]
+ ( TableHead
+ ( "", [], [] )
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Centered", SoftBreak, Str "Header" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Left", SoftBreak, Str "Aligned" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Right", SoftBreak, Str "Aligned" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Default", Space, Str "aligned" ] ]
+ ]
+ ]
+ )
+ [ TableBody
+ ( "", [], [] )
+ ( RowHeadColumns 0 ) []
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , SoftBreak
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ( TableFoot ( "", [], [] ) [] )
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "caption:"
+ ]
+, Table
+ ( "", [], [] )
+ ( Caption Nothing [] )
+ [
+ ( AlignDefault, ColWidth 0.15 )
+ ,
+ ( AlignDefault, ColWidth 0.1375 )
+ ,
+ ( AlignDefault, ColWidth 0.1625 )
+ ,
+ ( AlignDefault, ColWidth 0.35 )
+ ]
+ ( TableHead
+ ( "", [], [] )
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Centered", SoftBreak, Str "Header" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Left", SoftBreak, Str "Aligned" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Right", SoftBreak, Str "Aligned" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Default", Space, Str "aligned" ] ]
+ ]
+ ]
+ )
+ [ TableBody
+ ( "", [], [] )
+ ( RowHeadColumns 0 ) []
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , SoftBreak
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ( TableFoot ( "", [], [] ) [] )
+, Para
+ [ Str "Table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "", [], [] )
+ ( Caption Nothing [] )
+ [
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ,
+ ( AlignDefault, ColWidthDefault )
+ ]
+ ( TableHead
+ ( "", [], [] )
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 ) []
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 ) []
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 ) []
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 ) []
+ ]
+ ]
+ )
+ [ TableBody
+ ( "", [], [] )
+ ( RowHeadColumns 0 ) []
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12" ] ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "123" ] ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "1" ] ]
+ ]
+ ]
+ ]
+ ( TableFoot ( "", [], [] ) [] )
+, Para
+ [ Str "Multiline"
+ , Space
+ , Str "table"
+ , Space
+ , Str "without"
+ , Space
+ , Str "column"
+ , Space
+ , Str "headers:"
+ ]
+, Table
+ ( "", [], [] )
+ ( Caption Nothing [] )
+ [
+ ( AlignDefault, ColWidth 0.15 )
+ ,
+ ( AlignDefault, ColWidth 0.1375 )
+ ,
+ ( AlignDefault, ColWidth 0.1625 )
+ ,
+ ( AlignDefault, ColWidth 0.35 )
+ ]
+ ( TableHead ( "", [], [] ) [] )
+ [ TableBody
+ ( "", [], [] )
+ ( RowHeadColumns 0 ) []
+ [ Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "First" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "12.0" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain
+ [ Str "Example"
+ , Space
+ , Str "of"
+ , Space
+ , Str "a"
+ , Space
+ , Str "row"
+ , Space
+ , Str "that"
+ , SoftBreak
+ , Str "spans"
+ , Space
+ , Str "multiple"
+ , Space
+ , Str "lines."
+ ]
+ ]
+ ]
+ , Row
+ ( "", [], [] )
+ [ Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "Second" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "row" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain [ Str "5.0" ] ]
+ , Cell
+ ( "", [], [] ) AlignDefault
+ ( RowSpan 1 )
+ ( ColSpan 1 )
+ [ Plain
+ [ Str "Here\8217s"
+ , Space
+ , Str "another"
+ , Space
+ , Str "one."
+ , Space
+ , Str "Note"
+ , SoftBreak
+ , Str "the"
+ , Space
+ , Str "blank"
+ , Space
+ , Str "line"
+ , Space
+ , Str "between"
+ , SoftBreak
+ , Str "rows."
+ ]
+ ]
+ ]
+ ]
+ ]
+ ( TableFoot ( "", [], [] ) [] )
+]