aboutsummaryrefslogtreecommitdiff
path: root/tools/pandoc-template-mode.el
diff options
context:
space:
mode:
authorquasicomputational <quasicomputational@gmail.com>2018-10-06 05:33:14 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-05 21:33:14 -0700
commit6207bdeb681142e9fa3731e6e0ee7fa8e6c120f5 (patch)
tree1ef9b0c5f6b22ff6e97c26c8a83680862bd5bc42 /tools/pandoc-template-mode.el
parenta26b3a2d6af8614e13299bbf477e28c5932ef680 (diff)
downloadpandoc-6207bdeb681142e9fa3731e6e0ee7fa8e6c120f5.tar.gz
CommonMark writer: add plain text fallbacks. (#4531)
Previously, the writer would unconditionally emit HTMLish output for subscripts, superscripts, strikeouts (if the strikeout extension is disabled) and small caps, even with raw_html disabled. Now there are plain-text (and, where possible, fancy Unicode) fallbacks for all of these corresponding (mostly) to the Markdown fallbacks, and the HTMLish output is only used when raw_html is enabled. This commit adds exported functions `toSuperscript` and `toSubscript` to `Text.Pandoc.Writers.Shared`. [API change] Closes #4528.
Diffstat (limited to 'tools/pandoc-template-mode.el')
0 files changed, 0 insertions, 0 deletions