Turndown/GFM.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
install
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Text::HTML::Turndown::GFM 0.12;
2 use 5.020;
3 use experimental 'signatures';
4 use stable 'postderef';
5  
6 =head1 NAME
7  
8 Text::HTML::Turndown::GFM - rules for Github Flavoured Markdown
9  
10 =head1 SYNOPSIS
11  
12 use Text::HTML::Turndown;
13 my $turndown = Text::HTML::Turndown->new(%$options);
14 $turndown->use('Text::HTML::Turndown::GFM');;
15  
16 my $markdown = $convert->turndown(<<'HTML');
17 <table><tr><td>Hello</td><td>world!</td></tr></table>
18 HTML
19 # | Hello | world! |
20  
21 =cut
22  
23 sub install ($class, $target) {
24 $target->use([
25 'Text::HTML::Turndown::Tables',
26 'Text::HTML::Turndown::Strikethrough',
27 'Text::HTML::Turndown::Tasklistitems',
28 'Text::HTML::Turndown::HighlightedCodeBlock',
29 ]);
30 }
31  
32 1;
33  
34 =head1 SEE ALSO
35  
36 L<Text::HTML::Turndown::Tables>
37  
38 L<Text::HTML::Turndown::Strikethrough>
39  
40 L<Text::HTML::Turndown::Tasklistitems>
41  
42 L<Text::HTML::Turndown::HighlightedCodeBlock>
43  
44 =head1 REPOSITORY
45  
46 The public repository of this module is
47 L<https://github.com/Corion/Text-HTML-Turndown>.
48  
49 =head1 SUPPORT
50  
51 The public support forum of this module is L<https://perlmonks.org/>.
52  
53 =head1 BUG TRACKER
54  
55 Please report bugs in this module via the Github bug queue at
56 L<https://github.com/Corion/Text-HTML-Turndown/issues>
57  
58 =head1 AUTHOR
59  
60 Max Maischein C<corion@cpan.org>
61  
62 =head1 COPYRIGHT (c)
63  
64 Copyright 2025- by Max Maischein C<corion@cpan.org>.
65  
66 =head1 LICENSE
67  
68 This module is released under the Artistic License 2.0.
69  
70 =cut