Wednesday, May 23, 2007, 2:57:17 PM, Patrick R. Michaud wrote:
> But honestly, $PageTextVarPatterns is configurable, so a recipe
> is completely free to come up with whatever PTV syntax it wants
> to use.
Thanks! Working well now by adding a pattern:
# invisible (::textvar:...::) markup
Markup('textvar::', '<split',
'/\\(::\\w[-\\w]*:(?!\\)).*?::\\)/s', '');
# add new PTV pattern for text PTV (::var:...::)
$PageTextVarPatterns['(::var:...::)'] = '/(\\(:: *(\\w[-\\w]*)
*:(?!\\))\\s?)(.*?)(::\\))/s';
~Hans
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users