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 always matches 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:
$block - Block node (of type Konstrukt::Parser::Node) containing the (text-)nodes of this block.
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.