If an article has source code snippets, the code is the most important part of the web page. It should be clear and easy to read. For this, it is formatted and highlighted to make it attractive. There are different ways to highlight syntax as per their types (like C, .NET, HTML, PHP etc) for a free hosted blogger blog:
1. Use Online Syntax highlighter services:
Before posting the code, get the highlighted html code from the following online services and paste it in blogger post in edit HTML mode where you want.
2. For Windows Live Writer:
If you are using windows live writer, you can use following plugins and publish post.
See following to use it in blog:
4. Google Code Prettify:
The main drawback of syntax highlighter is loading time. It is not quick. So, google code prettify is an alternate option:
Hope it helps.