From 1d033a26918e1117bef6fe1629571179a27c861c Mon Sep 17 00:00:00 2001 From: Mauro Bieg Date: Sun, 12 May 2019 16:37:37 +0200 Subject: [PATCH] add test/tables.xwiki to git and pandoc.cabal (#5498) --- pandoc.cabal | 1 + test/tables.xwiki | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 test/tables.xwiki diff --git a/pandoc.cabal b/pandoc.cabal index 7d2ae5c06..729a4fdc8 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -266,6 +266,7 @@ extra-source-files: test/tables.fb2 test/tables.muse test/tables.custom + test/tables.xwiki test/testsuite.txt test/writer.latex test/writer.context diff --git a/test/tables.xwiki b/test/tables.xwiki new file mode 100644 index 000000000..e0dc10928 --- /dev/null +++ b/test/tables.xwiki @@ -0,0 +1,46 @@ +Simple table with caption: + +|=Right |=Left |=Center |=Default +|12 |12 |12 |12 +|123 |123 |123 |123 +|1 |1 |1 |1 + +Simple table without caption: + +|=Right |=Left |=Center |=Default +|12 |12 |12 |12 +|123 |123 |123 |123 +|1 |1 |1 |1 + +Simple table indented two spaces: + +|=Right |=Left |=Center |=Default +|12 |12 |12 |12 +|123 |123 |123 |123 +|1 |1 |1 |1 + +Multiline table with caption: + +|=Centered Header |=Left Aligned |=Right Aligned |=Default aligned +|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. + +Multiline table without caption: + +|=Centered Header |=Left Aligned |=Right Aligned |=Default aligned +|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. + +Table without column headers: + +|= |= |= |= +|12 |12 |12 |12 +|123 |123 |123 |123 +|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. +