krz/orgo

Lightning fast org-mode static site generator.

clone: git clone https://gitbay.org/krz/orgo.git

v0.22.0: tests/snapshots/constructs__timestamps_html.snap · raw

 1---
 2source: tests/constructs.rs
 3expression: "render_fixture(\"timestamps.org\")"
 4---
 5<h2 id="single">Single</h2>
 6<p>An active date <time class="timestamp" datetime="2024-01-15">2024-01-15</time> and an inactive one <time class="timestamp inactive" datetime="2024-01-15">2024-01-15</time>.</p>
 7<p>With a time: <time class="timestamp" datetime="2024-01-15T10:30">2024-01-15 10:30</time>.</p>
 8<h2 id="ranges">Ranges</h2>
 9<p>A same-day time range <time class="timestamp" datetime="2024-01-15T10:00">2024-01-15 10:00</time>&#8211;<time class="timestamp" datetime="2024-01-15T11:45">11:45</time>.</p>
10<p>A multi-day range <time class="timestamp" datetime="2024-01-15">2024-01-15</time>&#8211;<time class="timestamp" datetime="2024-01-20">2024-01-20</time>.</p>
11<h2 id="ignored-decorations">Ignored decorations</h2>
12<p>A repeater is dropped: <time class="timestamp" datetime="2024-01-15">2024-01-15</time>.</p>
13<h2 id="not-timestamps">Not timestamps</h2>
14<p>Comparisons like 3 &lt; 4 and [not a stamp] stay literal text.</p>