Best would be if it performs the highlighting exactly as it is in Visual Studio.
+3
A:
If you're using Visual Studio, you can try the Copy Source as HTML plugin.
An non-Visual Studio alternative would be SyntaxHighlighter (more info here)
dylantblack
2009-06-25 06:34:00
wow, thats a nice alternative!! i will wait a bit if there will be a good suggestion for a proper WP plugin .. otherwise I will accept this as the best answer.
Michal
2009-06-25 06:49:15
+1
A:
Probably SyntaxHighlighter Evolved, which uses a nice JavaScript (SyntaxHighlighter 2.0) library for highlighting, and you can easily add custom styles.
Anteru
2009-06-25 06:37:34
i like that plugin but the only thing which makes it a no-go is: "NOTE: One important thing to watch out for is opening triangular bracket <. It must be replaced with an HTML equivalent of < in all cases. Failure to do won't break the page, but might break the source code displayed. " Code normally contains a lot of brackets (<) and i have no time to encode them manually :(
Michal
2009-06-25 06:50:53
In this case, you can use the editor for SyntaxHighlighter: http://precode.codeplex.com/
Anteru
2009-06-25 09:44:42