DR-SunDown
view release on metacpan or search on metacpan
lib/DR/SunDown.pm view on Meta::CPAN
use Encode 'encode', 'decode';
# $string is encoded utf8
my $string = markdown2html encode utf8 => $data;
# $string and $data have the same utf8 flag
my $string = markdown2html $data;
utf8::decode( $data ) if utf8::is_utf8( $data );
# $string is decoded utf8
my $string = markdown2html $data;
=head1 DESCRIPTION
The library is a perl binding for C-library
L<sundown|https://github.com/vmg/sundown.git>.
=head1 EXPORTS
( run in 1.523 second using v1.01-cache-2.11-cpan-26ccb49234f )