I've been thinking of a way to automatically format the source code samples posted on the blog. I made a quick search on Google and I found this free online tool called Source Code Formatter Tool which I have to credit for the formatting of the source code posted in the previous article.
I guess it's worth the try for a lightweight formatting tool, well except for the coloring feature which could be a priority for some.
Note that there are several online tools which do the same as Source Code Formatter Tool.