Is there a command line utility for rendering GitHub flavored Markdown?

后端 未结 25 1763
一个人的身影
一个人的身影 2020-11-28 16:53

I\'m wondering if there is a command line utility for taking a GitHub flavored Markdown file and rendering it to HTML.

I\'m using a GitHub wiki to create website con

25条回答
  •  星月不相逢
    2020-11-28 17:37

    pip3 install --user markdown
    python3 -m markdown readme.md > readme.html
    

    It doesn't handle GitHub extensions, but it is better than nothing. I believe you can extend the module to handle the GitHub additions.

提交回复
热议问题