I have setup markdown which support pygments. I do processing on client side before publishing to blog.
I put the code I want to highlight in a file (actually the whole blog post is formatted with plain text markdown) and run it through markdown (pygments extension on). Pygments is used to do syntax highlighting of the code snippets.
All that is needed for the source code to be detected is to specify language and have it indented by at least 4 spaces.
I then just paste the formatted blog entry in html format into blog. I'm using blogger, I've updated blogger CSS to show syntax in colors but it can be done by including a link to css.
See here how to setup markdow and pygments to do syntax highlight for blogger.