There are may alternatives and workarounds available in the net to post code snippets
in blogger. But process I follow is the simple one founded in following
link.
What I do is to
(1) Simply go to the site
SIMPLEBITS
(2) Paste the code
(3) Place the code in my blog by clicking Edit HTML link on top
VoilĂ !!