aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/AsciiDoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-10-18 10:21:34 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-18 10:21:34 -0700
commitefbb329f1a81a778fd853bffee0414c87a1133b3 (patch)
treef4af6bcfbb261c347c7f8276067f607e92aa64c8 /src/Text/Pandoc/Writers/AsciiDoc.hs
parentbbd94eae2b3f5273bb681ff6706f0cd375d8a1ef (diff)
downloadpandoc-efbb329f1a81a778fd853bffee0414c87a1133b3.tar.gz
Groff escaping changes.
- `--ascii` is now turned on automatically for man output, for portability. All man output will be escaped to ASCII. - In T.P.Writers.Groff, `escapeChar`, `escapeString`, and `escapeCode` now take a boolean parameter that selects ascii-only output. This is used by the Ms writer for `--ascii`, instead of doing an extra pass after writing the document. - In ms output without `--ascii`, unicode is used whenever possible (e.g. for double quotes). - A few escapes are changed: e.g. `\[rs]` instead of `\\` for backslash, and `\ga]` instead of `` \` `` for backtick.
Diffstat (limited to 'src/Text/Pandoc/Writers/AsciiDoc.hs')
0 files changed, 0 insertions, 0 deletions