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
Built Distribution
File details
Details for the file markdown-emdash-0.2.0.tar.gz
.
File metadata
- Download URL: markdown-emdash-0.2.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 410cb8797e5b35c39f0b6a3671903d451f201447af141866656abd7ed0712574 |
|
MD5 | 00f998a193bedf44e95d9b9d810f676f |
|
BLAKE2b-256 | 8268ad594d8f09a9bc37958d729fd7986d4e17e5fc92b39c2b40d78ec3cf4c7e |
File details
Details for the file markdown_emdash-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: markdown_emdash-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d2380310f460e865154f8bc6b77e38cd263833a74e0235c147593de1d434b83 |
|
MD5 | c54142c86aefce5965b5730ad36bfa41 |
|
BLAKE2b-256 | c6adae6d00aa1508aebe8ad121ec009e6ded59b1cf1e39373cc43e5f9ba8c658 |