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

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

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Konstrukt::Plugin::wiki::markup::headline - Block plugin to handle headlines

SYNOPSIS ^

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

DESCRIPTION ^

This one will match if the first character of the first line of the block is a =.

The block will then be enclosed by <hX> and </hX> (X = number of ='s before the first character).

Any trailing ='s at the end of the block will be removed.

EXAMPLE ^

        = headline of level 1
        
        some text
        
        == headline of level 2
        
        some other text

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