If you blogging your code in your blogs post. You waste lots of time to format your code like in IDE. I have a solution for that. I have a found a add in which will copy paste code as html. So you don't need to do anything.
Here is the link for that..