Skip to main content

Extension for python-markdown that replaces all triple dashes em-dashes.

Project description

# markdown-emdash

Extension for [python-markdown](https://python-markdown.github.io/) that replaces all triple dashes () with em-dashes (—).

More information on [extensions here](https://python-markdown.github.io/extensions/).

## Installation

` pip install markdown-emdash `

## Usage

`python markdown.markdown(some_text, extensions=['mdx_emdash']) `

or

`python from mdx_emdash import EmDashExtension markdown.markdown(some_text, extensions=[EmDashExtension()]) `

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page