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.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: markdown_sub_sup-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a19965d2e20d966476a9b46f8a8a62c095aa8a213398ad78db35a513cd0b54de
MD5 f170161c15677771e7c5d54936d26700
BLAKE2b-256 2e445109ba27183bd4955941638510d2653c97889b630fa8a249805851cdfe09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for markdown_sub_sup-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2c7b32e9c52c32c8ca26df9e016c4e2d1a20e4e567db7ff6826ea2f6ccec1ffa
MD5 0a933b7087ad101c97c537e8ba3c0a2d
BLAKE2b-256 1200b44e751a57fbe147b0ca8bfb43b7738e473ea5502f3bec798325103f4abf

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