[pmwiki-users] {(...)} markup recipe available

The Editor editor at fast.st
Wed Apr 11 12:28:42 CDT 2007


Pm, I'm trying to get my ZAP markup functions updated but seem to be
doing something wrong.  Here is one example that doesn't seem to work
right...

$MarkupExpr['code'] = 'ZAPMcode($args[0])';
function ZAPMcode($p) {
     // do my stuff;
     return $p;
     }

When I enter {(code {$:value})} I get back the same value with the {(
)} around it.  Am I missing something here?

Cheers,
Dan

PS.  I have a bunch to do and just wanted to get the first one right
before I do all the rest.



More information about the pmwiki-users mailing list