Reputation: 29749
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?
Upvotes: 5
Views: 3217
Reputation: 5356
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.
Upvotes: 3
Reputation: 1258
Syntax Highlighter is very useful.
http://code.google.com/p/syntaxhighlighter/
There are too many code lighter plugins on Wordpress plugin page. You can provide it from there
Upvotes: 1