Re: Re: Need for a syntax-highlighter

From: Date: Fri, 05 Mar 2004 11:55:30 +0000
Subject: Re: Re: Need for a syntax-highlighter
References: 1 2  Groups: php.pear.dev php.pear.doc 
Request: Send a blank email to pear-dev+get-26130@lists.php.net to get a copy of this message
> > I was recently having a look at the coloring of "programlisting"- > > parts in peardoc. In short, the docs generated in HTML-form are sent > > through "colorize.php": > > http://cvs.php.net/co.php/peardoc/colorize.php?r=1.2 > > which generates the highlighted version. > > > > However, currently only php-source can be highlighted because the > > script uses php's built-in features for php-highlighting. > I hope this is of some help to you guys. Would be nice if > HTML_BBCodeParser supported: [code type="xml"] for example, > using whatever code is used for HTML_Code_Highlighter, I think > I prefer Text_Highlighter - to stop people thinking it just > highlights HTML.... not sure. As it outsputs HTML, such could should be in the HTML Catagory. HTML_CodeHighlighter would be a perfect name for this :) Cipri

« previous php.pear.dev (#26130) next »