aboutsummaryrefslogtreecommitdiff
path: root/test/writer.plain
AgeCommit message (Collapse)AuthorFilesLines
2019-09-22Make `plain` output plainer.John MacFarlane1-89/+35
Previously we used the following Project Gutenberg conventions for plain output: - extra space before and after level 1 and 2 headings - all-caps for strong emphasis `LIKE THIS` - underscores surrounding regular emphasis `_like this_` This commit makes `plain` output plainer. Strong and Emph inlines are rendered without special formatting. Headings are also rendered without special formatting, and with only one blank line following. To restore the former behavior, use `-t plain+gutenberg`. API change: Add `Ext_gutenberg` constructor to `Extension`. See #5741.
2019-02-25Shared.compactify: Avoid mixed lists.John MacFarlane1-0/+1
This improves on the original fix to #5285 by preventing other mixed lists (lists with a mix of Plain and Para elements) that were allowed given the original fix.
2017-05-25Added `spaced_reference_links` extension.John MacFarlane1-4/+0
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
2017-03-21Plain writer: use _(..) or ^(..) for super/subscript...John MacFarlane1-2/+2
...unless unicode super/subscripted characters are available.
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+695