CodeRay-ize Your Code into HTML

I recently discovered CodeRay as a means to pretty up my Rails-based tutorial examples. But unfortunately, this blog runs under WordPress which is PHP-based, so I can’t use CodeRay here. Or can I?

While not the most seamless process, I now run my code examples through my CodeRay HTML Generator and then paste them into my WordPress posts. Since I use the same stylesheets for both apps, the styles are consistent.

If you have a similar scenario, feel free to use the generator yourself. I don’t keep any snippets…but won’t I see them on your blog anyway?

This entry was posted in Open Source, Ruby. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>