[pmwiki-users] Re: Re: MarkupExtensions and other interdependent recipes
Joachim Durchholz
jo at durchholz.org
Mon Jun 6 15:33:09 CDT 2005
chr at home.se wrote:
> 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).
Rather rename the extension :-)
A single string would be far easier to write, and the recipe can easily
explode() it into an array.
Regards,
Jo
More information about the pmwiki-users
mailing list