Introducing Gitdown A Markdown/Pygments Class For PHP

RSS
2014-05-05

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 new database and interactive demographics application for the Maine State Planning Office.
Firefly is a finalist for TechMaine's 2011 Best of the Web, in the category of e-commerce.
Firefly launches new site for the Maine Antique Digest
See All News