Tuesday, 31 July 2012

How To Add Syntax Highlighter v3 in Blogger Blogspot

Stylizing your blog or website is extremely beneficial and has massive significance as it not only attract users but also looks neat and clean, mostly blogger and webmaster spends tons of bucks in stylizing and customizing their blog’s design which is indeed an upright move. When blogger provides codes in their blog they usually provide in the normal way, normal text writing that we usually do, “code is not text” we need to stylize it and also make it more prominent different from our plain text. To resolve the issues, we have introduced a Syntax Highlighter which is exceedingly popular in WordPress but now you have the luxury of using this splendid tool in Blogger BlogSpot blog.

If you want to Preview the Syntax Highlighter Go ahead and see the live demo

What is Syntax highlighter

Syntax highlighter is a brilliant tool to show CSS, Html, JavaScript, SQL and many other languages code in your post body. It arranges your coding in lines which makes it look more prominent. You will even get the choice to select from multiple themes, which will add more color to your blog and make it look worthwhile.

How To Add Syntax Highlighter To Blogger BlogSpot Blog?

Adding syntax highlighter to a blogger is an enjoyable and uncomplicated procedure. We have created an exceptional Syntax Highlighter tool for your convenience so if you follow the following steps sensibly I am certain you will be able to get it right, now let’s look at the tool which we will use in this tutorial.

MyBloggerLab SYNTAX HIGHLIGHTER v3 FOR BLOGGER 

Select a Theme

Select Brushes


 
Copyright © 2012 All Rights Reserved At bsresearcher.blogspot.com
  • Step#1: First select the theme from our Syntax highlighter Tool, to pick your favorite theme more easily according to your personality check the demo Here
  • Step#2: Now we need to choose the Brushes according to our needs, if you are a blogger then you might go with CSS and HTML, but this tool is not limited to bloggers even webmasters and programmers can make use of this tool. So just select CSS, HTML, or whatever you like and then hit the button which says “Generate code”.
  • Step#3: Now copy all the code which is generated in the text area and then move to next step.
  • Step#4: Now go to Blogger >> Template>> Edit HTML>> Proceed
  • Step#5: Then within the template Search for </head>
  • Step#6: Now when you find the </head> ending tag, just above it paste the code which you copied previously from the Syntax Highlighter Tool.
Congratulations! Syntax highlighter is now fully integrated in your blogger BlogSpot Blog. And now you can use Syntax highlighter with command.

Insert HTML/CSS/JavaScript Code in Your Posts Using SyntaxHighlighter:

Now if you want to insert CSS coding in your template then Go to Blogger.com >> Post >> Add New Post >> Select Edit HTML Tab and paste the following code.

For CSS (Style Sheet)
<pre class="brush:css;">ADD-THE-CSS-CODE-HERE </pre>

For HTML Coding:
<pre class="brush:html;">ADD-THE-HTML-CODE-HERE </pre>

For JavaScript Coding:
<pre class="brush:javascript;">ADD-THE-JavaScript-CODE HERE </pre>


Customization:
Replace ADD-THE-HTML-CODE-HERE with your CSS style sheet coding. 
Don’t forget to replace ADD-THE-HTML-CODE-HERE with your HTML. 
Replace ADD-THE-JavaScript-CODE HERE with your JavaScript coding.

If you have not integrated the Syntax highlighter correctly using our tool, then the possibilities are extremely high that you might notice a pop out which will indicate that something is going wrong. For Example, you are using <pre class='brush:css;'></pre> in your blog post but you have not included the CSS Syntax highlighter scripts in your header then you will see the following error.

From the Editors Desk:

So we hope you have enjoyed the treat and make sure you use it with command till then peace, blessings and happy learning. 
How To Add Syntax Highlighter v3 in Blogger Blogspot
4/ 5
By

GET OUR BLOGGING SECRETS DIRECTLY TO YOUR INBOX!

Want access to our blogging secrets,We never shared on our blog.Just enter your email address below to get access to our 3 ultimate guides on how to run a successful blog!

2 comments

Tulis comments
avatar
17 April 2024 at 00:40

Thank you for sharing a very specific and helpful article for those who want to optimize the layout of their blog. Another alternative solution could be using similar plugins on the Blogger BlogSpot platform to style source code more easily and flexibly. I hope you can provide more detailed instructions on how to integrate and customize these tools to help readers better understand. ^^'
https://mehndidesignworld.com/simple-mehndi-designs/

Reply

Dear Reader! We’re enthusiastic to see your comment but after reading the Content please ask for advice and to provide constructive feedback Please Write Relevant Comment with Polite Language.Your comments inspired me to continue blogging. Your opinion much more valuable to me.
Let’s enjoy a personal and evocative conversation. Thank You!