Code Highlight 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
18:00 UTC
Read the original article
Hit count: 145
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