Markdent::Simple::Document - Convert Markdown to an HTML Document
use Markdent::Simple::Document; my $mds = Markdent::Simple::Document->new(); my $html = $mds->markdown_to_html( title => 'My Document', markdown => $markdown, );
This class provides a very simple interface for converting Markdown to a complete HTML document.
This class provides the following methods:
Creates a new Markdent::Simple::Document object.
This method turns Markdown into HTML. You must provide a title as well, which will be used as the
<title> for the resulting HTML document.
You can also provide an optional "dialect" parameter.
This class does the Markdent::Role::Simple role.
See Markdent for bug reporting details.
Dave Rolsky <email@example.com>
Jason McIntosh <firstname.lastname@example.org>
This software is copyright (c) 2014 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.