diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-11-25 07:31:28 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-11-25 07:31:28 -0800 |
commit | ce0a4f8c4742a26950237196163f7ca213f62551 (patch) | |
tree | 700472ebe99e5a4db8c9c6bd7e620fcc8a235a1f /test | |
parent | 659ee981764b85fb46845c086e3b10f1fc57a712 (diff) | |
download | pandoc-ce0a4f8c4742a26950237196163f7ca213f62551.tar.gz |
RST writers: Use grid tables for 1-column tables.
With simple tables, we have a clash with heading syntax.
Closes #5936.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/5936.md | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/command/5936.md b/test/command/5936.md new file mode 100644 index 000000000..6ad4e83c2 --- /dev/null +++ b/test/command/5936.md @@ -0,0 +1,40 @@ +``` +% pandoc -f gfm -t rst +| Name | +| ---- | +| Foo | +| Bar | +| Baz | +| Quux | +^D ++------+ +| Name | ++======+ +| Foo | ++------+ +| Bar | ++------+ +| Baz | ++------+ +| Quux | ++------+ +``` + +``` +% pandoc -f gfm -t rst +| Name | Number | +| ---- | ------ | +| Foo | 3 | +| Bar | 4 | +| Baz | 2 | +| Quux | 1 | +^D +==== ====== +Name Number +==== ====== +Foo 3 +Bar 4 +Baz 2 +Quux 1 +==== ====== +``` |