So for today’s post I’ll be featuring the tutorial by Aumkar Thakur of LordHTML, which showcases the plugin’s capability. You can check out his demo.
To use it in Blogger is easy, just follow the instructions below:
- Go to your Blogger dashboard and head over to “Template”
- Click on “Edit HTML”
- By using “Ctrl+F”, look for the <head> tag
- Copy and paste the following code before it:
- Save the template and you’re done,
Now to be able to use the feature, all you have to do while you’re creatingyour post (on HTML mode) is enclose the source code (your snippet) inside the tags with the appropriate classes.
To highlight HTML code
<pre class='language-markup'> <code class='language-markup'> Your HTML code/snippet goes here</pre> </code>
To highlight CSS code
<pre class='language-markup'> <code class='language-markup'> Your CSS code/snippet here</pre> </code>
Hope you enjoy using this feature!
Related Tricks & Tutorials
Comments will be closed off on this post 365 days (1 year) after it is published. Apologies to this, but it's all about avoiding a growing comment spam problem. See our most recent posts where you can comment here