[pmwiki-users] "Wrapping" a markup rule

Joachim Durchholz jo at durchholz.org
Sun Apr 17 01:58:43 CDT 2005


Patrick R. Michaud wrote:
> LinkFunctions($pagename, $imap, $path, $title, $txt, $fmt)
> 
>    $pagename -- the name fo the current page being rendered
>    $imap -- the particular prefix that trigged this call (e.g., 'mailto:')
>    $path -- everything that follows the colon
>    $title -- any optional title=attribute (primarily for images)
>    $txt -- the text of the link
>    $fmt -- a format string to be used instead of the markup's default
>            (primarily for images)
> 
> By the time you've reached this point, PmWiki has already handled things
> like parens in [[(Wiki)Sandbox]], extracting the target/text from
> [[target | text]] and [[text -> target]], finding any image alt-text,
> etc.

Documented in Cookbook/Functions.

Regards,
Jo



More information about the pmwiki-users mailing list