krz/orgo
Lightning fast org-mode static site generator.
clone: git clone https://gitbay.org/krz/orgo.git
v0.22.0: tests/snapshots/constructs__images_html.snap · raw
1---
2source: tests/constructs.rs
3expression: "render_fixture(\"images.org\")"
4---
5<h2 id="bare-image">Bare image</h2>
6<p><img src="diagram.png" alt=""></p>
7<h2 id="captioned-figure">Captioned figure</h2>
8<figure><img src="pipeline.svg" alt="The pipeline, end to end" width="640" class="diagram"><figcaption><span class="figure-number">Figure 1: </span>The pipeline, end to end</figcaption></figure>
9<h2 id="caption-with-markup">Caption with markup</h2>
10<figure><img src="chart.png" alt="A stylised chart"><figcaption><span class="figure-number">Figure 2: </span>A <em>stylised</em> chart</figcaption></figure>
11<h2 id="quoted-attribute-values">Quoted attribute values</h2>
12<figure><img src="cat.jpg" alt="a cat, sitting" loading="lazy"></figure>
13<h2 id="image-with-a-description-is-a-link">Image with a description is a link</h2>
14<p><a href="diagram.png">the diagram</a></p>