I'd been looking for something to help with this - pasting code into the Blogger post editor results in... well... garbage. It took so much time to format code that I typically didn't do it. I'll probably go overboard in the other direction - but at least I found a tool to help.
Head on over to Phil Factor's Code Prettifier. I'm going to be using that facility (and this post to find it) for a great many posts. A close runner-up is Format My Source Code (thanks Andrew Beacock for blogging about that). I like Phil's colours, so I'm going with that one now - but I do like the boxed code Greg Houston's site makes.
Like it! Very helpful... now my posts might start looking better!!
ReplyDeleteI've been using http://www.manoli.net/csharpformat/ but I'll have to give the others a try.
ReplyDeleteThats helpful Todd. Would save some time and make the blogs more presentable.
ReplyDelete