aboutsummaryrefslogtreecommitdiff
path: root/test/tables.rst
AgeCommit message (Collapse)Author
2025-05-20RST writer: don't emit alignment markers in grid tables.John MacFarlane
Closes #10857.
2025-05-19gridTable: fix (3.7) regression with missing cell alignments.John MacFarlane
Closes #10853.
2021-09-21Use pretty-simple to format native output.John MacFarlane
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 MacFarlane
Closes #4750. Text.Pandoc.Writers.Shared now exports hasSimpleCells [API change].
2018-04-21Markdown reader/writer: spacing adjustments in tables.John MacFarlane
* 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 MacFarlane
2017-03-21RST writer: improve grid table output, fix bug with empty rows.John MacFarlane
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 MacFarlane
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 MacFarlane