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