[Pmwiki-users] PHP Syntax Highlighting?

Patrick R. Michaud pmichaud
Mon Jul 26 07:31:48 CDT 2004


On Mon, Jul 26, 2004 at 12:11:22PM +0200, Thomas Werner wrote:
> Hi,
> 
> Ciaran wrote:
> >Try this from the cookbook : 
> >http://www.pmwiki.org/wiki/Cookbook/Beautifier
> 
> OK, thanks! that works!
> But, is there a possibility to achive this without
> using those special markups [= .. =] (replaced
> by $KeepToken)?

Well, there has to be *something* that marks the beginning and
the end of the code section.  [=...=] works nicely for this.

In PmWiki 2.0 it becomes possible to define any start/end
sequence you'd like (i.e., one could have it beautify anything
between <?php ... ?>).

Pm



More information about the pmwiki-users mailing list