Using the dp.SyntaxHighlighter, plain textarea elements
can be transformed into highlighted code.
What is needed:
textarea
name="code" attribute with any textarea that should be processedclass attribute to control the syntax highlighting applied (e.g. xml, js, css, java)And here is the same code, without the SyntaxHighlighter invoked: