CPAN::Changes::Markdown - Format your Changes file ( or a section of it ) in Markdown
version 1.000003
use CPAN::Changes::Markdown;
my $changes = CPAN::Changes::Markdown->load_utf8( $path_to_changes_file );
print $changes->serialize # emits Markdown
Mostly, this is wrapper around CPAN::Changes that just formats the output differently.
Primary use case for me is writing GitHub
release notes.
I plan to eventually have hook filters and stuff to highlight various tokens in a GitHub
friendly way.
my $ccm = CPAN::Changes::Markdown->load( path/to/file );
my $ccm = CPAN::Changes::Markdown->load_string( "some text" );
Same as load
except opens file
in utf8
mode.
my $ccm = CPAN::Changes::Markdown->load_utf8( path/to/file );
my $string = $ccm->serialize();
A CPAN::Changes::Markdown::Filter object that can process a header.
A CPAN::Changes::Markdown::Filter object that can process a line.
Kent Fredric kentnl@cpan.org
This software is copyright (c) 2017 by Kent Fredric kentfredric@gmail.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.