Rainbow – JavaScript Code Syntax Highlighting

Rainbow – Javascript Code Syntax Highlighting.

I’ve seen the question asked time and time again: what’s a good syntax highlighter for my site? It’s not the most elegant project which is why I assume many are so very dated. The highlighter I used to use on Monday By Noon hasn’t been updated since I started using it. While it works fine, it doesn’t support new syntax modes like Sass or deal with Handlebars templates all that well.

I’ve since started using GitHub Gists for my snippets but those have tradeoffs as well, the biggest compensation being that snippets don’t make it through RSS.

Rainbow has me thinking I might switch back to something on-site, however. It’s a great looking engine that lets you easily customize both the language settings in addition to the color scheme used.