Introducing Gitdown - A Markdown/Pygments Class for PHP

RSS
May 5th, 2014

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);

Grab the files on Github.

Interested in just the CSS they use on Github? We've figured that one out, too.

comments powered by Disqus

Blog Home »