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

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

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Konstrukt::Plugin::wiki::markup::paragraph - Block plugin to handle paragraphs

SYNOPSIS ^

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

DESCRIPTION ^

This one won't do much more but putting <p> and </p> around a block.

It matches all blocks and should be the last plugin in your filter chain so it will catch all block that didn't match any other plugin.

EXAMPLE ^

        this is
        one paragraph and will be surrounded
        by <p> and </p>
        
        this one also

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

syntax highlighting: