[pmwiki-users] Re: MarkupExtensions and other interdependent recipes

Joachim Durchholz jo at durchholz.org
Mon Jun 6 01:48:53 CDT 2005


John Rankin wrote:
> 
> I'm also thinking of deconstructing the markup extensions into more than 
> one script, as well as making it easier to configure.

Yes, please do.


How about something like a blank-delimited list of rule names like in

   $MarkupExtensions = '`. `- 1/4';
   include_once('cookbook/extendmarkup.php');

to activate just the listed rules (i.e. `., `-, and 1/4 in the example)?
That would other recipes to draw in exactly the markup that they need 
(they could then to the "$MarkupExtensions = ...; include_once..." 
sequence without pulling in *everything*).

Regards,
Jo



More information about the pmwiki-users mailing list