Extension for python-markdown that replaces all triple dashes
(---
) with em-dashes (—
).
More information on extensions here.
pip install markdown-emdash
markdown.markdown(some_text, extensions=['mdx_emdash'])
or
from mdx_emdash import EmDashExtension
markdown.markdown(some_text, extensions=[EmDashExtension()])