NAME
Pod::Simple::Role::XHTML::WithExtraTargets - Add additional useful link targets
SYNOPSIS
package MyPodParser;
with 'Pod::Simple::Role::XHTML::WithAccurateTargets';
my $parser = MyPodParser->new;
$parser->output_string(\my $html);
$parser->parse_string_document($pod);
DESCRIPTION
Adds multiple link targets to rendered headings to allow more useful linking.
Many headings for functions and methods include the function signature. This makes linking to the headings awkward. Link targets based on the first word of headings will be added to make linking easier. This form of linking is very common when linking to sections of perlfunc, allowing links like L<perlfunc/open>
.
Also adds link targets compatible with standard Pod::Simple::XHTML.
SUPPORT
See MetaCPAN::Pod::HTML for support and contact information.
AUTHORS
See MetaCPAN::Pod::HTML for authors.
COPYRIGHT AND LICENSE
See MetaCPAN::Pod::HTML for the copyright and license.