1HTML::FormatMarkdown(3)User Contributed Perl DocumentatioHnTML::FormatMarkdown(3)
2
3
4
6 HTML::FormatMarkdown - Format HTML as Markdown
7
9 version 2.16
10
12 use HTML::FormatMarkdown;
13
14 my $string = HTML::FormatMarkdown->format_file(
15 'test.html'
16 );
17
18 open my $fh, ">", "test.md" or die "$!\n";
19 print $fh $string;
20 close $fh;
21
23 HTML::FormatMarkdown is a formatter that outputs Markdown.
24
25 HTML::FormatMarkdown is built on HTML::Formatter and documentation for
26 that module applies to this - especially "new" in HTML::Formatter,
27 "format_file" in HTML::Formatter and "format_string" in
28 HTML::Formatter.
29
31 • Nigel Metheringham <nigelm@cpan.org>
32
33 • Sean M Burke <sburke@cpan.org>
34
35 • Gisle Aas <gisle@ActiveState.com>
36
38 This software is copyright (c) 2016 by Nigel Metheringham, 2002-2005
39 Sean M Burke, 1999-2002 Gisle Aas.
40
41 This is free software; you can redistribute it and/or modify it under
42 the same terms as the Perl 5 programming language system itself.
43
44
45
46perl v5.36.0 2022-07-22 HTML::FormatMarkdown(3)