CodeMirror is a JavaScript library that can be used to create a relatively pleasant editor interface for code-like content ― computer programs, HTML markup, and similar. If a mode has been written for the language you are editing, the code will be coloured, and the editor will optionally help you with indentation.
Tag Archives: code
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 …
Continue reading “Highlight PHP and JavaScript Code with PHP”
Perian
Perian is a free, open source QuickTime component that adds native support for many popular video formats.
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