aboutsummaryrefslogtreecommitdiff
path: root/test/tables.rst
AgeCommit message (Collapse)AuthorFilesLines
2021-09-21Use pretty-simple to format native output.John MacFarlane1-30/+30
Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.)
2018-10-06RST writer: use simple tables when possible.John MacFarlane1-34/+26
Closes #4750. Text.Pandoc.Writers.Shared now exports hasSimpleCells [API change].
2018-04-21Markdown reader/writer: spacing adjustments in tables.John MacFarlane1-30/+30
* Markdown writer now includes a blank line at the end of the row in a single-row multiline table, to prevent it from being interpreted as a simple table. Closes #4578. * Markdown reader does a better job computing the relative width of the last column in a multiline table, so we can round-trip tables without constantly shrinking the last column.
2017-03-23Grid tables: remove unnecessary extra space in cells.John MacFarlane1-34/+34
2017-03-21RST writer: improve grid table output, fix bug with empty rows.John MacFarlane1-30/+30
Uses the new gridTable in Writers.Shared, which is here improved to better handle 0-width cells. Closes #3516.
2017-02-11RST reader/writer: properly handle table captions.John MacFarlane1-34/+34
Currently the support for the `.. table` directive is a bit limited; we don't yet support the `widths` field. But at least you can have a proper captioned table.
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+90