Generate github style readme.md documents

http://stackoverflow.com/questions/7694887/is-there-a-command-line-utility-for-rendering-github-flavored-markdown


A little late to the game, but I wrote a small CLI in Python a few weeks ago and just added GFM support. It's called Grip (Github Readme Instant Preview).
Install it with:
$ pip install grip
And to use it, simply:
$ grip
Then visit localhost:5000 to view the readme.md file at that location.
You can also specify your own file:
$ grip CHANGES.md
And change port:
$ grip 8080
And of course, specifically render GitHub-Flavored Markdown, optionally with repo context:
$ grip --gfm --context=username/repo issue.md
Notable features:
  • Renders pages to appear exactly like on GitHub
  • Fenced blocks
  • Python API
  • New: Navigate between linked files (thanks, vladwing!)
  • New: Export to a single file (thanks, iliggio!)
Hope this helps someone here. Check it out.

Comments