Replacing github syntax highlighted code blocks with showdown friendly pre tags #10

Merged
merged 1 commit into from Jan 2, 2012

Conversation

Projects
None yet
2 participants
@DamonOehlman
Contributor

DamonOehlman commented Dec 29, 2011

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 ;)

rthauby added a commit that referenced this pull request Jan 2, 2012

Merge pull request #10 from DamonOehlman/master
Replacing github syntax highlighted code blocks with showdown friendly pre tags
Nice one!

@rthauby rthauby merged commit c3108dd into rthauby:master Jan 2, 2012

@rthauby

This comment has been minimized.

Show comment Hide comment
@rthauby

rthauby Jan 5, 2012

Owner

Hey, nice work on this. I'll be pushing a new version with a few minor tweaks (including this one) to npm today. Thanks for the feature!

Owner

rthauby commented Jan 5, 2012

Hey, nice work on this. I'll be pushing a new version with a few minor tweaks (including this one) to npm today. Thanks for the feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment