rthauby/Paige — pull request #10 by DamonOehlman (2011-12-29 05:53:43+00:00)
Title: Replacing github syntax highlighted code blocks with showdown friendly pre tags

Firstly - thanks for Paige, exactly what I was after :)

One thing I did have in my README files though was a lot of the github flavoured syntax highlighting which was not getting handled well by the showdown processor. So I popped a regex to replace those with pre tags prior to processing.

I don't usually code in coffeescript though, so it's probably worth checking that no brackets slipped in ;)