diff --git a/test/fixtures/markdown-it/tables.txt b/test/fixtures/markdown-it/tables.txt index 26363f889..61c5899a2 100644 --- a/test/fixtures/markdown-it/tables.txt +++ b/test/fixtures/markdown-it/tables.txt @@ -1,5 +1,4 @@ -Tests from marked: - +Simple: . | Heading 1 | Heading 2 | --------- | --------- @@ -17,6 +16,7 @@ Tests from marked: . +Column alignment: . | Header 1 | Header 2 | Header 3 | Header 4 | | :------: | -------: | :------- | -------- | @@ -34,23 +34,7 @@ Tests from marked: . -. -Header 1 | Header 2 --------- | -------- -Cell 1 | Cell 2 -Cell 3 | Cell 4 -. -
Header 1 | Header 2 |
---|---|
Cell 1 | Cell 2 |
Cell 3 | Cell 4 |
baz|baz
. -Minimal one-column table test: - +Minimal one-column: . | foo |---- @@ -128,3 +109,117 @@ Minimal one-column table test: . + +Second line indent should not be smaller than first: +. +- foo|foo +---|--- +bar|bar +. +foo|foo +—|---s +bar|bar
+. + +Second line should contain "|" symbol: +. +foo|foo +---:--- +bar|bar +. +foo|foo +—:--- +bar|bar
+. + +Second line should not have empty columns in the middle: +. +foo|foo +---||--- +bar|bar +. +foo|foo +—||— +bar|bar
+. + +Wrong alignment symbol position: +. +foo|foo +---|-::- +bar|bar +. +foo|foo +—|-::- +bar|bar
+. + + +Title line should contain "|" symbol: +. +foo +---|--- +bar|bar +. +foo +—|--- +bar|bar
+. + +Title line should have correct column count: +. +foo|foo +---|---|--- +bar|bar +. +foo|foo +—|---|— +bar|bar
+. + +Should terminate paragraph: +. +paragraph +foo|foo +---|--- +bar|bar +. +paragraph
+foo | foo |
---|---|
bar | bar |
foo | foo |
---|
paragraph
+.