Tuesday 12 February 2013

how to add syntax highlighter for blogger vlog


         Today I’m going show how to add syntax highlight for your blogger, it’s simple to add syntax highlighter. Syntax highlight is rich if add to your blogger blog, its changes the way your blog look and make your blog nice and clean
Its has different supporting languages and scripting languages etc.
 All you need is go to their official site or copy and paste JavaScript code, one thing should you remind when you posting any code that code must be within these tags




And these tags are basic tags to highlight, if you use this tags its changes the font size and font its look some none effective, the syntax highlight is more color full and nice
For example for html code should be highlight then tags should be like this
Ex1:

Ex2:

 To add syntax highlighter for your blogger blog
Step1:
Login to Blogger account
Step2:
Go to template and click Edit html
Step3:
Now click proceed button
Step4:
Find this tag using Ctrl+F body tag ending
Step5:
Paste the below code before the end body tag

Step6:
Now Click on save template
Step7:
Whenever you syntax highlighter in your post just write code between this two tags



for different code blocks name check here http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/

No comments:

Post a Comment