Re: Syntax coloring PHP examples
| From: | Victor Boivie | Date: | Sat, 22 Feb 2003 11:42:42 +0000 |
| Subject: | Re: Syntax coloring PHP examples | ||
| References: | 1 2 3 4 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969351925@lists.php.net to get a copy of this message | ||
> > This should only be used for phpweb, right? (not 'html' for example)
>
> Yep. HTML should be working without any PHP setup. It can in fact be
> used to get help setting up PHP..
I don't think we speak about the same thing now.
What I want to do is to use highlight_string when building the manual, so
that the example
(text) will be converted to syntax colored HTML. I will not use the
highlight_string at runtime - only when building the manual. So there's no
need for PHP when viewing either phpweb or the HTML version of the manual.
But I think that the HTML manual shouldn't use colorized examples anyway
since it's used for the printed version of the manual (right?)
Victor