John MacFarlane
9b5ec100e5
Markdown writer: update escaping rules for \
.
...
We now escape `\` only if `raw_tex` is enabled or
it is followed by a non-alphanumeric.
2022-03-07 10:46:07 -08:00
John MacFarlane
51f6f0e3a1
Improve Markdown writer escaping.
...
This fixes escaping for '#' in particular.
Closes #7726 .
2021-12-03 17:52:47 -08:00
John MacFarlane
5a6399d9f6
Markdown writer: fewer unneeded escapes for #
.
...
See #6259 .
2021-05-16 12:23:34 -07:00
John MacFarlane
ba05e1ea02
Shared.compactify: Avoid mixed lists.
...
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.
2019-02-25 17:33:54 -08:00
John MacFarlane
708973a33a
Added spaced_reference_links
extension.
...
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-05-25 12:57:31 +02:00
John MacFarlane
cf306f34e5
Plain writer: use _(..) or ^(..) for super/subscript...
...
...unless unicode super/subscripted characters are available.
2017-03-21 15:41:58 +01:00
John MacFarlane
bcfb77e2ab
Markdown writer: Avoid spurious blanklines at end of document...
...
after tables and list, for example.
2017-03-08 12:47:39 +01:00
John MacFarlane
18ab864269
Moved tests/ -> test/.
2017-02-04 12:56:30 +01:00