On Sat, Aug 22, 2009 at 6:27 AM, Patrick Ogay
Evolution<[email protected]> 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:
>
>  PRR();
>  $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.

-Peter

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to