00351: Markup only valid for certain areas
Description:
As you suggested I would like to remove the additionally introduced markup for Cookbook/HorizontalVerticalMenu and use normal list markup. To achieve the same functionality I would have to redefine the "*" markup. But I think it is not a good idea to change the markup in general. I just want to change the result of the markups between the surrounding directives, in this case (:vmenu:)
or (:hmenu:)
and (:menuend:)
. So after (:menuend:)
the "*" directive should give the same result as before (as if it was never changed).
I tried myself to find out a way to do that, but my knowlegde is to small for that I think. (Especially regarding internals of PmWiki)
If you don't want to modify the markup, you can process another markup before the given markup, in your case by defining the order being '<^*'.
To activate your markup, another markup can define a flag on/off. For example, see in the script stdmarkup.php the (no)linkwikiwords markup.
As an exemple, this is what I have done in the Cookbook/NumberedHeaders recipe, where I execute a preliminary command before the '^!' markup
Though, note the '^*' markup is a 'block' markup which have special behaviour.
PRZ
Thanks for hints
I could have thought myself of that... Nevertheless, thanks Klonk