Thanks Hans. I suppose the logical way to do this (to be consistent with PmWiki approaches) would be
%apply=link wikistyle%[[SomeLink]]... - Henrik Hans wrote: > Friday, April 13, 2007, 3:47:09 AM, Henrik wrote: > > >> How do I apply a class to a link? >> > You can't do that at present I believe (and I could be proven wrong). > > PmWiki uses a number of classes in links for various types of links. > It applies class='wikilink' to link tags for links to existing wiki pages. > This is defined with variable $LinkPageExistsFmt, which you could > define otherwise. > > Alternatively you could define a custom link markup for those links > which need the added class attribute. The category link markup is > a nice example for a more specialised link. See scripts/stdmarkup.php > > > ~Hans > > > -- Henrik Bechmann www.bechmann.ca Webmaster, www.dufferinpark.ca _______________________________________________ pmwiki-users mailing list [EMAIL PROTECTED] http://www.pmichaud.com/mailman/listinfo/pmwiki-users