ile-2455632 downloadsRenders ASCII punctuation characters in typographic forms, so you don’t have to struggle to enter desired characters in different editors anymore, for a better reading view.
Renders ASCII punctuation characters in typographic forms, so you don’t have to struggle to enter desired characters in different editors anymore, for a better reading view.
| Source | Rendered |
|---|---|
-- |
– |
--- |
— |
... |
… |
"" |
“” |
'' |
‘’ |
\-\-),
since it receives already rendered HTML documents (--).
If you really want to avoid character replacements,
please use zero-width spaces (-​-).If you want to replace text when you type, consider using another plugin. Of course you can use both plugins: Even the notes you wrote before introducing Smart Typography will be rendered as you wish.
Additionally, your system may have relevant settings as macOS does.
Test cases are taken from a reference implementation of CommonMark, commonmark.js.