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

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::definition - Block plugin to handle definition lists

SYNOPSIS ^

        my $d = use_plugin 'wiki::markup::definition';
        my $rv = $d->process($block);

DESCRIPTION ^

This one will match if the first line of the block start with a semicolon ";" followed by at least one whitespace or tab.

Multiple definition terms (indicated by a ";" at the beginning of the line) per list and multiple definitions per term (indicated by a ":" at the beginning of the line) are possible.

This plugin has some similarities with Konstrukt::Plugin::wiki::markup::list.

EXAMPLE ^

        ; definition term
        : first definition
        : second definition
        ; another definition term
        : first definition
        : second definition

METHODS ^

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