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.
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/change_log.
You may report bugs, ask for help, and discuss various other issues on the bug tracker.
Everyone interacting in the Python-Markdown project's codebases, issue trackers, and mailing lists is expected to follow the Code of Conduct.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。