How To Add Syntax Highlighter In Blogger?

  1. Go To Blogger > Design > Edit HTML 
  2. Backup your template
  3. Search for this,

     4.  And just below it paste the following code.

     5.   Save your template and you are done!
     6.   Whenever you wants to use syntax highlighter  in your post just use this code inside your post
         <pre class="brush:css, brush:html, brush:js, brush:php, brush:sql, brush:python">
               //  add your code here 
     7. Then update or save that post.

Post a Comment