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

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 content. I’ve cloned the repository on my server and would then like to process it into regular HTML. It’s important to me that what appears on GitHub is exactly how it should look for my website. I’d also really like to use the fenced blocks with ~~~, so I’d rather not use standard Markdown syntax only.

I’ve looked a bit into the JavaScript live preview thinking I could hook it into Node.js, but they say it is deprecated. I’ve looked at the redcarpet repository, but it doesn’t look like it has a command line interface.

I rolled my own solution, however, since no solution here is clearly better than the others, I’ll leave the question without a selected answer.

26 Answers
26

Leave a Comment