| 1 | package Kwiki::Markdown; | ||
| 2 | 2 | ▶ | use v5.6.1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use Text::Markdown 'markdown'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | our $VERSION = '0.02'; | |
| 5 | |||
| 6 | use constant | ||
| 7 | 2 | ▶ | class_id => 'formatter', |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 2 | class_title => 'Kwiki Markdown Formatter'; | |
| 9 | |||
| 10 | 0 | ▶ | sub new { bless {} } |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 11 | 0 | ▶ | sub init {} |
|
Subroutine
init: not called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 12 | |||
| 13 | 1 | ▶ | sub text_to_html { |
|
Subroutine
text_to_html: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 14 | 1 | my $self = shift; | |
| 15 | 1 | return markdown(shift); | |
| 16 | } | ||
| 17 | |||
| 18 | __END__ | ||