diff options
author | quasicomputational <quasicomputational@gmail.com> | 2018-10-06 05:33:14 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-05 21:33:14 -0700 |
commit | 6207bdeb681142e9fa3731e6e0ee7fa8e6c120f5 (patch) | |
tree | 1ef9b0c5f6b22ff6e97c26c8a83680862bd5bc42 /src/Text/Pandoc/Readers/Odt | |
parent | a26b3a2d6af8614e13299bbf477e28c5932ef680 (diff) | |
download | pandoc-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 'src/Text/Pandoc/Readers/Odt')
0 files changed, 0 insertions, 0 deletions