Pages

Subscribe:

Ads 468x60px

Monday, February 27, 2012

Syntax Highlighter, Code Format in Blogger

it is very Cool to highlight your code or just format your code in such a way that it should looks easy to every one and understandable to user.

here is the Code lines if you want to use Code highlighter in your BLOGGER. Just copy it and follow the steps
  • Logged on to your Blogger 
  • Go To Design Tab (it will be 4th tab if you are using new version of blogger)
  • Click on Edit HTML 
  • past the below lines before </head>
  • you have done it sucessfully.





now you only to do one thing that is
in your every post just add

<pre class="brush:[your code language]">
     your Code Goes here......
 </pre>
thats all about Code highlighter. enjoy and have fun.



No comments:

Post a Comment