Re: Syntax highlight examples

From: Date: Wed, 10 Dec 2003 21:42:34 +0000
Subject: Re: Syntax highlight examples
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357341@lists.php.net to get a copy of this message
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.)
Well, as far as I can see, this would fit into our system... It would be nice if you could test, how much time it takes to highlight the examples, but anyway, I think it should go into the makefile... Goba

« previous php.doc (#969357341) next »