"be consistent" | |
PerlMonks |
pod2html: link (L<...>) formatting codeby kcott (Archbishop) |
on Dec 14, 2021 at 00:14 UTC ( [id://11139597]=perlquestion: print w/replies, xml ) | Need Help?? |
kcott has asked for the wisdom of the Perl Monks concerning the following question: I have pod_link_test.pod:
When I run:
The HTML code, with the links, in pod_link_test.html, looks like:
I was hoping the links (except man(1)) would actually look like:
I feel like I'm missing something obvious, but have no idea what that might be. I did a fairly extensive search (both Super Search and general Internet) but came up with little of help. I did find "POD: embedding/linking/displaying html and images on metacpan and github" which provided a link to "MetaCPAN Pod Renderer". When I pasted the same pod_link_test.pod code into this, I did get actual links with the https://metacpan.org/pod/ prefix. I did a search of my system for man.he.net: I only found two files where it occurs. In .../Pod/Simple/XHTML.pm, I found:
In .../Pod/Simple/HTML.pm, I found:
I can't see $Perldoc_URL_Prefix being defined anywhere. I'm using Perl 5.34.0; pod2html is a core utility in that version. Any guidance on this would be very much appreciated. — Ken
Back to
Seekers of Perl Wisdom
|
|