aboutsummaryrefslogtreecommitdiff
path: root/test/writer.markdown
AgeCommit message (Collapse)AuthorFilesLines
2020-11-14Markdown writer: default to using ATX headings.Aner Lucero1-54/+27
Previously we used Setext (underlined) headings by default. The default is now ATX (`##` style). * Add the `--markdown-headings=atx|setext` option. * Deprecate `--atx-headers`. * Add constructor 'ATXHeadingInLHS` constructor to `LogMessage` [API change]. * Support `markdown-headings` in defaults files. * Document new options in MANUAL. Closes #6662.
2020-10-08Be less aggressive about using quotes for YAML values.John MacFarlane1-1/+1
We need quotes if `[` or `{` or `'` is at the beginning of the line, but not otherwise.
2020-10-07Use double quotes for YAML metadata.John MacFarlane1-1/+1
Closes #6727.
2020-04-17Markdown writer: avoid unnecessary escapes before intraword `_`John MacFarlane1-1/+1
when `intraword_underscores` extension is enabled. Closes #6296.
2019-07-18Markdown writer: prefer using raw_attribute when enabled.John MacFarlane1-5/+47
The `raw_attribute` will be used to mark raw bits, even HTML and LaTeX, and even when `raw_html` and `raw_tex` are enabled, as they are by default. To get the old behavior, disable `raw_attribute` in the writer. Closes #4311.
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.
2018-10-14Markdown writer: ensure blank between raw block and normal content.John MacFarlane1-0/+4
Otherwise a raw block can prevent a paragraph from being recognized as such. Closes #4629.
2017-07-30Markdown writer: better escaping of `<` and `>`.John MacFarlane1-4/+4
If `all_symbols_escapable` is set, we backslash escape these. Otherwise we use entities as before.
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-02-04Moved tests/ -> test/.John MacFarlane1-0/+746