Introduction

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.

Details

Installation
Usage
Troubleshooting
Style Gallery

Examples

Normal Colors

Visual Studio:

Normal colors in Visual Studio...

HTML:

...look exactly the same in Internet Explorer.

Ugly Colors

Visual Studio:

Ugly background colors in Visual Studio...

HTML:

...look exactly the same in Internet Explorer.

Last edited Jun 13, 2010 at 11:10 PM by colincatjtleigh, version 11