CopySourceAsHtml is an add-in for Microsoft Visual Studio 2008 that allows you to copy source code, syntax highlighting, and line numbers as HTML. CSAH uses Visual Studio's syntax highlighting and font and color settings automatically. If Visual Studio can highlight it, CSAH can copy it, and your source should look the same in your browser as it does in your editor.
CopySourceAsHtml is also available for older versions of Visual Studio. CopySourceAsHtml 2.0.0
is the last official release for Visual Studio 2005, while CopySourceAsHtml 1.2.4
is the last for Visual Studio 2003.