劉康民 > Kwiki-AnchorLink > Kwiki::AnchorLink

Download:
Kwiki-AnchorLink-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Kwiki::AnchorLink - Provide Anchor wafl phrase to kwiki

SYNOPSIS ^

    {anchor: mybio}
    == My Bio

    ......

    {anchorlink: mybio Look at My Bio}

DESCRIPTION ^

This kwiki plugin provide one missing function to kwiki: anchor points. With {anchor: <anchor_name>} wafl phrase you could create a anchor link at the point. It actually generate something like this:

    <a name="mybio"></a>

Then, in the other place of the same page, you could use {anchorlink: <name> <title>} to put a link to that anchor, it'll generate something like this:

    <a href="#mybio">Look at My Bio</a>

The first agrument to {anchorlink} is taken as the name of anchor point, and the rests are used as the link title.

So far it doesn't not generate corss-page anchor link, so please be patient, or send me patch. :)

COPYRIGHT ^

Copyright 2004 by Kang-min Liu <gugod@gugod.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>

syntax highlighting: