[pmwiki-users] Re: Re: Re: MarkupExtensions and other interdependent recipes
chr at home.se
chr at home.se
Sun Jun 12 07:36:26 CDT 2005
On Thu, 9 Jun 2005, Patrick R. Michaud wrote:
> On Mon, Jun 06, 2005 at 10:33:09PM +0200, Joachim Durchholz wrote:
> > chr at home.se wrote:
> > >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.
>
> Sometimes a single string is easier to write, sometimes an array is
> easier to write. This is why many of PmWiki's defaults can be either
> delimited strings or arrays. My suggestion is for the recipe to understand
> arrays of space-delimited arguments.
Nice compromise :-)
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list