Blog properly formatted code from Visual Studio 2005
Jeff Atwood has created a great macro for Visual Studio 2005 that allows you to cut and paste code like it should be done. It even removes unnecessary white space! The Visual Studio plugin to copy source code as html has more features but it requires you to install the plugin.
Get the latest versions of both alternatives and give them a try, especially if you post a lot of code:
Via Coding Horror
Post a Comment