Easy colour syntax highlighting on webpage

Publish your source code on web with colour syntax highlighting.

For example: How to send correct UTF-8 mail in PHP
This article is contain a PHP code what is syntax highlighted and all PHP function is link to PHP documentation. This code is more understandable, and more readable than simple colourless version.

How to set syntax highlighting on your website?

The answer is GeSHi (Generic Syntax Highlighter), what is open source and can syntax highlighting approximately 80 programming languages.


SyntaxHighlighter (http://code.google.com/p/syntaxhighlighter) is a better alternative to GeSHi.

Here is an example of its usage:

I looked at both of them and GeShi looks like it supports more languages, is more stable, and has more features.

I also noticed that you wrote SyntaxHighlighter. Which doesn't look bad, BTW, but your post is obviously self promotional.

Add new comment