Konstrukt::Plugin::wiki::markup::paragraph - Block plugin to handle paragraphs
my $par = use_plugin 'wiki::markup::paragraph'; my $rv = $par->process($block);
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.
this is one paragraph and will be surrounded by <p> and </p> this one also
Installs the templates.
Parameters:
none
This method will do the work.
$block - Block node (of type Konstrukt::Parser::Node) containing the (text-)nodes of this block.
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.
Konstrukt::Plugin::wiki
To install Konstrukt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Konstrukt
CPAN shell
perl -MCPAN -e shell install Konstrukt
For more information on module installation, please visit the detailed CPAN module installation guide.