[PHP-DOC] Syntax coloring PHP examples From: Victor Boivie (vboivie <email protected>)
Date: 02/21/03

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

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php