Adding Syntax Highlighter to my blog.
May 1st, 2009
The primary purpose of this blog is to help me catalog stuff that I find useful. I wanted a good way to highlight code snippets as well as make them downloadable when I want to reuse them. Thanks to this great post on hanselman.com I found Syntax Highlighter. Syntax Highlighter will decorate <pre></pre> tags that have been marked with specific CSS classes using JavaScript. There is no need to have to include HTML markup in the code. How great is that?!
Here is a test snippet:
function test() : String
{
return 10;
}
