typeset

Smart typography for prose. Enables Markdig's SmartyPants so common ASCII punctuation is replaced with its typographically-correct equivalent as the page is parsed:

You type You get
"quotes" curly “quotes”
'apostrophes' curly ‘apostrophes’
-- en dash (–)
--- em dash (—)
... ellipsis (…)

Code spans and fenced code blocks are left untouched, so command lines and code samples keep their literal quotes and dashes.

Usage

Enable the plugin — there is nothing else to configure. Every page's prose is typeset automatically.

"It just works" --- no configuration, no per-page opt-in...

renders as:

“It just works” — no configuration, no per-page opt-in…

Options

This plugin has no options.

{ "name": "typeset" }

Attribution

Provided by Markdig's SmartyPants extension, modeled on John Gruber's original SmartyPants. See Attributions.