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

NAME

Text::MultiMarkdown::XS

SYNOPSIS

  use Text::MultiMarkdown::XS 'markdown';

  my $html  = markdown( $text, { output => 'html' } );

  my $latex = markdown( $text, { output => 'latex' } );

DESCRIPTION

Warning: this is the first, alpha release of the module and the interface is liable to change without notice.

Text::MultiMarkdown::XS is a wrapper around Fletcher T. Penney's MultiMarkdown library (version 4).

OPTIONS

The markdown() function takes a number of options:

output

the output format - a case-insensitive string, which may take one of the following values:

HTML
LaTeX
complate

boolean value to specify whether a complete document or a fragment should be generated

smart

boolean value to specify whether smart quotes should be enabled.

The following values are accepted as boolean false values: undef, 0, 'false' or 'off' (string values are case-insensitive). Anything else is regarded as true.

AUTHOR

Andrew Ford <andrewf@cpan.org>

MultiMarkdown library by Fletcher Penney <https://github.com/fletcherr/MultiMarkdown-4/>

The original Markdown implementation was by John Gruber <http://daringfireball.net/>

COPYRIGHT AND LICENSE

Text::MultiMarkdown::XS Copyright (C) 2013 Andrew Ford All rights reserved.

MultiMarkdown library Copyright (C) 2010-2013 Fletcher T. Penney with portions copyright by Daniel Jalkut and John MacFarlane. See the file MultiMarkdown-License for details.

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

See http://www.perl.com/perl/misc/Artistic.html