Skip to main content

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


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)

Uploaded Source

Built Distribution

markdown_sub_sup-0.0.3-py3-none-any.whl (4.9 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