Skip to content

An extension to the Python Markdown package enabling subscript text.

License

Notifications You must be signed in to change notification settings

jambonrose/markdown_subscript_extension

Repository files navigation

Latest Release: PyPI Version Github Tag

Documentation: Documentation Status

Compatibility: Python Implementation Support Python Support License

Tests: Build Status Coverage Status Updates Requirements Status

Read Me

An extension to the Python Markdown project which adds the ability to subscript text. To do so, the character ~ becomes a Markdown tag for text meant to be subscripted, and is replaced with the HTML sub tag.

For example, the extension transforms the text directly below into the HTML shown after it.

Water is H~2~O.
<p>Water is H<sub>2</sub>O.</p>

This project is provided under the Simplified (2 Clause) BSD license, provided in full in the LICENSE file.

Please read the documentation for more information.