Introducing Gitdown - A Markdown/Pygments Class for PHP
May 5th, 2014
comments powered by Disqus
Introducing Gitdown - A Markdown/Pygments Class for PHP
by Jeremy Usher, Co-Founder, President
One of the things missing from PHP is a syntax highlighter as good as Python's Pygments. Enter Github, which renders beautiful, extended Markdown along with Pygmented code - and they expose it through a simple API! So here you have it kids - beautify your Markdown with one line:
$html = Gitdown::pretty($markdown);
Interested in just the CSS they use on Github? We've figured that one out, too.