Thursday, December 31, 2009

Syntax highlighting for code blocks.

My blog used to have ugly display of source code, and I've always been a bit jealous of sites with pretty syntax highlighting for their source code. Well jealous no longer, I've now started using SyntaxHighlighter in my blog. You can find howto directions here. Here' a small sample:

C Sharp:


If there is demand I'll go through some of the old posts and re-highlight them.


Sriram Krishnan said...

For some reason, I dont see any of your code in my feed reader ( I should typically see unformatted code)

Dave said...

Same here - neither reader or the IE RSS view show the code :(.