Python-Markdown
- 授权协议: BSD
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://pythonhosted.org/Markdown/
- 软件文档: http://pythonhosted.org//Markdown/
- 官方下载: https://pypi.python.org/pypi/Markdown
软件介绍
MarkDown 的 python 实现。
示例代码:
import markdown import bleach html = bleach.clean(markdown.markdown(untrusted_text)) md = markdown.Markdown(safe_mode='replace', html_replacement_text='--RAW HTML NOT ALLOWED--')
