diff options
-rw-r--r-- | tests/tables.native | 16 | ||||
-rw-r--r-- | tests/tables.txt | 10 |
2 files changed, 25 insertions, 1 deletions
diff --git a/tests/tables.native b/tests/tables.native index 14931c76c..11304795c 100644 --- a/tests/tables.native +++ b/tests/tables.native @@ -98,5 +98,19 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) [ [ Plain [Str "1"] ] , [ Plain [Str "1"] ] , [ Plain [Str "1"] ] - , [ Plain [Str "1"] ] ] ] ] + , [ Plain [Str "1"] ] ] ] +, Para [Str "Multiline",Space,Str "table",Space,Str "without",Space,Str "column",Space,Str "headers:"] +, Table [] [AlignCenter,AlignLeft,AlignRight,AlignDefault] [0.15,0.1375,0.1625,0.3375] + [ [] + , [] + , [] + , [] ] [ + [ [ Plain [Str "First"] ] + , [ Plain [Str "row"] ] + , [ Plain [Str "12",Str ".",Str "0"] ] + , [ Plain [Str "Example",Space,Str "of",Space,Str "a",Space,Str "row",Space,Str "that",Space,Str "spans",Space,Str "multiple",Space,Str "lines",Str "."] ] ], + [ [ Plain [Str "Second"] ] + , [ Plain [Str "row"] ] + , [ Plain [Str "5",Str ".",Str "0"] ] + , [ Plain [Str "Here",Str "'",Str "s",Space,Str "another",Space,Str "one",Str ".",Space,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",Space,Str "between",Space,Str "rows",Str "."] ] ] ] ] diff --git a/tests/tables.txt b/tests/tables.txt index 6cf32726d..62d431597 100644 --- a/tests/tables.txt +++ b/tests/tables.txt @@ -63,3 +63,13 @@ Table without column headers: 1 1 1 1 ------- ------ ---------- ------- +Multiline table without column headers: + +---------- --------- ----------- --------------------------- + First row 12.0 Example of a row that spans + multiple lines. + + Second row 5.0 Here's another one. Note + the blank line between rows. +---------- --------- ----------- --------------------------- + |