Project Format
A project is one directory with one required file: projects/<slug>/index.md.
The frontmatter block carries the facts a build needs, the Markdown body
carries the guide, and assets/ beside it carries the media.
Listsome reads patterns, not syntax. Nothing in a project file is Listsome syntax: the same file on Codeberg or GitHub renders as a normal Markdown document, and a generator that never heard of Listsome still shows your guide. Where Listsome does recognize a convention, it adds structure instead of replacing your words.
Folder layout
projects/
└── smart-thermostat/
├── index.md # required
└── assets/ # optional
├── hero.jpg
├── wiring-diagram.png
└── firmware.ino
The build walks projects/ two levels deep and treats every directory that
holds an index.md as a project. It skips a directory without one without
a word, and it skips a project that fails to parse just as quietly. Reference
assets by
relative path, ./assets/hero.jpg, so the same file works in a preview and
in the built site.
Frontmatter
Two fields have no fallback, and the build names the file when one is missing:
| Field | Example | What it changes |
|---|---|---|
title | DIY Smart Thermostat | Page heading, tab title, feed entry title |
description | A $20 ESP32 thermostat for Home Assistant | Card summary, feed summary |
Everything else is optional:
| Field | Example | What it changes |
|---|---|---|
slug | smart-thermostat | URL segment, defaults to one built from the title |
difficulty | intermediate | Badge text and listsome list filter, one of beginner, intermediate, advanced |
time | 4 hours | Time badge on the page and the card, printed as written |
cost | 23.50 | Cost badge, see how costs add up |
currency | USD | Prefix on the cost badge, USD 23.50 instead of $23.50 |
categories | [electronics, arduino] | Category pages and the card badge row |
tags | [esp32, iot] | Tag pages |
author | Ryan | Byline, defaults to Anonymous when absent |
date | 2026-03-08 | Publication date, and the newest-first order of every listing |
updated_at | 2026-03-12 | The updated field of the feed entry |
status | draft | draft, published, or archived, archived behaves like published |
featured | true | Puts the project in the featured grid on the index page |
hero | ./assets/hero.jpg | Card image on the index, category, and tag pages |
images | [./assets/a.jpg] | The build reads it, no template prints it |
Listsome reads no other keys. A build prints each one it’s about to drop as an unknown frontmatter key, names the file, and suggests the closest real key when one is close:
Unknown frontmatter key `draft` in projects/led-chaser/index.md is ignored.
Did you mean `status`?
That message exists because draft: true is what every other generator
spells, and here it publishes the project while the warning says so.
The build reads mastodon, pixelfed, peertube, and bluesky into the
project model, and no template prints them. Set social handles for the site in
listsome.toml instead.
How costs add up
A cost in the frontmatter wins. With none, the build takes the total of the
project’s bill of materials, so a guide that itemizes itself prices itself.
When both exist and disagree, the build prints a warning with both figures and
the filename, and the frontmatter still wins.
Drafts
status: draft holds a project out of listsome build. --drafts and
[build] drafts publish them anyway. Listsome publishes a project that
says nothing about status, because listsome init writes status: published
into every project it scaffolds, so a missing field means hand-written content
that meant to be public.
What the parser recognizes
Three conventions earn structure today.
- Step headers,
## Step 1: Titleand its two siblings - Materials tables under a materials heading
- Callout markers that open a paragraph
Everything else in your Markdown renders as Markdown. A ## Tools header is
an <h2> over your list, which is what it was before Listsome existed. See
Headers that do nothing yet for the conventions
that plans cover.
Step headers
A level-two heading that opens with Step, Part, or Phase, then a number,
then a colon becomes a step:
## Step 1: Test your components
## Part 3: Assembly
## Phase 2: Planning
The number you type isn’t the number you get. The build counts steps in
document order, so a guide that jumps from Step 2 to Step 4 still shows
two steps, numbered 1 and 2. Step titles feed a navigation list at the top of
the steps section, and each step becomes an h-event article.
Two things about that section are worth saying out loud.
The page shows the guide twice: the body renders in full, including every step heading and paragraph, and the steps section then repeats each step with its own heading and extracted body.
The extracted body keeps the Markdown the author wrote. Lists, links, images, callouts, and inline code survive into the step article. A non-step heading before the first step no longer empties the step bodies. Issue #86 recorded both defects, and the fix for them landed. The example project’s snapshot locks the behavior in place.
Materials tables
A table under a materials heading becomes a bill of materials the site can
publish and another site can read. Three headings qualify, compared on the
whole heading once the parser normalizes case and curly apostrophes:
What You'll Need,
Materials, and BOM. A table under a subheading of one still belongs to the
bill, so ## Materials with ### Spare parts under it prices both tables
together. Spell the heading exactly, because ## What You Need without the
apostrophe is a plain heading over a plain table:
## What You'll Need
| Item | Qty | Cost | Source | Note |
|------|-----|------|--------|------|
| ESP32 DevKit | 1 | $6.00 | [Supplier](https://example.com) | Any board works |
| DHT22 sensor | 1 | $4.50 | [Shop](https://example.com) | |
The parser compares each column heading with the aliases of one role and ignores case:
| Role | Column headings it answers to |
|---|---|
| Item | Item, Part, Component, Name, Material |
| Qty | Qty, Quantity, Count, Amount |
| Cost | Cost, Price, Unit Cost, Each |
| Source | Source, Link, Buy, Vendor, Supplier |
| Notes | Notes, Description, Comment, Note |
A role takes the first column that answers to it, and no column answers to two roles. The build still renders a column that no role claims, because reading a table isn’t a license to delete parts of it. A table whose columns match nothing stays the plain table you wrote.
The bill replaces the table where it stands, so the page carries one bill and
not two. Each row that names a part carries h-product markup: p-name,
p-quantity, p-price, and p-URL when the source cell links somewhere.
The build sums the Cost column into a total row, written in the notation the column
uses itself, so $45.00 and 45.00 EUR both look like their cells. A cost
that isn’t a number shows up in the bill and stays out of the total, which is
the right answer for Free, -, and 20–30. The parser refuses a figure
written with a decimal comma, because the wrong guess prices a $1200 part at
$1.20. A bill with no cost column gets no total.
Callouts
A paragraph that opens with a marker becomes a styled box. Two markers work, and you need one of them.
**Warning:** Turn off power at the breaker before proceeding.
**Pro tip:** Buy the fasteners in bulk.
⚠️ The capacitor holds a charge even when unplugged.
💡 **Tip:** Print the mount before the enclosure.
| Marker | Box | Title it prints |
|---|---|---|
**Warning:**, **Caution:**, **Hot:** | warning | your label, as written |
**Tip:**, **Pro tip:** | tip | your label, as written |
**Note:** | note | your label, as written |
⚠️, 🔥 | warning | Warning, Hot |
💡 | tip | Tip |
📝, ℹ️ | note | Note |
The marker has to open the paragraph. Warning: high voltage with neither
bold nor emoji stays ordinary prose, so the build never rewrites a sentence
that merely begins with one of these words, and a marker inside a code block or
a table cell isn’t a marker. An emoji alone takes its kind’s name as the title,
and a
label beside an emoji decides the title.
The box is an <aside> with a <p class="callout-title"> inside it, so it
stays identifiable in a text selection, in a printed page, and in a feed
reader that drops the style sheet.
Assets
The build copies projects/<slug>/assets/ into the project’s output directory
and re-encodes images on the way. Files that aren’t images copy unchanged.
assets/
├── hero.jpg # card image, named in frontmatter
├── thumbnail-print.jpg # resized to the thumbnail width
├── step-01-breadboard.jpg
├── diagram.svg
├── firmware.ino
└── schematic.pdf
The build processes a filename that starts with step- at max_thumb_width
and uses max_content_width for other images. The word thumbnail in a
filename has no effect. The step-NN prefix only picks a width. Nothing pairs
a step with an image, and no code looks up a project’s hero by filename. hero
is a frontmatter field.
Images inside the body get grouped and get lightbox markup: consecutive images
with no text between them share a row, and a click opens the full file. The
images frontmatter field is a different story. The build reads
the list and hands it to the template context, and no built-in template prints
it, so a gallery declared in frontmatter appears nowhere on the page. Use
images in the body until a template catches up.
A download link is a link. [Download the firmware](./assets/firmware.ino)
renders as an ordinary link with no size and no type, and the build never
checks that the target exists, so a typo in an asset path shows a broken link
on the page and a clean build. Issue #80 covers both.
Video needs raw HTML, and CommonMark passes it through:
<video src="./assets/demo.mp4" poster="./assets/demo-thumb.jpg"></video>
Headers that do nothing yet
A decision record documents the following headers, and issue #73 plans the work. Each renders as a plain heading over plain content:
| Heading | Planned as |
|---|---|
## Tools, ## Equipment | Tool list |
## Downloads, ## Files | Links with file metadata |
## Troubleshooting, ## FAQ | Collapsible section |
## Variations, ## Alternatives | Variation cards |
A ## Step 1 heading with no colon, ## STEP 1: Title in caps, and ## 1. Gather the parts are all plain headings too. The step pattern wants the word,
the number, and the colon.
A complete example
---
title: Paperclip Antenna
description: Free over-the-air TV from a paperclip
difficulty: beginner
time: 5 minutes
cost: 0
categories: [radio]
tags: [antenna, tv]
date: 2026-04-02
status: published
---
# Paperclip Antenna
Need free over-the-air TV? Unbend a paperclip.
## What You'll Need
| Item | Qty | Cost |
|------|-----|------|
| Paperclip | 1 | $0 |
| Coax adapter | 1 | $5 |
## Step 1: Bend the clip
Open the clip into an L shape and leave the short leg about two inches long.
**Warning:** Unplug the TV before you touch the antenna connector.
## Step 2: Point it
Screw the adapter into the coax input, stand the clip upright, and run a
channel scan. Rotate it a few degrees at a time until the count goes up.
That file is under 40 lines. The build turns it into a card on the index page, a priced bill of materials, two steps, and a warning box that a plain Markdown renderer still shows as a paragraph.