Tuesday, March 17, 2009

Insert code in Blogger post

Yesterday I try to put a code in my post to show an example. But when I paste the code in the post, Blogger parse it and the result was - CRASH.

Here I will show you how to put a code in the body of your post.

Copy and paste your code in Notepad or some other text editor. With the automated function replace all


"<" with "& l t;"

and

">" with "& g t;"


IMPORTANT: Remove the blank spaces between the letters & l t and between & g t. I was put them, because Blogger will render the symbols and will replace them wiyh < and >.

The quotations is for example - do not use it.

And that's it.

Keep blogging.

Bookmark and Share


1 Comments:

Blogger Little Saiph said...

omg thank you! This really has helped my blog post look way better. and it's such a simple solution that works! thanks!

July 14, 2011 at 10:54 AM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home