Changes between Version 1 and Version 2 of AnchorMacro
- Timestamp:
- Apr 24, 2008, 5:25:13 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AnchorMacro
v1 v2 3 3 == Description == 4 4 5 Macro to create an anchor for page link cross reference 5 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. 6 6 7 7 == Bugs/Feature Requests == … … 12 12 If you have any issues, create a 13 13 [http://trac-hacks.org/newticket?component=AnchorMacro&owner=dkhijniak new ticket]. 14 15 == Installation == 16 17 Copy the macro into your wiki global macro install folder, e.g. /usr/share/trac/wiki-macros or your local wiki macro repository. 18 Set marco file ownership and permission level (e.g. 755) and restart the webserver. 14 19 15 20 == Download == … … 22 27 23 28 == Example == 24 29 {{{ 25 30 [[Anchor(anchor)]] - invisible anchor 31 }}} 26 32 or 27 [[Anchor(anchor, name)]] - visible anchor using hyperlinked "name" 28 33 {{{ 34 [[Anchor(anchor, label)]] - visible anchor. A hyperlinked label created where the anchor is placed. 35 }}} 29 36 To reference an anchor on a wiki page create a link to 30 [wiki:PageName#anchor some link] 37 {{{ 38 [wiki:SomePage#anchor link] 39 }}} 31 40 32 41 == Recent Changes == … … 37 46 38 47 '''Author:''' [wiki:dkhijniak] [[BR]] 39 '''Contributors:''' 48 '''Contributors:''' This marco derived from Color.py macro by David Roussel