Show: All | News Items | Blog Posts
There are no news releases with that tag.
Easy Syntax Highlighting for Code
Dec 3, 2008 by Travis
Syntax highlighting of code is a real pain. You have several options: javascript, roll your own, or use handy-dandy embeds. I'll go through each. On my rails blog, I use the SyntaxHighlighter javascript plugin. It works really well and looks pretty good. My only complaint is that the color highlighting leaves a little to be desired. Only certain keywords and str...