[pmwiki-devel] Markup rule evaluation sequence
Patrick R. Michaud
pmichaud at pobox.com
Fri May 23 00:26:10 CDT 2008
On Thu, May 22, 2008 at 10:43:40PM +0100, Hans wrote:
> Thursday, May 22, 2008, 9:40:45 PM, john wrote:
>
> > The wrinkle in this case is that rule1 is optional and can be disabled.
> > In which case, who knows what rule2 will do. What I'd like to do is
> > have some permanent foundations on which to pin possibly
> > temporary markup rules.
>
> And how about defining your own "boundary" rule, which will do nothing
> at all, say as rule0 : >links
> and then your other rules relativ to this?
> rule1 : >rule0
> rule2 : >rule0
See my previous post.
> Or/and make the disabling of a markup rule so that the disabled
> markup is still there, but does nothing?
PmWiki already does this last part -- disabling a rule simply
disables it, it doesn't remove it from the sequence calculations.
Pm
More information about the pmwiki-devel
mailing list