File Coverage

blib/lib/Kwiki/Markdown.pm
Criterion Covered Total %
statement 4 6 66.6
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 6 8 75.0


line stmt bran cond sub pod time code
1             package Kwiki::Markdown;
2 2     2   131023 use v5.6.1;
  2         11  
  2         115  
3 2     2   922 use Text::Markdown 'markdown';
  0            
  0            
4             our $VERSION = '0.01';
5              
6             use constant
7             class_id => 'formatter',
8             class_title => 'Kwiki Markdown Formatter';
9              
10             sub new { bless {} }
11             sub init {}
12              
13             sub text_to_html {
14             my $self = shift;
15             return markdown(shift);
16             }
17              
18             __END__