Inline components
Badges, keyboard keys, progress bars, colors, dates and measures inside a sentence
These components live inside a line of text. In Markdown they start with one colon: :block-name[text]{options}.
Badge
A short label such as New, Tested or Updated. Colors: primary, positive, negative, warning, info, grey. Styles: soft, solid, outline.
Treasure hunt :block-badge[New]{color="positive"} :block-badge[Tested 2025]{color="info" variant="outline"} :block-badge[Needs a big room]{color="warning" variant="solid"}
Treasure hunt block-badge:[New, color="positive"] block-badge:[Tested 2025, color="info", variant="outline"] block-badge:[Needs a big room, color="warning", variant="solid"]
<p>Treasure hunt <block-badge color="positive">New</block-badge>
<block-badge color="info" variant="outline">Tested 2025</block-badge>
<block-badge color="warning" variant="solid">Needs a big room</block-badge></p>
Progress bar
From a percentage or a count like 7/10.
Consent forms collected:
Money for the trip:
Consent forms collected: :block-progress[18/24]{label="value" color="positive"}
Money for the trip: :block-progress[65%]
Consent forms collected: block-progress:[18/24, label="value", color="positive"]
Money for the trip: block-progress:[65%]
<p>Consent forms collected: <block-progress label="value" color="positive">18/24</block-progress></p>
<p>Money for the trip: <block-progress>65%</block-progress></p>
Date and time
Shown in the time zone and language of the reader. format: datetime, date, time or relative (for example "in 3 days").
The camp starts on :block-timestamp[2027-07-05T08:30]{format="date" length="full" timezone="Europe/Rome"}, that is :block-timestamp[2027-07-05T08:30]{format="relative" timezone="Europe/Rome"}.
The camp starts on block-timestamp:[2027-07-05T08:30, format="date", length="full", timezone="Europe/Rome"].
<p>The camp starts on <block-timestamp format="date" length="full" timezone="Europe/Rome">2027-07-05T08:30</block-timestamp>.</p>
Measure
A distance, weight, volume or temperature, converted to the units of the reader. show="both" writes both.
The walk is :block-unit[8 km]{show="both"} long. Bring :block-unit[1.5 l] of water each.
The walk is block-unit:[8 km, show="both"] long. Bring block-unit:[1.5 l] of water each.
<p>The walk is <block-unit show="both">8 km</block-unit> long. Bring <block-unit>1.5 l</block-unit> of water each.</p>
Color
A color code with a small sample beside it. Useful for the liturgical colors or the colors of the teams.
Team red :block-color[#B5502D], team green :block-color[#5B6B3A], team gold :block-color[#C9A227].
Team red block-color:[#B5502D], team green block-color:[#5B6B3A], team gold block-color:[#C9A227].
<p>Team red <block-color>#B5502D</block-color>, team green <block-color>#5B6B3A</block-color>,
team gold <block-color>#C9A227</block-color>.</p>
Keyboard keys
Draws keys, adapted to the computer of the reader. Useful in guides for the volunteers.
Save the page with :block-kbd[Ctrl+S] and search with :block-kbd[Ctrl+K].
Save the page with block-kbd:[Ctrl+S] and search with block-kbd:[Ctrl+K].
<p>Save the page with <block-kbd>Ctrl+S</block-kbd> and search with <block-kbd>Ctrl+K</block-kbd>.</p>