|Version 2 (modified by dkhijniak, 7 years ago) (diff)|
A macro to create an anchor for enable page cross reference. Normally, every heading has an anchor associated with it. You can use this marco, if you want to anchor a particular text element (e.g. a row in a table) on a wiki page.
If you have any issues, create a new ticket.
Copy the macro into your wiki global macro install folder, e.g. /usr/share/trac/wiki-macros or your local wiki macro repository. Set marco file ownership and permission level (e.g. 755) and restart the webserver.
Download the zipped source from here.
[[Anchor(anchor)]] - invisible anchor
[[Anchor(anchor, label)]] - visible anchor. A hyperlinked label created where the anchor is placed.
To reference an anchor on a wiki page create a link to
Contributors: This marco derived from Color.py macro by David Roussel