Syntax Highlighting

  • 0
In case if you want to know how the codes in this blog is formatted :)
I am new to the whole blogging platform, may it be blogger or wordpress. Wordpress had plugins for syntax highlighting. I havent found a plugin for blogger. So i am using Hiliteme




Very simple!, just paste in the code we need ( select the option, ie HTML, CSS, JS, whatever it be,

Then, edit the CSS column with the style we need, Choose from the variety of highlighting styles, and hit "Highight" button. If you are satisfied with the preview, copy paste the whole HTML section inside the HTML section of the blog ( not the Compose Section )



.inner-left{
   .make-xs-column(6);        
   height:30px;
   background-color:@inner-left-sx-bg;
         
}
.inner-right{
   .make-xs-column(6);          
   height:30px;
   background-color:@inner-right-sx-bg;
         
}

Thats it! Cheers and have a great day!

No comments:

Post a Comment