Add Pretiffy Syntax Highlighter In Blogger

How To Add Pretiffy Syntax Highlighter In Blogger

Google Code Prettify is a Javascript module and CSS file that allows syntax highlighting of source code snippets in an html page. Today i,m going to explains you in this tutorials how to add Prettify syntax highlighter to your blogger blog.
its make your blog more professional
Pretiffy-Syntax-Highlighter
1) First of all go to your blogger dashboard click on template and then edit html

2) Use Ctrl+F and find <head>
3)  Copy the codes given below and paste these codes just below it <head>

<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>


4) Now go to your new post and click on HTML
5) Copy the codes given below and paste these codes in HTML window

<pre class="prettyprint">source code here</pre>
6) Finally publish your post

Tags:

0 Responses to “Add Pretiffy Syntax Highlighter In Blogger”

Post a Comment

Subscribe

Donec sed odio dui. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio. Duis mollis

Designed by BloggingNeed