[pmwiki-users] Re: Re: MarkupExtensions and other interdependent	recipes
    chr at home.se 
    chr at home.se
       
    Mon Jun  6 12:28:18 CDT 2005
    
    
  
On Mon, 6 Jun 2005, Joachim Durchholz wrote:
> 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*).
Sounds like a good idea to me, but perhpas an array should be used instead 
of a string? (In case an "extension name" contains a space).
/Christian
-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr
    
    
More information about the pmwiki-users
mailing list