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.

CopySourceAsHtml was originally written by Colin Coller and released by J.T. Leigh & Associates Inc.. It is now an open project released under the GPL.

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 Oct 5 at 3:55 PM by colincatjtleigh, version 10

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987