aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Bieg <mb21@users.noreply.github.com>2019-05-12 16:37:37 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2019-05-12 10:37:37 -0400
commit1d033a26918e1117bef6fe1629571179a27c861c (patch)
tree8b434d27f247344b501470e0c41a37db39796e25
parentda9638e6a372d2707cf10d459b8444292ab9de27 (diff)
downloadpandoc-1d033a26918e1117bef6fe1629571179a27c861c.tar.gz
add test/tables.xwiki to git and pandoc.cabal (#5498)
-rw-r--r--pandoc.cabal1
-rw-r--r--test/tables.xwiki46
2 files changed, 47 insertions, 0 deletions
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.
+