I do have some strings that contains programming code, like XHTML (asp.net markup), C#, C, Java and I want to display them with a syntax highlighter on my web page.
Is there a control or a JavaScript implementation for a syntaxhightlighter that supports multiple languages?
Or would you advise that I explicitly mark the code blocks (like ‘this is c# code’), and use individual controls to display these several languages? Is there anything you can recommend?
I do also take recommendations for syntaxhighlighter that only support one language.
Have a look at this: http://alexgorbatchev.com/wiki/SyntaxHighlighter