Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: pod and images

by jmcnamara (Monsignor)
on Nov 18, 2011 at 00:37 UTC ( #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.


Comment on Re: pod and images
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2014-08-21 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (143 votes), past polls