Welcome to Markdown Subscript’s documentation!¶
This Python package is 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>
The code is Simplified (2 Clause) BSD license and is available on Github.