The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Markdent::Simple - Convert Markdown to HTML

SYNOPSIS

    use Markdent::Simple;

    my $mds  = Markdent::Simple->new();
    my $html = $mss->markdown_to_html(
        title    => 'My Document',
        markdown => $markdown,
    );

DESCRIPTION

This class provides a very simple interface for converting Markdown to HTML.

METHODS

This class provides the following methods:

Markdent::Simple->new()

Creates a new Markdent::Simple object.

$mds->markdown_to_html( title => $title, markdown => $markdown )

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.

BUGS

See Markdent for bug reporting details.

AUTHOR

Dave Rolsky, <autarch@urth.org>

COPYRIGHT & LICENSE

Copyright 2009 Dave Rolsky, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.