aboutsummaryrefslogtreecommitdiff
path: root/test/tables.haddock
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.)
2020-04-20Haddock Writer: Support Haddock tablesJoe Hermaszewski1-70/+70
See this PR on Haddock for details on the table format: https://github.com/haskell/haddock/pull/718
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.
2018-03-16Better table handling for Haddock.John MacFarlane1-53/+67
In the reader, we use the new Table type in Haddock. Note that tables with col/rowspans will not translate well into Pandoc. In the writer, we now render tables always as grid tables, since Haddock supports these.
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+76