[pmwiki-users] Execute & render markup from a php function

Hans design5 at softflow.co.uk
Wed Apr 2 11:16:19 CDT 2008


Wednesday, April 2, 2008, 3:24:10 PM, Stéphane Heckel wrote:

> Today, I need to execute 'powertools' markup, but markup could be anything
> else
> something like :

> $mymarkup= '{(plist groups=* -Site*.* sep=\n)}';

just call function MarkupExpression from within your function, and
supply the specific markup expression as var $expression like:

$mymarkup = MarkupExpression($pagename, $expression);


  ~Hans




More information about the pmwiki-users mailing list