Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Replacing github syntax highlighted code blocks with showdown friendly pre tags #10
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 ;)