Test /
BoxCode
$IMapLinkFmt['Attach:'] =
"<a class='urllink' href='\$LinkUrl'>\$LinkText</a><a
class='createlink' href='\$LinkUpload'>Δ</a>";
Markup('Attach', '>img',
"/\\bAttach:([^\\s$UrlExcludeChars]*[^\\s.,?!$UrlExcludeChars])/e",
"Keep(MakeLink(\$pagename,'$0','$1'),'L')");
$LinkUploadCreateFmt = "<a class='createlinktext'
href='\$LinkUpload'>Attach:\$LinkText</a><a class='createlink'
href='\$LinkUpload'> Δ</a>";
Another example:
$IMapLinkFmt['Attach:'] =
"<a class='urllink' href='\$LinkUrl'>\$LinkText</a><a
class='createlink' href='\$LinkUpload'>Δ</a>";
Markup('Attach', '>img',
"/\\bAttach:([^\\s$UrlExcludeChars]*[^\\s.,?!$UrlExcludeChars])/e",
"Keep(MakeLink(\$pagename,'$0','$1'),'L')");
$LinkUploadCreateFmt = "<a class='createlinktext'
href='\$LinkUpload'>Attach:\$LinkText</a><a class='createlink'
href='\$LinkUpload'> Δ</a>";