md-preview is just a good enough solution to previewing markdown documents as github styled HTML.
$ pip install git+https://github.com/simple/md-preview.git
$ md-preview filename [ filename ... ]
By dropping the GitHub Markdown Rendering API, it does not support GFM anymore(so I have changed the project name).
HTML template is borrowed from ghmarkdownrender.