Step-by-step explainer
Steps, branches, who does what and how long, drawn down the page as you write them.
What it shows
Explain how something works in the flow of the text, one step a line.
What you learn
A trail of steps with side columns, branches by indenting, messages between people in lanes, marks for where things stand, signs and numbers for steps, an anatomy that names the parts of a line.
Try this
- Change "[>] Meeting Biscuit" to "[x] Meeting Biscuit" and "[ ] Fee paid and day booked" to "[>] Fee paid and day booked", and the application moves on a step.
- In the messages, add "Amira --> Westbrook: Saturday works", and a reply arrives in Westbrook's lane.
Adopting a dog from Westbrook Rescue
From falling for a dog on our website to walking them home.
Adoption fee £195Vaccinated, chipped and neutered38 dogs looking for a homeOpen Tuesday to Sunday, 11:00 to 16:00
Most adoptions take two to three weeks. Beside each step is who does it, and how long it takes.
Can I adopt?
Most people can. These are the only questions that stop an application.
Who talks to whom during a home visit
Amira applied for Biscuit, a three-year-old lurcher, on a Tuesday evening.
Where an application stands
Amira's account shows her application like this:
When something holds an application up, the step says why:
The first two weeks at home
Introducing a cat who lives with you
The numbers on a dog's papers
Every dog has a number on the kennel card. Quote it when you ring us.
The microchip number is on the vet card. It stays the same all the dog's life, and only the name it is registered to changes.
Point at a part, or at its label, to pick the pair out.
How it's made
Every picture on this page is a block of plain lines that reads well even as text.
- A
trailblock is one step a line. Words after a|go in columns beside the step, and an empty column is skipped. - A line indented under a question, starting with
yes:orno:, is a branch. Indent again for a branch inside a branch. lanes: Amira, Westbrook, Volunteerturns the lines under it into messages.->sends one, and-->answers.[x]is done,[>]is happening now,[ ]is still to do and[!]has failed. Any other sign in the brackets sits on the line in place of the dot, and a number makes a numbered step.- An
anatomyblock is a line, thenpart: name | notefor each part of it worth naming.
Try it yourself
- In the first trail, add
| 2 minto the end ofPay the fee and book the day | you | £195. A new column appears beside that step. - In Amira's application, change
[>] Meeting Biscuitto[x] Meeting Biscuitand[ ] Fee paid and day bookedto[>] Fee paid and day booked. The application moves on a step. - In the messages, add
Amira --> Westbrook: Saturday works | by emailat the end. A reply arrives in Westbrook's lane. - In the kennel card, change
K7toK12, both in the number and at the start of its line. The label "kennel" stays on the new number.
Next: Diagrams that move lets the reader step through a diagram; How a system works uses a trail beside other pictures.
~~~ selfscribe
# Lesson: Explain how something works in the flow of the text, one step a line.
# You learn: a trail of steps with side columns, branches by indenting, messages between people in lanes, marks for where things stand, signs and numbers for steps, an anatomy that names the parts of a line.
# Try this: change "[>] Meeting Biscuit" to "[x] Meeting Biscuit" and "[ ] Fee paid and day booked" to "[>] Fee paid and day booked", and the application moves on a step.
# Try this: in the messages, add "Amira --> Westbrook: Saturday works", and a reply arrives in Westbrook's lane.
# summary: Steps, branches, who does what and how long, drawn down the page as you write them.
# category: diagrams
# tags: document, simple, ideas
# uses: diagram
use markdown
set title Step-by-step explainer
set style sans
set heading-font Lora
# ---- Colours, each with its shade for dark pages ----------------------------------------
palette
clay #b4532a dark #fdba8c
tint color-mix(in srgb, var(--clay) 11%, transparent)
# ---- "> a line": the line under the title, in the rescue's own voice ---------------------
line > _ -> p.lede { margin: -0.3em 0 0.9em; font-size: 1.12em; line-height: 1.5; opacity: 0.82 } as lede
# ---- "facts a | b | c": the rescue at a glance, as tags in a row -------------------------
line facts _ -> p.facts split "|" span.fact { display: flex; flex-wrap: wrap; gap: 0.4em; margin: 0 0 1.6em } as facts
class fact { padding: 0.2em 0.75em; border-radius: 999px; background: var(--tint); color: var(--clay); font: 600 0.8em/1.6 var(--doc-font-ui) }
# ---- ```trail ... ```: one step a line; "|" starts a side column; indent for a branch ----
block ``` trail ... ``` -> trail verbatim
# ---- ```anatomy ... ```: a line, then "part: name | what it is" for each part -----------
block ``` anatomy ... ``` -> anatomy verbatim
~~~
# Adopting a dog from Westbrook Rescue
> From falling for a dog on our website to walking them home.
```trail
Fill in the application | you | 15 min
Read by the rehoming team | Westbrook | within 3 days
Home visit | a volunteer | about an hour
A good match? | rehoming team
no: We say why, and suggest a dog who fits | by phone
yes: Meet the dog, twice | you and the dog | 2 visits
Pay the fee and book the day | you | £195
Vet check, and the microchip moved to your name | our vet | 2 to 5 days
Adoption day | you, the dog, a lead | about an hour
Settling-in call | rehoming team | after 2 weeks
```
facts Adoption fee £195 | Vaccinated, chipped and neutered | 38 dogs looking for a home | Open Tuesday to Sunday, 11:00 to 16:00
Most adoptions take two to three weeks. Beside each step is who does it, and how long it takes.
## Can I adopt?
Most people can. These are the only questions that stop an application.
```trail
Are you 21 or over? | you
no: Ask an adult in your home to apply
yes: Do you rent your home? | you
yes: Get your landlord's permission in writing | an email is fine
no: Go ahead and apply | online or at the desk
Pick a dog whose needs fit your days | each dog's card says
```
## Who talks to whom during a home visit
Amira applied for Biscuit, a three-year-old lurcher, on a Tuesday evening.
```trail
lanes: Amira, Westbrook, Volunteer
Amira -> Westbrook: Application for Biscuit | ref WR-2611-0418
Westbrook -> Volunteer: Please visit this week | address and phone number
Volunteer -> Amira: Can I come on Saturday at 10:30? | by text
Amira --> Volunteer: Yes, see you then
Volunteer --> Westbrook: Visit done: a good home | fence 1.8 m all round
Westbrook --> Amira: Come and meet Biscuit | two dates to choose from
```
## Where an application stands
Amira's account shows her application like this:
```trail
[x] Application received | Tue 3 Nov
[x] Home visit passed | Sat 7 Nov
[>] Meeting Biscuit | second visit, Sat 14 Nov
[ ] Fee paid and day booked
[ ] Adoption day
```
When something holds an application up, the step says why:
```trail
[x] Application received | Mon 9 Nov
[!] Home visit: a gap in the garden fence | fix it, and we come back
[ ] Meeting the dog
```
## The first two weeks at home
```trail
[🏠] Day 1: one quiet room, a bed and water | keep visitors away
[🚶] Days 2 to 4: short walks on a lead | 10 to 15 minutes
[🍲] Week 1: meals at the same times | 8:00 and 17:00
[🩺] Day 10: register with your own vet
[📞] Day 14: our settling-in call
```
## Introducing a cat who lives with you
```trail
[1] Swap their bedding, so each learns the other's smell | 2 to 3 days
[2] Let them see each other through a baby gate | 5 minutes, twice a day
[3] Same room, dog on a lead | 10 minutes
[4] Off the lead, with a high shelf for the cat | when both stay calm
```
## The numbers on a dog's papers
Every dog has a number on the kennel card. Quote it when you ring us.
```anatomy
# Biscuit's kennel card
WR-2026-0418-K7
WR: rescue | Westbrook Rescue
2026: year | when she came to us
0418: her number | counted from 1 each January
K7: kennel | where to find her on a visit
```
The microchip number is on the vet card. It stays the same all the dog's life, and only the name it is registered to changes.
```anatomy
# The microchip on her vet card
826098100452381
826: country | the United Kingdom
098100452381: Biscuit | hers alone, for life
```
Point at a part, or at its label, to pick the pair out.
## How it's made
Every picture on this page is a block of plain lines that reads well even as text.
- A `trail` block is one step a line. Words after a `|` go in columns beside the step, and an empty column is skipped.
- A line indented under a question, starting with `yes:` or `no:`, is a branch. Indent again for a branch inside a branch.
- `lanes: Amira, Westbrook, Volunteer` turns the lines under it into messages. `->` sends one, and `-->` answers.
- `[x]` is done, `[>]` is happening now, `[ ]` is still to do and `[!]` has failed. Any other sign in the brackets sits on the line in place of the dot, and a number makes a numbered step.
- An `anatomy` block is a line, then `part: name | note` for each part of it worth naming.
## Try it yourself
1. In the first trail, add ` | 2 min` to the end of `Pay the fee and book the day | you | £195`. A new column appears beside that step.
2. In Amira's application, change `[>] Meeting Biscuit` to `[x] Meeting Biscuit` and `[ ] Fee paid and day booked` to `[>] Fee paid and day booked`. The application moves on a step.
3. In the messages, add `Amira --> Westbrook: Saturday works | by email` at the end. A reply arrives in Westbrook's lane.
4. In the kennel card, change `K7` to `K12`, both in the number and at the start of its line. The label "kennel" stays on the new number.
**Next:** *Diagrams that move* lets the reader step through a diagram; *How a system works* uses a trail beside other pictures.