Liens vers des outils de colorisation syntaxique

samedi 25 mars 2006.
 


Colorisation de PHP utilisant un moteur PHP :

PHP permet de faire en natif de la colorisation syntaxique de code PHP. En ligne de commande, utiliser l’option -s : php -s chemin/complet/du/fichier.php

http://www.manucorp.com/docs/php/features.commandline.php

Dans du code PHP utiliser la fonction highlight_string : http://fr3.php.net/highlight_string


Colorisation de tout code utilisant un moteur PHP :

http://www.spip-contrib.net/Du-joli-code-dans-les-articles

L’honorable Beautifier

Le très avancé avec démo en ligne GeSHi


Colorisation de tout code utilisant un moteur C :

http://www.gnu.org/software/src-highlite/

et son portage sous windows

http://gnuwin32.sourceforge.net/packages/source-highlight.htm