CopySourceAsHtml
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:
Update: This version is no longer available for download. Download a newer version from this page.
After you install CopySourceAsHtml, "Copy Source As HTML..." will appear in the code window's context menu:

When you click "Copy Source As HTML...", you'll be asked for language and formatting preferences. "Language", "Number From", and "Tab Width" are taken from the document. "Line Numbers", "Alternate Line Background", and "Embed Stylesheet" are stored in the registry.

When you click "OK", the source will be formatted according to your preferences and copied to the clipboard, ready to be pasted into your blog.
CopySourceAsHtml extends CSharpFormat, and I'm grateful to Jean-Claude for his excellent work. If you find CopySourceAsHtml useful, find a bug, see room for improvement, or know of an existing add-in that provides the same functionality, please let me know.
Thanks,
Colin
04:40 PM | Colin

TrackBacks
# VS.NET Add-In For Source Code Formatting as HTML
07:07 PM | you've been HAACKED
# CopySourceAsHTML
This is definitely one of the easiest to use tools to turn source code into syntax colored HTML. It's a...11:21 AM | The .NET Guy
# Yet another awesome IDE Plug-in
01:16 PM | who IS jake?
# 100, CopySOurceAsHtml, SPs versus SQL e mais vergonhas
03:42 PM | LA.Net
# 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...04:45 PM | Lockergnome's Web Developers
# HTML Formatted Source Code
One of the cooler VS.NET addins that I've come accross. The CopySourceAsHTML addin allows you to copy source code in VS.NET as syntax-highlighted HTML. I've always used a tool I made to convert the code to formatted HTML - but this makes so much more s...05:21 PM | { public virtual blog
# CopySourceAsHTML
CopySourceAsHTML05:29 PM | David Boschmans' Weblog
# Syntax Highlighting
07:34 AM | t4rzsan's blog
# Code to HTML Formatter
01:43 PM | overflow
# The Ultimate Algorithm
10:51 PM | Fanzoo's Blog of Knowledge
# CopySourceAsHTML: Get Code into HTML without Word from the Editor
01:37 PM | Powertoys WebLog
# CopySourceAsHtml
02:55 PM | blog.dreampro
# CopySourceAsHTML: Get Code into HTML without Word from the Editor
07:36 AM | dotRob
# Visual Studio plugin to copy source code as html
11:45 AM | /egilh
# New to Me: CopySourceAsHTML
01:59 PM | Rob Caron's Blog
# Geek Notes 2004-10-26
03:17 PM | Geek Noise
# Interesting Findings this morning
Interesting Findings this morning12:38 PM | Jason Haley
# CopySourceToHTML VS.NET Plug-in demo
04:03 PM | Dave Burke's Blog
# VS.net code formatted with CopySourceAsHtml
VS.net code formatted with CopySourceAsHtml07:45 PM | Jason Haley
# Tips for posting .NET code snippets
04:50 AM | Howard van Rooijen's Blog
# CopySourceAsHtml
06:19 PM | blog.dreampro
# VS, meet blog. Blog, meet VS.
12:25 PM | All About Interop
# Ultimate list of Visual Studio AddIns
03:41 PM | Mikehall's Embedded WebLog
# VS.NET Plugin - Copy Source Code as HTML
04:58 PM | Eric Stevens
# Simple Visual Studio add-in that allows you to copy source as HTML
01:54 AM | .Net Adventures
# CopySourceAsHtml
04:42 PM | Bill Shen's Blog
# Blogging Code Snippets
12:23 AM | MSDN Student Flash
# Addin to copy source code for publishing in blog
09:39 AM | Omar Al Zabir Blog
# Updated Bugslayer Rules
John Robbins' updated rules05:35 AM | Managed from down under