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 details)

Uploaded Source

Built Distribution

markdown_sub_sup-0.0.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file markdown_sub_sup-0.0.3.tar.gz.

File metadata

  • Download URL: markdown_sub_sup-0.0.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for markdown_sub_sup-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b59c1bbc2f681e3ecebe6bd9eb3df5841f27fb69768c8ac5a58489196fdd4368
MD5 00158b88c60885706ef360f70f8ba351
BLAKE2b-256 66c4a3e288b503051207a61b7df3b03eb4fe08e28120d6b0beee985bfbd2a56c

See more details on using hashes here.

File details

Details for the file markdown_sub_sup-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for markdown_sub_sup-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2e965baaa5d6ea65f199de2a976511642df2a319af5e3fd29970fa287a8538e8
MD5 69280f0866c922ae47604375ecadd427
BLAKE2b-256 70e1c96d68655888dc0c6d01678c1eeb8c6578077befdc070e5abd2d06347565

See more details on using hashes here.

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