Perl6::Pod::Lib::Image - add image
=Image t/image.jpg =Image file:t/data/P_test1.png =for Image :title('Test image title') img/image.png
The =Image block is used for include image link. For definition of the target file are used a URI:
=Image t/image.jpg =Image file:../test.jpg =Image http://example.com/img.jpg
For set title of image add attribute :title or define in Pod Link format:
=for Image :title('test caption') t/data/P_test1.png =for Image test caption|t/data/P_test1.png
<img src="boat.gif" alt="Big Boat" title="Big Boat"/>
<mediaobject> <imageobject> <imagedata align='center' caption='test' format='PNG' valign='bottom' scalefit='1' fileref='t/data/P_test1.png' /> </imageobject> <caption>test</caption> </mediaobject>
1 POD Error
The following errors were encountered while parsing the POD:
=back without =over
To install Perl6::Pod::Lib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl6::Pod::Lib
CPAN shell
perl -MCPAN -e shell install Perl6::Pod::Lib
For more information on module installation, please visit the detailed CPAN module installation guide.