diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-02-13 17:43:30 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-02-13 17:43:30 -0800 |
| commit | dc534caf7a16e5f4456e6a7676024ab1fc86b3ee (patch) | |
| tree | 22ab6fbefb26edbc42deed1b0d0c7ca00bf67155 /test | |
| parent | 139bcb96143487e3f6fb68dbac123f2d85dc58a5 (diff) | |
Add tests for #7919.
Together with the update in commonmark-hs and previous changes,
this closes #7919.
Diffstat (limited to 'test')
| -rw-r--r-- | test/command/7919.md | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/test/command/7919.md b/test/command/7919.md index f7ff9853b..5aac78fcb 100644 --- a/test/command/7919.md +++ b/test/command/7919.md @@ -57,3 +57,62 @@ item 2 <p>item 1 item 2</p> ``` +``` +% pandoc -f gfm +single column table | +------------------- | +item 1 | +item 2 | +^D +<table> +<thead> +<tr class="header"> +<th>single column table</th> +</tr> +</thead> +<tbody> +<tr class="odd"> +<td>item 1</td> +</tr> +<tr class="even"> +<td>item 2</td> +</tr> +</tbody> +</table> +``` + +``` +% pandoc -f gfm +| single column table +| ------------------- +| item 1 +| item 2 +^D +<table> +<thead> +<tr class="header"> +<th>single column table</th> +</tr> +</thead> +<tbody> +<tr class="odd"> +<td>item 1</td> +</tr> +<tr class="even"> +<td>item 2</td> +</tr> +</tbody> +</table> +``` + +``` +% pandoc -f gfm +single column table +------------------- +item 1 +item 2 +^D +<h2 id="single-column-table">single column table</h2> +<p>item 1 item 2</p> +``` + |
