How to Insert code into your Blogger posts
When i started posting blogs about some of the issues i had, as a naive user i wasn't aware of how to add any code snippet in the blog, below is how we do it:
Blogger does not have any out of the box feature to format the code area, to post HLMT, Java, C or any other code in blogger we need to switch Blogger's editor to HTML mode from Compose mode.
You can get the HTML code for your code from below link & then add the HTML code in your blog post.
http://hilite.me/
For example :
Blogger does not have any out of the box feature to format the code area, to post HLMT, Java, C or any other code in blogger we need to switch Blogger's editor to HTML mode from Compose mode.
You can get the HTML code for your code from below link & then add the HTML code in your blog post.
http://hilite.me/
For example :
class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. } }
Comments
Post a Comment