Open xuhdev opened 8 years ago
I think we could possibly add support for converting ---
to an em-dash, but I do not think we will change the --
conversion behavior to produce an en-dash. Using --
as a proxy for an em-dash is too deeply ingrained in traditional text behaviors, as well as mainstream operating systems that automatically replace --
with an em-dash.
When I want an en-dash, I use the en-dash itself in the source content. Seems to work fine.
OK, thanks... Maybe we should just support 3 dashes...
For folks using Markdown, the SmartyPants extension in Python-Markdown already handles this.
Currently, the following lines produces an mdash and a dash:
prints
but it really should print a single mdash---otherwise how to produce an ndash? See the wikipedia to read more details.