middleman / middleman-syntax

Code syntax highlighting plugin via Rouge for Middleman
https://middlemanapp.com
MIT License
179 stars 57 forks source link

Add support for Kramdown as Markdown engine #17

Closed cpence closed 11 years ago

cpence commented 11 years ago

I've been having all sorts of trouble with Redcarpet lately, so I thought I'd take a shot at getting a couple of Middleman's coolest Redcarpet-specific features working with Kramdown. Here's a patch for Pygments syntax highlighting.

(Yes, I know that Kramdown ships with support for Coderay, but it lacks parsers for many of the languages I need on my site, and this patch makes the Redcarpet-to-Kramdown transition one that doesn't lose any features or make me have to rework my stylesheets.)

bhollis commented 11 years ago

Awesome! We're switching to Kramdown as the default Markdown engine in Middleman 3.1, too.