Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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 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=" +ges/examples/rich_strings.jpg" width="640" height="420" alt="Output f +rom" /></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 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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2016-10-28 20:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.