Preview GitHub Markdown documents locally
https://github.com/magnetikonline/ghmarkdownrender
I have been writing a tonne of Markdown documents for GitHub repositories lately (README.md's and the like) and having to play the dance of git push constantly due to rendering issues/typos in these files is annoying and blots my commit logs.
After discovering that GitHub offer a great Markdown -> HTML API endpoint, this PHP web-app/utility seemed like a good idea. Will render your Markdown files locally on your development machine, using GitHub's rendering routines (including source code syntax highlighting) and then displays them using the same CSS/styling that will appear on GitHub itself.
Suggestions/improvements welcome of course :)
Written by Peter Mescalchin
Related protips
Have a fresh tip? Share with Coderwall community!
PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.
Security insights from Cside