pandoc/test/command/5936.md
John MacFarlane ce0a4f8c47 RST writers: Use grid tables for 1-column tables.
With simple tables, we have a clash with heading syntax.
Closes #5936.
2019-11-25 07:31:28 -08:00

40 lines
386 B
Markdown

```
% 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
==== ======
```