[pmwiki-devel] Recipe returning PmWiki Markup

Simon nzskiwi at gmail.com
Mon Apr 6 12:21:09 PDT 2026


I'm developing a recipe for which I'd rather the receipe returned PmWiki
markup rather than HTML for placement in a wiki page.
I can't help feeling this is documented somewhere, but I can't locate it.

I've got something like
    const NL = "\n";
    $retVal = '<:block>' . NL; # break out of paragraph
    $retVal .= '!! Heading' . NL;
    $retVal .= '->Some content.\\' . NL;
    $retVal .= 'Some more content.\\' . NL;
    return $retVal;

On the page I see the heading displayed correctly, but not the indent or
new lines

thanks

Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20260407/0ee20f55/attachment.html>


More information about the pmwiki-devel mailing list