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