Konstrukt::Plugin::wiki::markup::hr - Block plugin to handle horizontal rules
my $hr = use_plugin 'wiki::markup::hr'; my $rv = $hr->process($block);
This one will match if the block consists of only one line that just contains dashes (-).
The block will be replaced by a <hr>-tag.
those two paragraphs ------ will be separated by a horizontal rule
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.