[pmwiki-users] Re: Re: MarkupExtensions and other interdependent recipes
John Rankin
john.rankin at affinity.co.nz
Tue Jun 7 00:55:21 CDT 2005
On Tuesday, 7 June 2005 8:33 AM, Joachim Durchholz <jo at durchholz.org> wrote:
>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
I should be able to make some progress this coming weekend.
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list