Most of the people get frustrated by looking into mess of code posted on blogger.
Or you can not judge code in better way.
We can use code formatter in below way.
1. Open your account in sites.google.com
2. Download syntax highlighter (http://code.google.com/p/syntaxhighlighter/downloads/list)
3. Copy following files :
11. save your template.
12. go to your blog post page
13. Write some code and go to HTML mode
14. Write your code under following blocks
Or you can not judge code in better way.
We can use code formatter in below way.
1. Open your account in sites.google.com
2. Download syntax highlighter (http://code.google.com/p/syntaxhighlighter/downloads/list)
3. Copy following files :
- shCore.js
- shBrushCss.js
- shBrushJava.js
- shBrushJScript.js
- shBrushXml.js
5. Open your blogger home.
6. Select Template from left panel
7. Click Edit-HTML button
8. Click Proceed
9. Find </html>
10. Paste following stuffs
<link href='https://sites.google.com/site/siteurl/SyntaxHighlighter.css' rel='stylesheet' type='text/css'/> <script language='javascript' src='https://sites.google.com/site/siteurl/shCore.js'/> <script language='javascript' src='https://sites.google.com/site/siteurl/shBrushCss.js'/> <script language='javascript' src='https://sites.google.com/site/siteurl/shBrushJava.js'/> <script language='javascript' src='https://sites.google.com/site/siteurl/shBrushJScript.js'/> <script language='javascript' src='https://sites.google.com/site/siteurl/shBrushXml.js'/>
11. save your template.
12. go to your blog post page
13. Write some code and go to HTML mode
14. Write your code under following blocks
e.g. <pre name="code" class="xml"> YOUR XML CONTENT </pre>
e.g. <pre name="code" class="java"> YOUR JAVA CONTENT </pre>
NOTE : inside siteurl you should point your sites.google.com URL.
e.g. https://sites.google.com/site/myblogpagesite/shBrushJava.js
e.g. https://sites.google.com/site/myblogpagesite/shBrushJava.js
ENJOY...............