I highly recommend google-code-prettify which is used here on Stack Overflow (I also use it on my blog - it is very simple to use and works well).
A Javascript module and CSS file that allows syntax highlighting of source code snippets in an html page.