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

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::hr - Block plugin to handle horizontal rules

SYNOPSIS ^

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

DESCRIPTION ^

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.

EXAMPLE ^

        those two paragraphs
        
        ------
        
        will be separated by a horizontal rule

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