markdown to html
initial release
python軟件包,旨在將github標記的語法轉換為HTML代碼。
*注意:正在進行的其他支持
python3 -m pip install markdown-to-html
>>> from markdown2html import md
>>> md.markdown("**Hi**")
'n<p><strong>Hi</strong></p>n'
命令行接口
$ md -h
usage: Input a file [-h] [-f F]
optional arguments:
-h, --help show this help message and exit
-f F
$ md -f sample.md > output.html