A markdown python extension for use <sub> and <sup> tags with ^text^ and ~text~.
Project description
markdown_sub_sup
Extends the Python Markdown.
Adds the possibility to use ^something^
to create <sup>something</sup>
or ~something~
to create <sub>something</sub>
Install through pip:
pip install markdown_sub_sup
To enable the markdown_sub_sup package and use it in your markdown generation just add it like so:
import markdown
result = markdown.markdown(textToRender, extensions=["markdown_sub_sup",])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
markdown_sub_sup-0.0.3.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for markdown_sub_sup-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e965baaa5d6ea65f199de2a976511642df2a319af5e3fd29970fa287a8538e8 |
|
MD5 | 69280f0866c922ae47604375ecadd427 |
|
BLAKE2b-256 | 70e1c96d68655888dc0c6d01678c1eeb8c6578077befdc070e5abd2d06347565 |