Highlight PHP and JavaScript Code with PHP

PHP has a cool function that automatically highlights PHP code called highlight_string();Theoretically this could be used to roll your own code highlighting on a site, rather than rely on JavaScript or some kind of external service to do it. In this article I’ll show you the basics of how it works, then extended it with …

Jquery Syntax Highlighting

Chili directly supports highlighting of PHP, HTML, CSS, JavaScript, MySQL, Java, C++, C#, Delphi, and LotusScript. Additionally, it’s fairly easy to add a new recipe for any other language by means of regular expressions. very fast coloring easy line numbers trivial setup fully customizable thoroughly documented MIT licensed