Adding Syntax Highlighter to my blog.

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 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;

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.