<<

Bugzilla::Markdown

NAME

Bugzilla::Markdown - Generates HTML output from structured plain-text input.

SYNOPSIS

 use Bugzilla::Markdown;

 my $markdown = Bugzilla::Markdown->new();
 print $markdown->markdown($text);

DESCRIPTION

Bugzilla::Markdown implements a Markdown engine that produces an HTML-based output from a given plain-text input.

The majority of the implementation is done by Text::Markdown CPAN module. It also applies the linkifications done in Bugzilla::Template to the input resulting in an output which is a combination of both Markdown structures and those defined by Bugzilla itself.

Accessors

markdown

string Produces an HTML-based output string based on the structures and format defined in the given plain-text input.

Params
text

string A plain-text string which includes Markdown structures.

<<