How To Install Syntax Highlighter V7 to Blogger/blogspot. 0

| | , ,


Now follow below simple step to add syntax highlighter to your blogger/blogspot this is simple trick that you can do it normally .

* First go to your blogger dashboard .

* Click to design tab and edit HTML .

* Now click on box to expand your blogger template now.

* Now find </head>  with CTRL+F key  .

* After above step copy below code and paste it just before </head>

<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'></script>
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeMDUltra.css' rel='stylesheet' type='text/css'/>
<script language="javascript" type="text/javascript">
 SyntaxHighlighter.config.bloggerMode = true;
 SyntaxHighlighter.all();
</script>

* Now save your template now.















Note: Whenever you have to write some codes in your posts, click on "Edit Html" tab of your post editor and write the codes between the following tags.

<pre class='brush:js;'>

...Put your html-code here...

</pre>

 * Now refresh your blog and your tricks is great.

StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google I'm reading: How To Install Syntax Highlighter V7 to Blogger/blogspot. ~ Twitter FaceBook

0 Responses So Far:

Categories

Select Your Categories