Posting code snippet to blogspot post (no syntax highlighting)

Encode your code using an online HTML Encoder and then put it inside pre
<pre><pre>
<%–your encoded code goes here–%>
</pre>
</pre> HTML Encoder