[pmwiki-devel] Recipe returning PmWiki Markup
Petko Yotov
5ko at 5ko.fr
Mon Apr 6 13:27:44 PDT 2026
You may need the HTML entity > instead of >
-> Some content.
(ampersand, gt, semicolon in case the mailing list mangles it)
(No entities for '<:block>'.)
And/or it may depend on when your markup is processed.
And/or this may help:
return PRR($retVal);
See FunctionList for PRR().
Petko
On 06/04/2026 21:21, Simon wrote:
> 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
More information about the pmwiki-devel
mailing list