Thursday, May 27, 2010

Posting code in Blogger

Ok Blogger gets a big Fail for support of writing and sharing code via a blog. Luckily there seems to be a solution, a text area tag.

I first found a solution over at dreamincode.net - http://www.dreamincode.net/forums/topic/61131-code-in-bloggercom-posts/
Though this one had formatting issues.

Then I came across this entry which talks a bout a code tag and was much happier with the formatting that I was able to do.
http://jayaprakashkv.blogspot.com/2007/12/how-to-add-html-code-in-blogger-post.html


It links to this very nifty tool here - http://www.simplebits.com/cgi-bin/simplecode.pl



Though that tool was not the final solution I actually had to go back in and add the nbsp operator to get indenting to look right but I had the right look finally.

No comments: