While Wyam is certainly still usable, it's been rebranded and rebooted as Statiq with a ton of improvements. You almost certainly want to look there unless you're already a Wyam user.


Generates HTML5 figure elements.
The content of this shortcode specifies a caption to output inside a nested figcaption element.


Example usage:

<?# Figure Src="/assets/wyam.jpg" ?>
Wyam Logo
<?#/ Figure ?>

Example output:

  <img src="/assets/wyam.jpg" />
  <figcaption>Wyam Logo</figcaption>


The following parameters can be used without names in the order below or with names (provided they are named) in any order. When using named parameters, the syntax should be `Name=Value` or `Name="Value"`.

  • Src

    URL of the image to be displayed.

  • Link

    If the image needs to be hyperlinked, URL of the destination.

  • Target

    Optional target attribute for the URL if Link parameter is set.

  • Rel

    Optional rel attribute for the URL if Link parameter is set.

  • Alt

    Alternate text for the image if the image cannot be displayed.

  • Class

    class attribute to apply to the figure element.

  • Height

    height attribute of the image.

  • Width

    width attribute of the image.