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?