Is there a free code to html syntax highlighter written in C#? I am looking for something I can host in an .net mvc app
+1
A:
you might find this useful. http://code.google.com/p/syntaxhighlighter/wiki/Overview and this http://m3rlinez.blogspot.com/2008/09/syntax-highlightformat-c-java-php-code.html
Preet Sangha
2009-11-10 19:47:15
+1
A:
If you can access a command line tool, you can get pygments (it is python), but just pipe the output back into your app.
It's has a multitude of output formats.
mikelikespie
2009-11-10 19:47:47
+1
A:
While I haven't open-sourced it yet, you'd be welcome to the formatter I use for the C# in Depth web site. Give it a try, and let me know if you'd like to use it.
Jon Skeet
2009-11-10 19:55:53
Thanks for the code!!!
Jamey McElveen
2009-11-11 20:56:25
@Jon are you still planning to release the source?
Chris S
2010-01-24 21:48:04
@Chris S: At some point, if I ever get time. I have too many other projects on at the moment though.
Jon Skeet
2010-01-24 23:11:04