[pmwiki-users] how to put new line in a script to wiki

John Rankin john.rankin at affinity.co.nz
Wed May 11 01:10:48 CDT 2011


> Here is a mockup recipe with this feature, can any of you guys make it
> work?
>
> #cookbook/querypst.php:
> <?php if (!defined('PmWiki')) exit();
>
> Markup('querypst', 'directives', '/\\(:querypst (.*):\\)/e',
> "querypst('$1')");

Try changing 'directives' to '<split'

JR
-- 
John Rankin




More information about the pmwiki-users mailing list