'http://www.johndoe.com', 'acme corp' => 'http://www.acme.com' ); # now enable this recipe: include_once('cookbook/autoLink.php'); Note that any words, names and phrases can be prevented from linking by preceding it with the backtick (`) character. */ $RecipeInfo['autoLink']['Version'] = '2009-08-26'; Markup('names', 'inline', '/(`?)\b(' . join('|', array_keys($NameToLinkArray)) . ')\b/ei', 'AutoNameToLinkFunc("$2","$1")' ); function AutoNameToLinkFunc($name, $escape) { global $NameToLinkArray; if ($escape) return $name; $link = '%newwin%[['.$NameToLinkArray[strtolower($name)].'|'.Keep($name).']]'; return $link; }