Syntax coloring PHP examples

From: Date: Fri, 21 Feb 2003 12:16:37 +0000
Subject: Syntax coloring PHP examples
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351897@lists.php.net to get a copy of this message
While trying to learn DocBook and the other pets that we use to generate the manual, I stumbled across the colorize.php-script that can be found in cvs/peardoc. Why don't we use that script in our manual (well, atleast when building phpweb). It only matches <PRE CLASS="php">, which will be generated when doing <programlisting role="php">, so it won't break other program listings, like ini files and similar. There isn't too hard to generate a similar script to syntax highlight ini, sh and apache configuration files (which I could do if you'd like me too). Just some thoughts. Comments? // Victor

« previous php.doc (#969351897) next »