| ||||||||
Navigation Home Page
Click here to expand or collapse... Upcoming BL Series (Start date) Click here to expand or collapse...Click here to expand or collapse...Click here to expand or collapse...Click here to expand or collapse...Click here to expand or collapse... |
LinkIMap
This page describes an internal function in PmWiki's engine called Also see: PmWiki.Functions#LinkIMap, PmWiki.MakeLink
The function The basic markup behind the eventual invocations of this function is as follows: [[ <target>"<title>" | <link-text> ]]
[[ <link-text> -> <target>"<title>" ]]
https://<URI>"<title>"
The arguments to the function are as follows:
The array $IMap['http:'] = 'http:$1'; $IMap['https:'] = 'https:$1'; $IMap['ftp:'] = 'ftp:$1'; $IMap['mailto:'] = 'mailto:$1'; ... $IMap['Cookbook:'] = 'https://www.pmwiki.org/wiki/Cookbook/$1'; $IMap['PmWiki:'] = 'https://www.pmwiki.org/wiki/PmWiki/$1'; $IMap['Wikipedia:'] = 'https://www.wikipedia.com/wiki/$1'; Note that the
Then there is also the array Examples of custom formats to allow different styling via classes:
Category: PmWiki Internals
This page may have a more recent version on pmwiki.org: PmWiki:LinkIMap, and a talk page: PmWiki:LinkIMap-Talk. | |||||||
View
Edit
History
Attach
Print
Page last modified on January 13, 2024, at 02:04 PM |