Search code examples
jqueryjquery-pluginssource-highlighting

jQuery plugin to highlight source code


Are there any jQuery plugins to highlight the source code shown in an HTML page? If there are more than one, which one is better to adopt?


Solution

  • You can highlight the syntax with jQuery and Chili. Linked you'll find a nice tutorial to do this.

    You can also check the most famous JS highlight plugin: Alex's Gorbatchev SyntaxHighlighter.