Synopsis
use Text::Markdown::Pluggable qw/markdown/;
my $html = markdown($text, [qw/Foobar +MyApp::Markdown::Plugin/]);
use Text::Markdown::Pluggable qw/markdown/;
my $html = markdown($text, [qw/Foobar +MyApp::Markdown::Plugin/], {
empty_element_suffix => '>',
tab_width => 2,
});
use Text::Markdown::Pluggable;
my $m = Text::Markdown->new(
plugins => [qw/Foobar +MyApp::Markdown::Plugin/],
);
my $html = $m->markdown($text);
use Text::Markdown::Pluggable;
my $m = Text::Markdown->new(
plugins => [qw/Foobar +MyApp::Markdown::Plugin/],
empty_element_suffix => '>',
tab_width => 2,
);
my $html = $m->markdown($text);
Description
Text::Markdown::Pluggable is a subclass of Text::Markdown and can load plugins that can process before and/or after processing "markdown-ed" text.

Comments
Please sign up to post a review.