markdownsubsup

March 6, 2023 ยท View on GitHub

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",])