Friday, February 16, 2007, 10:27:36 PM, Pierre wrote: > How can I make a custom markup so that the result content > ">>yellowbox<<" and will be further processed by the >>><< markup.
> I tried: > Markup('staffbox','<directives','/\(:staffbox\\s+(.*?)\\s?:\)/', ">>>yellowbox<<somestuffand$1otherstuff$1>><<"); perhaps you can try using the Keep and PSS function and HTML, with the /e option: Markup('staffbox','directives','/\\(:staffbox\\s(.*?):\\)/e', "Keep('<div class=yellowbox>somestuffand'.PSS($1).'otherstuff'.PSS($1).'</div>')"); Hans _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users