Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: pod and images

by jmcnamara (Monsignor)
on Nov 18, 2011 at 00:37 UTC ( [id://938715]=note: print w/replies, xml ) Need Help??


in reply to pod and images

You can get search.cpan.org to display an image if the HTML is embedded in the Pod on a single line like this:

=pod ... some Pod here =begin html <p><center><img src="http://jmcnamara.github.com/excel-writer-xlsx/ima +ges/examples/rich_strings.jpg" width="640" height="420" alt="Output f +rom rich_strings.pl" /></center></p> =end html ... more Pod here. =cut

You can see the result here. Metacpan also supports this.

The image above links off-site to a GitHub repository but you could probably link back to search.cpan.org by working out the final destination of the images when expanded on the site. You can also use this method for local documentation and images.

--
John.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://938715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-03-28 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found