Thursday, March 5, 2009

SyntaxHighlighter

I found a nice little JavaScript package that will highlight code according to 'brushes' for that language called SyntaxHighlighter. I wasn't sure that I could get it to work on Blogger, but I found instructions how to do this on this webpage.

The download package does not include Haskell support, but I did find a basic one by Cristiano Paris here. I changed a few things from how he had them for this blog, and I think I may add some of the basic list operation functions to the coloring scheme at some point (although the emacs haskell-mode does not highlight these).

No comments:

Post a Comment