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 »

Portfolio
The Maine Technology Institute and The Libra Future Fund award grants in support of the Gradefly™ project.
Firefly unveils a powerful interactive demographics application for the Office of the Maine State Economist
Firefly is a finalist for TechMaine's Best of the Web, in the category of e-commerce.
See All News