Python implementation of John Gruber's Markdown.
Actively maintained. Last release 4 days ago, commits in 18 of the last 26 weeks. A safe choice.
pip install markdownPython-Markdown
This is a Python implementation of John Gruber's Markdown. It is almost completely compliant with the reference implementation, though there are a few known issues. See Features for information on what exactly is supported and what is not. Additional features are supported by the Available Extensions.
Documentation
pip install markdown
import markdown
html = markdown.markdown(your_text_string)
For more advanced installation and usage documentation, see the docs/ directory
of the distribution or the project website at https://Python-Markdown.github.io/.
See the change log at https://python-markdown.github.io/changelog/.