summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test327
1 files changed, 0 insertions, 327 deletions
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test
deleted file mode 100644
index 9300123d19..0000000000
--- a/macros/generic/markdown/tests/testfiles/PHP_Markdown/tables.test
+++ /dev/null
@@ -1,327 +0,0 @@
-\def\markdownOptionPipeTables{true}
-<<<
-Header 1 | Header 2
---------- | ---------
-Cell 1 | Cell 2
-Cell 3 | Cell 4
-
-With leading pipes:
-
-| Header 1 | Header 2
-| --------- | ---------
-| Cell 1 | Cell 2
-| Cell 3 | Cell 4
-
-With tailing pipes:
-
-Header 1 | Header 2 |
---------- | --------- |
-Cell 1 | Cell 2 |
-Cell 3 | Cell 4 |
-
-With leading and tailing pipes:
-
-| Header 1 | Header 2 |
-| --------- | --------- |
-| Cell 1 | Cell 2 |
-| Cell 3 | Cell 4 |
-
-* * *
-
-# One-column one-row table
-
-With leading pipes:
-
-| Header
-| -------
-| Cell
-
-With tailing pipes:
-
-Header |
-------- |
-Cell |
-
-With leading and tailing pipes:
-
-| Header |
-| ------- |
-| Cell |
-
-* * *
-
-Table alignement:
-
-| Default | Right | Center | Left |
-| --------- |:--------- |:---------:| ---------:|
-| Long Cell | Long Cell | Long Cell | Long Cell |
-| Cell | Cell | Cell | Cell |
-
-Table alignement (alternate spacing):
-
-| Default | Right | Center | Left |
-| --------- | :-------- | :-------: | --------: |
-| Long Cell | Long Cell | Long Cell | Long Cell |
-| Cell | Cell | Cell | Cell |
-
-* * *
-
-# Empty cells
-
-| Header 1 | Header 2 |
-| --------- | --------- |
-| A | B |
-| C | |
-
-Header 1 | Header 2
---------- | ---------
-A | B
- | D
-
-* * *
-
-# Missing tailing pipe
-
-Header 1 | Header 2
---------- | --------- |
-Cell | Cell |
-Cell | Cell |
-
-Header 1 | Header 2 |
---------- | ---------
-Cell | Cell |
-Cell | Cell |
-
-Header 1 | Header 2 |
---------- | --------- |
-Cell | Cell
-Cell | Cell |
-
-Header 1 | Header 2 |
---------- | --------- |
-Cell | Cell |
-Cell | Cell
-
-* * *
-
-# Too many pipes in rows
-
-| Header 1 | Header 2 |
-| ---------
-| Cell | Cell | Extra cell? |
-| Cell | Cell | Extra cell? |
->>>
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell 1
-- row 2, column 2: Cell 2
-- row 3, column 1: Cell 3
-- row 3, column 2: Cell 4
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell 1
-- row 2, column 2: Cell 2
-- row 3, column 1: Cell 3
-- row 3, column 2: Cell 4
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell 1
-- row 2, column 2: Cell 2
-- row 3, column 1: Cell 3
-- row 3, column 2: Cell 4
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell 1
-- row 2, column 2: Cell 2
-- row 3, column 1: Cell 3
-- row 3, column 2: Cell 4
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingOne: One-column one-row table
-interblockSeparator
-interblockSeparator
-BEGIN table (2 rows, 1 columns)
-- caption:
-- alignment of column 1: d
-- row 1, column 1: Header
-- row 2, column 1: Cell
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (2 rows, 1 columns)
-- caption:
-- alignment of column 1: d
-- row 1, column 1: Header
-- row 2, column 1: Cell
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (2 rows, 1 columns)
-- caption:
-- alignment of column 1: d
-- row 1, column 1: Header
-- row 2, column 1: Cell
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 4 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: l
-- alignment of column 3: c
-- alignment of column 4: r
-- row 1, column 1: Default
-- row 1, column 2: Right
-- row 1, column 3: Center
-- row 1, column 4: Left
-- row 2, column 1: Long Cell
-- row 2, column 2: Long Cell
-- row 2, column 3: Long Cell
-- row 2, column 4: Long Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-- row 3, column 3: Cell
-- row 3, column 4: Cell
-END table
-interblockSeparator
-interblockSeparator
-BEGIN table (3 rows, 4 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: l
-- alignment of column 3: c
-- alignment of column 4: r
-- row 1, column 1: Default
-- row 1, column 2: Right
-- row 1, column 3: Center
-- row 1, column 4: Left
-- row 2, column 1: Long Cell
-- row 2, column 2: Long Cell
-- row 2, column 3: Long Cell
-- row 2, column 4: Long Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-- row 3, column 3: Cell
-- row 3, column 4: Cell
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingOne: Empty cells
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: A
-- row 2, column 2: B
-- row 3, column 1: C
-- row 3, column 2:
-END table
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: A
-- row 2, column 2: B
-- row 3, column 1:
-- row 3, column 2: D
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingOne: Missing tailing pipe
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell
-- row 2, column 2: Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-END table
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell
-- row 2, column 2: Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-END table
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell
-- row 2, column 2: Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-END table
-interblockSeparator
-BEGIN table (3 rows, 2 columns)
-- caption:
-- alignment of column 1: d
-- alignment of column 2: d
-- row 1, column 1: Header 1
-- row 1, column 2: Header 2
-- row 2, column 1: Cell
-- row 2, column 2: Cell
-- row 3, column 1: Cell
-- row 3, column 2: Cell
-END table
-interblockSeparator
-horizontalRule
-interblockSeparator
-headingOne: Too many pipes in rows
-interblockSeparator
-BEGIN table (3 rows, 1 columns)
-- caption:
-- alignment of column 1: d
-- row 1, column 1: Header 1
-- row 2, column 1: Cell
-- row 3, column 1: Cell
-END table