Help ! RedCloth CodeRay integration

Hello,

I’ve been digging in the RedCloth code to add CodeRay support. CodeRay
is a
nice syntax highlighter. Adding CodeRay support is really nice to do add
ruby example in blog posts.

RedCloth seems to support a tag and I tought that I could
intercept
the code’s content and pass it trough CodeRay. I’ve checked lots of
places
but somehow I’m not able to find the right place to do my cooking.

Please help me ! I’m getting crazy about that problem ! :-p

Jonas P. wrote:

Hello,

I’ve been digging in the RedCloth code to add CodeRay support. CodeRay
is a
nice syntax highlighter. Adding CodeRay support is really nice to do add
ruby example in blog posts.

For the sake of google (seeing that this post is on the top of a google
query for ‘redcloth coderay’, I’m posting here even though the thread is
2 years old.

I made a plugin for Rails that adds a -tag. See docs and tests
for more info. Can easily be extracted for use outside of Rails.

http://github.com/leethal/redcloth-with-coderay