I am using SyntaxHighlighter (http://alexgorbatchev.com/SyntaxHighlighter/) for formatting and highlighting source code on blogspot and I will explain in this post step by step how to set it up. Btw: For writing my blogs I am using Windows Live Writer with the plug-in Precode (http://precode.codeplex.com/) which gives support for SyntaxHighlighter and snippet indentation.
1) From the navigation menu of blogspot select Design – Edit HTML. Add following lines:
2) For posting a piece of c# source code it is enough to wrap it between:
source code
HAPPY POSTING!!
No comments:
Post a Comment