[pmwiki-users] how to get pmwiki to use markups in a string
pbowers at pobox.com
Sat Aug 22 09:21:57 CDT 2009
On Sat, Aug 22, 2009 at 6:27 AM, Patrick Ogay
Evolution<lists at basel-inside.ch> wrote:
> Sometimes - particularly in cookbook recipes or skins - I like to
> generate an formatted output, using the pmwiki environment and markup.
> How can I archive this.
> Once I tryed to get a bold markup, but it did't work like this:
> $src = "'''Titel'''";
> $fmt = FmtPageName($src, $pagename);
> $files .= "$pagename-$src";
> $files .= $fmt;
Rather than PRR() and FmtPageName() (neither of these are needed in
this context) use MarkupToHTML().
(This is assuming the formatted output you want is HTML.)
After you've got the HTML then you'll probably need the Keep() function as well.
More information about the pmwiki-users