Paste code copied from the Visual Studio editor while preserving syntax highlighting, indentation and background colour.
Options: Max Height, Title Block, Alternating Lines, Line Numbers, Wrap Lines, Un-indent, Background Colour, Use Class Names for Container and Title Block. Set these in your blog or webpage stylesheet.
Your custom colours are left intact because it converts the RTF, outputted by Visual Studio, into HTML. Line numbering is produced by making use of HTML ordered list; this produces far more efficient HTML code than span tags cluttering up your webpage. Also empty span tags are removed; something that many RTF to HTML converters leave behind in the conversion process.
v1.5: Converts quotation marks to named HTML character entities to prevent some blog editors converting straight quotes to smart quotes.
See Also: Copy As HTML for Visual Studio: http://visualstudiogallery.msdn.microsoft.com/en-us/98fef791-eb65-4cdf-bf84-077b98c234cf
Please help us to maintain a healthy and vibrant community by reporting any illegal or inappropriate behavior. If you believe a message violates the Code of Conduct, please notify us by using this form. We will investigate your report and take appropriate action against offenders. We report all illegal activities to authorities.