A Python implementation of John Gruber’s Markdown with Extension support
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