E-Mail:
Author Avatar

CopySourceAsHtml

Interested in copying source code as HTML? Well for Visual Studio users it can be done. Thanks to a little add on program located here, you can make this happen with a lot less effort that you might think. One the add on is installed, the process for transforming the source code into HTML is actually pretty straight forward.

Brad Abrams, Jay Bazuzi, Roy Osherove, and what seems like the majority of .NET bloggers use Word, Word macros, or Visual Studio macros that use Word in some way to format their code. A few use Jean-Claude Manoli’s CSharpFormat tool. Each solution has drawbacks (opening Word, opening another browser window, copying and pasting, extra steps, terrible HTML, etc), and formatting code is still painful, so I’ve written a simple Visual Studio add-in that allows you to copy source as HTML suitable for pasting into blogs:

What Do You Think?

 


Anti-Spam Image

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

Author Avatar
Flash, SEO - Aug 6, 2008

Flash And SEO: Like Oil And Water