xHighlighter is a script which is written in javascript. It can insert colored code snippets on a web page using client-side javascript only. It is ideal tool for users of BLOGGER because we do not have server side resource to parse and highlight the code. And we are lazy, we do not want to write a lot of CSS to just post a code snippet.
Its a little twisting to make it properly.
Step 1: Download SyntaxtHighlighter From Here
Step 2: Extract the rar file. Upload Script and Style folder's file to any host or website which can be linked from your blog.
Step 3: Login to your Blogger account go to Setting> Template > Edit HTML make the following changes. Paste this code after
Tuesday, August 11, 2009