aboutsummaryrefslogtreecommitdiff
path: root/test/tables.plain
AgeCommit message (Collapse)AuthorFilesLines
2021-09-21Use pretty-simple to format native output.John MacFarlane1-14/+14
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-04-21Markdown reader/writer: spacing adjustments in tables.John MacFarlane1-8/+8
* 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.
2018-01-16Markdown writer: fix cell width calculation.John MacFarlane1-8/+8
Previously we could get ever-lengthening cell widths when a table was run repeatedly through `pandoc -f markdown -t markdown`. This patch stabilizes the relative cell widths. Closes #4265.
2017-03-08Markdown writer: Avoid spurious blanklines at end of document...John MacFarlane1-2/+0
after tables and list, for example.
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+78