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)
Built Distribution
Close
Hashes for markdown_emdash-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d2380310f460e865154f8bc6b77e38cd263833a74e0235c147593de1d434b83 |
|
MD5 | c54142c86aefce5965b5730ad36bfa41 |
|
BLAKE2b-256 | c6adae6d00aa1508aebe8ad121ec009e6ded59b1cf1e39373cc43e5f9ba8c658 |