Re: Text_Wiki and syntax highlighting
| From: | Jan Schneider | Date: | Fri, 03 Mar 2006 12:00:20 +0000 |
| Subject: | Re: Text_Wiki and syntax highlighting | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41617@lists.php.net to get a copy of this message | ||
Zitat von bertrand Gugger <bertrand@toggg.com>:
Bonjour, sorry to come late to you. W. Tasin wrote:Why don't you use PEAR's Text_Highlighter package instead? Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/Hello *, I wrote a Text_Wiki adapter/wrapper class to make syntax highlighting for other languages than php or html inside horde's wicked possible.best would be you report it, also patches in pear bug tracker http://pear.php.net/bugs/report.php?package=Text_Wiki take a look into davey's http://pear.php.net/bugs/4230 , Paul assigned it to him. We release 1.1.0 very next, that would only come in the releases after.The syntax highlighting engine is GeSHi (Generic Syntaxhighlighter) and parses many different languages (see http://qbnz.com/highlighter/). You can find the wrapper sources, installation guide for the integration within horde's wicked and output examples at: http://pc01-lsw.ee.fhm.edu/wiki/Horde/WickedAndGeSHi I don't know your policy concerning the usage of an external tools inside a pear module, but I think it would be a nice extension for Text_Wiki.GPL is not possible.