Simple: . | Heading 1 | Heading 2 | --------- | --------- | Cell 1 | Cell 2 | Cell 3 | Cell 4 .

Column alignment: . | Header 1 | Header 2 | Header 3 | Header 4 | | :------: | -------: | :------- | -------- | | Cell 1 | Cell 2 | Cell 3 | Cell 4 | | Cell 5 | Cell 6 | Cell 7 | Cell 8 | .

Nested emphases: . Header 1|Header 2|Header 3|Header 4 :-------|:------:|-------:|-------- Cell 1 |Cell 2 |Cell 3 |Cell 4 Cell 5|Cell 6 |Cell 7 |Cell 8 .

Nested tables inside blockquotes: .

foofoo
barbar
bazbaz
.

Minimal one-column: . | foo |---- | test2 .

This is parsed as one big table: .

  • foo|foo ---|--- bar|bar .

Second line should not contain symbols except “-”, “:”, “|” and " ": . foo|foo -----|-----s bar|bar .

Second line should contain “|” symbol: . foo|foo -----:----- bar|bar .

Second line should not have empty columns in the middle: . foo|foo -----||----- bar|bar .

Wrong alignment symbol position: . foo|foo -----|-::- bar|bar .

Title line should contain “|” symbol: . foo -----|----- bar|bar .

Allow tabs as a separator on 2nd line . | foo | bar | | --- | --- | | baz | quux | .

Should terminate paragraph: . paragraph foo|foo ---|--- bar|bar .

Should be terminated via row without “|” symbol: . foo|foo ---|--- paragraph .

Delimiter escaping: . | Heading 1 \\| Heading 2 | --------- | --------- | Cell|1|| Cell|2 | Cell\|3 \| Cell|4 .

Pipes inside backticks don't split cells: . | Heading 1 | Heading 2 | --------- | --------- | Cell 1 | Cell 2 | Cell|3 | Cell 4 .

Unclosed backticks don't count . | Heading 1 | Heading 2 | --------- | --------- | Cell 1 | Cell 2 | `Cell 3| Cell 4 .

Another complicated backticks case . | Heading 1 | Heading 2 | --------- | --------- | Cell 1 | Cell 2 | \`|\` .

\ in tables should not count as escaped backtick .

| 1 | 2

--|--|-- x | \ | x .

Tables should handle escaped backticks .

| 1 | 2

--|--|-- x | `` | x .

An amount of rows might be different across the table (issue #171): . | 1 | 2 | | :-----: | :-----: | :-----: | | 3 | 4 | 5 | 6 | .

An amount of rows might be different across the table #2: . | 1 | 2 | 3 | 4 | | :-----: | :-----: | :-----: | :-----: | | 5 | 6 | .

Allow one-column tables (issue #171): . | foo | :-----: | bar | .

Allow indented tables (issue #325): . | Col1a | Col2a | | ----- | ----- | | Col1b | Col2b | .

Tables should not be indented more than 4 spaces (1st line): . | Col1a | Col2a | | ----- | ----- | | Col1b | Col2b | .

Tables should not be indented more than 4 spaces (2nd line): . | Col1a | Col2a | | ----- | ----- | | Col1b | Col2b | .

Tables should not be indented more than 4 spaces (3rd line): . | Col1a | Col2a | | ----- | ----- | | Col1b | Col2b | .

Allow tables with empty body: . | Col1a | Col2a | | ----- | ----- | .

Align row should be at least as large as any actual rows: . Col1a | Col1b | Col1c ----- | ----- Col2a | Col2b | Col2c .