Changes between Version 1 and Version 2 of AnchorMacro


Ignore:
Timestamp:
Apr 24, 2008, 5:25:13 PM (16 years ago)
Author:
Dmitri K
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AnchorMacro

    v1 v2  
    33== Description ==
    44
    5 Macro to create an anchor for page link cross reference
     5A 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.
    66
    77== Bugs/Feature Requests ==
     
    1212If you have any issues, create a
    1313[http://trac-hacks.org/newticket?component=AnchorMacro&owner=dkhijniak new ticket].
     14
     15== Installation ==
     16
     17Copy the macro into your wiki global macro install folder, e.g. /usr/share/trac/wiki-macros or your local wiki macro repository.
     18Set marco file ownership and permission level (e.g. 755) and restart the webserver.
    1419
    1520== Download ==
     
    2227
    2328== Example ==
    24 
     29{{{
    2530[[Anchor(anchor)]] - invisible anchor
     31}}}
    2632or
    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}}}
    2936To reference an anchor on a wiki page create a link to
    30 [wiki:PageName#anchor some link]
     37{{{
     38[wiki:SomePage#anchor link]
     39}}}
    3140
    3241== Recent Changes ==
     
    3746
    3847'''Author:''' [wiki:dkhijniak] [[BR]]
    39 '''Contributors:'''
     48'''Contributors:''' This marco derived from Color.py macro by David Roussel