Image plugin for Collection

Blocks

The block name is Image, though <image> is also possible.

optional
  • src must be an image with a path relative to the Current Working Directory

  • id is an option id attached to the <img> tag, and can be used for styling

  • alt is given the the alt attribute of the <img> tag

  • class is included in the class list of the outer div container

head1 Template

The default template renders the image as

<div class="image-container other classes"><img src="path-to-source" alt="alt text" id="id"></img>

Styling

The plugin provides three classes by default: justify-right, justify-center and justify-left, moving the image accordingly.

Raku::Pod::Render v4.10.6

A generic Pod6 Renderer with custom Pod::Blocks, FormatCodes for one or more files using templates, provides HTML and MarkDown.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.