Skip to content

Commit 0f9a188

Browse files
author
Ashe Connor
authored
Merge pull request #1208 from pali/master
POD: Create anchor for every =item directive
2 parents 08ea2aa + 005be7e commit 0f9a188

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/github/commands/pod2html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ my $p = Pod::Simple::XHTML->new;
77
$p->html_header('');
88
$p->html_footer('');
99
$p->perldoc_url_prefix('https://metacpan.org/pod/');
10+
$p->anchor_items(1);
1011
$p->strip_verbatim_indent(sub {
1112
my $lines = shift;
1213
(my $indent = $lines->[0]) =~ s/\S.*//;

0 commit comments

Comments
 (0)