No project description provided
Project description
MarkdownParser
MarkdownParser 是一个 Markdown 语法解析器,用于实现md到html标签的转换
安装
pip install markdownparser
快速使用
import MarkdownParser
html = MarkdownParser.parse('# Hello World')
print(html)
#<div class='markdown-body'><h1>Hello World!</h1></div>
不支持
- 四个空格变为代码段
- [^1]的引用方式
- Latex数学公式
- Setext 形式的标题
- 上标 / 下标 / 下划线
- SpecialTextBlock中叠加使用有可能会有bug
相关参考
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
markdownparser-0.1.4.tar.gz
(13.3 kB
view hashes)
Built Distribution
Close
Hashes for markdownparser-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed6a6b4e3b5d21d998c011177406e1daed27b9cf1b658e456d97109b208db9e |
|
MD5 | a3a84a566639b462dbb5dc0a8b73bb7a |
|
BLAKE2b-256 | 42ac9300da1699e909c3b0c7b99c949eca4f8e35015a55af2b1cce66ff25e6b4 |