Skip to content

Commit

Permalink
Merge pull request #1208 from pali/master
Browse files Browse the repository at this point in the history
POD: Create anchor for every =item directive
  • Loading branch information
Ashe Connor authored Jun 27, 2018
2 parents 08ea2aa + 005be7e commit 0f9a188
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/github/commands/pod2html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ my $p = Pod::Simple::XHTML->new;
$p->html_header('');
$p->html_footer('');
$p->perldoc_url_prefix('https://metacpan.org/pod/');
$p->anchor_items(1);
$p->strip_verbatim_indent(sub {
my $lines = shift;
(my $indent = $lines->[0]) =~ s/\S.*//;
Expand Down

0 comments on commit 0f9a188

Please sign in to comment.