Copyright | © 2018–present Mark Karpov |
---|---|
License | BSD 3 clause |
Maintainer | Mark Karpov <markkarpov92@gmail.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Punctuation prettifier.
Synopsis
Documentation
punctuationPrettifier :: Extension Source #
Prettify punctuation (only affects plain text in inlines):
- Replace
...
with ellipsis…
- Replace
---
with em-dash—
- Replace
--
with en-dash–
- Replace
"
with left double quote“
when previous character was a space character, otherwise replace it with right double quote”
- Replace
'
with left single quote‘
when previous character was a space character, otherwise replace it with right single quote’
aka apostrophe