Thomas Wittek > Konstrukt > Konstrukt::Plugin::wiki::markup::acronym

Download:
konstrukt/Konstrukt-0.5-beta13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Source  

NAME ^

Konstrukt::Plugin::wiki::markup::acronym - Inline plugin to handle acronyms

SYNOPSIS ^

        my $a = use_plugin 'wiki::markup::acronym';
        my $rv = $a->process($tag);

DESCRIPTION ^

This one will look for acronyms with an explanation and replace it:

        IP(Internet Protocol) => <span title="Internet Protocol">IP</span>

Actually it will work for every "word" that does not contain spaces and is followed by some text in parenthesis.

EXAMPLE ^

        TCP(Transmission Control Protocol)/IP(Internet Protocol)
        
        Foo-Bar(baz)

METHODS ^

install

Installs the templates.

Parameters:

none

process

This method will do the work.

Parameters:

AUTHOR ^

Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.

This document is free software. It is distributed under the same terms as Perl itself.

SEE ALSO ^

Konstrukt::Plugin::wiki