[go: nahoru, domu]

Skip to content

jJayyyyyyy/markdown-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a github-flavored markdown parser. 利用该程序,可以将 readme.md 解析成为 html 文件, 方便展示和打印。

All html tags, e.g. <h1>, <a>, <p>, will be escaped unless there is only a <br> in a line, which could be used to add more space between two sections).


Usage

Install python3, then run the following command

python3 mdparser.py [blog.md]

Demo

  • Here is a demo markdown text blog.md, and its corresponding html text blog.html would be like this

    demo


TODO

  • Colored codeblock highlight, 代码颜色高亮仍待实现

  • ordered list, ol, 有序列表

  • a formal specification


Reference

About

This is a GitHub Flavored Markdown parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published