Figure

Enhanced image display with caption, sizing, and alignment controls.

With caption attribute

Set the caption directly on the rune.

{% figure caption="Architecture overview" size="large" align="center" %}
![Diagram](/images/architecture.png)
{% /figure %}

With paragraph caption

If no caption attribute is provided, the first paragraph inside the rune is used as the caption.

{% figure size="medium" %}
![Photo](/images/photo.jpg)

Photo taken at the summit.
{% /figure %}

Attributes

AttributeTypeDefaultDescription
captionstringCaption text (falls back to first paragraph)
sizestringOne of small, medium, large, full
alignstringOne of left, center, right