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

Uploaded Source

File details

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

File metadata

  • Download URL: markdown_sub_sup-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cc00c0c22696970f80ce316a0457872da6edfb31fffb51c85c461f6a1755a68c
MD5 127e5b4d5c57154c50f17b7a18727bbf
BLAKE2b-256 052172726f7ccce9e46ecf1ae3d28f4a50b3cfc605ac8ac6a3ae79453499f4f4

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