Figures
Markdown images
When you embed images in markdown with 
the <img>
tags are wrapped in <figure>
tags. This allows to add captions with <figcaption>
tags.
It is recommended that you also use <figure>
tags when placing images in your HTML template in text. Except for logos in headers or background images on the title page.
1 2 3 4 |
|
Image width
1 2 |
|
Basic styling
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Figure numbering
Figures with captions are numbered by default as Figure <number>: <caption>
and referenced as Figure <number>
.
List of Figures
Template Component
Works similar like table of contents. The component uses multi-pass rendering. In the first render-pass it does nothing, in the second pass it collects all previously rendered <figcaption>
tags and provides them in the variable items
.
1 2 3 4 5 6 7 8 9 10 11 |
|
Referencing figure numbers
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Edit / View on GitHub