[pmwiki-users] Adding a class to specific links

kirpi at kirpi.it kirpi at kirpi.it
Mon Oct 26 11:38:36 CDT 2009


I was trying to add SnapShots[1] to some of my pages. While giving
http://www.snap.com/ automatic control over the whole pages results in
a mess, I think that enabling SnapShots on specific links (example
wikipedia links) might be fine. I'm just testing it.

In order to trigger SnapShots on specific links, a "snap_shots" class
should be added to the link, something like
<a class="snap_shots" href="http://www.example.com">www.example.com</a>[2]

Is there any way to have such a class added per-link?

I am trying
%snap_shots%[[http://www.example.com|example]]
[[%snap_shots%http://www.example.com|example]]
[[http://www.example.com|%snap_shots%example]]
but none seem to work.

Thanks
Luigi

----
[1] http://www.snap.com/
[2] Point 20 in http://www.snap.com/snapshots_faq.php



More information about the pmwiki-users mailing list