Code Highligh with javascript ?

Posted by BrunoLM on Stack Overflow See other posts from Stack Overflow or by BrunoLM
Published on 2010-05-16T17:48:15Z Indexed on 2010/05/16 17:50 UTC
Read the original article Hit count: 181

Filed under:
|
|
|
|

Is there any API or a jQuery plugin that allow me to highlight a code on my website?

For example

<pre code="c#">
   var x = new StringBuilder();
   var complex = new Complex();
</pre>

<script type="text/javascript">
    $("pre[code]").codehighlight({ language: "c#" });
</script>

Something like that?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET