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()]) `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdown-emdash-0.2.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

markdown_emdash-0.2.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

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