bell notificationshomepageloginNewPostedit profile

Topic : Adding coding template in a Google blogger I want to add a code viewer in Google Blogger like in image given below. How can I add it please help. - selfpublishingguru.com

10.03% popularity

I want to add a code viewer in Google Blogger like in image given below.
How can I add it please help.


Load Full (3)

Login to follow topic

More posts by @Radia543

3 Comments

Sorted by latest first Latest Oldest Best

10% popularity

To add code snippet or examples in your blogs, you can use:

Block Codes
planetB Syntax highlight code
Code Blocks Add-ons for Google Doc
markup.su Highlighter
halite.me
Github gist


Load Full (0)

10% popularity

Just choose html mode, then write

<code> some code </code>

Then switch back to the normal mode, the paste your codes in replace of the "some code"


Load Full (0)

10% popularity

There is no native way to do this in Blogger it appears (ie - no button you can click on the editor toolbar to insert a block of formatted code) - however, there are plugins and css / javascript solutions you could try - some of those programmatic solutions can be found here in StackOverflow that discusses this at length:
stackoverflow.com/questions/3207758/how-to-show-code-snippet-in-blogs
Another solution: rusya7.blogspot.com/2015/02/how-to-insert-code-blocks-in-blogger.html
Good luck!


Load Full (0)

Back to top