Javascript applet for prettyprint source code on blogger. It also allows to download source file
Add it to your JS code on blogger (you can either download and cut/paste it, or just use "<script type="text/javascript" src="https://dohitb.github.io/Coder.js/Coder.js"></script>, also add the custom CSS (code.css), and it's ready to use.
<div>
[code lan=gral|cobol|net|sql]
(Your code here, be sure to add it on HTML edition mode)
[/code]
</div>
<div id="b_ei_codegenerator"><script type="text/javascript">makeCode();</script></div>
- To make text snippets, use ~ before any quote (~", or ~')
- To remark a line, use [hilite] at the begining of the line
You can attach several [code] snippets, inside same div or on different div
Then, when your post is viewed, "makeCode()" will made it's magic and pretty-print your source code :D