aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
+