> I am thinking about what would be the best way to do syntax highlighting
> of PHP-code.
> 
> If one considers how PHP:s own syntax highlight function works, it
> produces a mess of inline-styles (or font-tags for the poor ones still
> doing PHP 4). See http://se.php.net/highlight_string
> See also http://www.sitepoint.com/article/highlight-source-code-php
>
> ...
>
> Anyone else thinking along these lines?

 This should help:

http://pear.php.net/package/Text_Highlighter

 You'll get any freedom to define your PHP, and also (because you
get the source) to modify the highlighting-generator itself, if
it not allready produces nice classes.

> Lars Gunther

 Ciao
        Niels



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to