Re: Syntax highlight examples
| From: | Antony Dovgal | Date: | Thu, 11 Dec 2003 12:03:26 +0000 |
| Subject: | Re: Syntax highlight examples | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969357352@lists.php.net to get a copy of this message | ||
On Wed, 10 Dec 2003 22:39:41 +0100
Jakub Vrana <vrana@php.net> wrote:
> Hello!
>
> I've updated html_syntax.php to accept parameter whether generate
> output for HTML or PHP. I'm sending just diff of Makefile for now.
>
> I think that postprocess generated PHP or HTML files by PHP script is
> much easier and transparent than processing in DSSSL. Despite the fact
> that I don't know anything about DSSSL :-).
>
> Is there something that prevent syntax highlighting in examples now?
> The size of PHP files is sometimes even smaller than original file -
> e.g. function.substr is 10 bytes smaller! :-) (Gabor, you are right
> that highlighting on the fly is better in this case of course, I'm
> just kidding.)
I've tested it with Russian version of man.
it works ok, except 1 warning:
PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in
/nfs/phpdoc/scripts/html_syntax.php on line 24
---
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net