SelfscribeDownloadOpen the app

Project plan

Progress bars that count your own checklists, with milestones and a timeline.

Interactive · Advanced · uses timeline, calendar

Edit it in the playgroundRead the file

What it shows

Follow a project with checklists that count themselves.

What you learn

Progress bars over checklists, cards in a grid from one block rule, a milestone timeline, a calendar of events, callouts, foldable details and a spoiler, a recording from the project folder.

Try this

  • Tick "Fridge and freezer delivered" under Kitchen, and two bars move: the kitchen's and "Ready to open".
  • Change [>] before "Kitchen and staff ready" to [x], and that milestone shows as done.
examples/project-plan.self · 179 lines
~~~ selfscribe
# Lesson: Follow a project with checklists that count themselves.
# You learn: progress bars over checklists, cards in a grid from one block rule, a milestone timeline, a calendar of events, callouts, foldable details and a spoiler, a recording from the project folder.
# Try this: tick "Fridge and freezer delivered" under Kitchen, and two bars move: the kitchen's and "Ready to open".
# Try this: change [>] before "Kitchen and staff ready" to [x], and that milestone shows as done.
# summary: Progress bars that count your own checklists, with milestones and a timeline.
# category: plans
# tags: interactive, advanced, work
# uses: timeline, calendar
#
# Borrow the Markdown rules for headings and checklists, then add this page's own.
use markdown
set title Project plan
set style sans

# ---- The bakery's colours: crust for marks, flour for the cards, each with a dark shade ---
palette
  crust  #b4532a  dark #f0a070
  flour  #fbf3e8  dark #2a2019

# ---- "opens …" under the title: the date and the place, as one quiet line ------------
line   opens _                    -> p.pp-opens  { font: 600 0.95em/1.4 var(--doc-font-ui); color: var(--crust); margin: -0.6em 0 1.4em; letter-spacing: 0.02em }  as pp-opens

# ---- "progress: Label": a bar that counts the ticked boxes of its section ---------------
# Under the title it counts every box on the page. Under a heading, only the boxes under it.
line   progress: _                -> progress

# ---- "+++" ... "+++": one workstream as a card; cards next to each other share a grid ----
block  +++ ... +++                -> section.pp-stream  group div.pp-grid  { padding: 0.2em 1.2em 0.6em; border-radius: 14px; background: var(--flour); border: 1px solid color-mix(in srgb, var(--crust) 16%, transparent) }  as pp-stream
class pp-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(17em, 1fr)); gap: 1em; margin: 1.2em 0 2em }
class pp-stream h3  { margin: 0.8em 0 0.2em; color: var(--crust) }

# ---- Fenced blocks that draw a picture ---------------------------------------------------
# "```timeline": one milestone a line, as [x] done, [>] now or [ ] planned, date | title | detail.
block  ``` timeline ... ```       -> timeline  verbatim
# "```events": one event a line, as a date, a time if any, a name and @ a place.
block  ``` events ... ```         -> events  verbatim

# ---- Callouts: a coloured box with an icon -----------------------------------------------
# "::: details Question" ... ":::" folds its text away under the question.
block  ::: details _ ... :::      -> details summary=_1
# "::: tip" ... ":::" is a callout of that kind. A - after the kind starts it folded.
block  ::: _ ... :::              -> callout kind=_1
# "> [!IMPORTANT]" and the quote lines under it are the same callout, written as GitHub does.
line   > [!_]                     -> callout  group blockquote

# ---- Small things inside a line, and media -----------------------------------------------
# "||words||" hides the words until you click them.
inline ||_||                      -> spoiler
# "video: file | caption" plays a recording that sits beside this file.
line   video: _                   -> media kind=video

# ---- "```style" ... "```" at the end: CSS for this page, here its link colour ---------------
block  ``` style ... ```          -> style  verbatim
~~~
# Crumb & Co: opening plan

opens Saturday 3 October 2026 · 14 Mill Lane

progress: Ready to open

> [!IMPORTANT]
> **Next milestone: kitchen and staff ready, Saturday 26 September.** Anything not ticked by then waits until after opening.

+++
### Kitchen
progress: Ready by 26 Sep

- [x] Deck oven installed and tested
- [x] Mixer and proving cabinet
- [x] Hygiene inspection booked for 18 Sep
- [ ] Fridge and freezer delivered
- [ ] Second oven deck certified
+++

+++
### Shop floor
progress: Ready by 30 Sep

- [x] Till and card reader
- [x] Counter and bread shelves fitted
- [x] Price cards for twelve loaves
- [ ] Sign above the door
- [ ] Broadband for the card reader
+++

+++
### Staff
progress: Hired by 26 Sep

- [x] Head baker: Marta Kowalczyk
- [x] Bakers: Idris Haddad, Leah Byrne
- [ ] Counter staff for weekends
- [ ] Rota for the first month
+++

+++
### Opening day
progress: Ready by 2 Oct

- [x] Flyers to every house on Mill Lane
- [ ] Photos for the website
- [ ] 300 cups for the free coffee
- [ ] Interview with the Mill Lane Gazette
- [ ] Trial bake for the neighbours
+++

::: warning- Known issues
- The second oven deck is not certified until 22 September.
- The fridge supplier has moved delivery twice. Call them on Monday.
- The card reader needs the broadband, which arrives on the 25th.
:::

## Milestones

```timeline
title: From empty shop to first loaf
[x] 2026-06 | Lease signed | 14 Mill Lane, five years
[x] 2026-08 | Shop fitted | Counter, shelves and the front window
[>] 2026-09-26 | Kitchen and staff ready | Oven certified, three bakers hired
[ ] 2026-10-03 | Opening day | Free coffee until noon
[ ] 2026-11 | Wholesale | Bread for two cafés on the high street
```

## Calendar

```events
title: September and October
2026-09-14 10:00-11:30 Kick-off with the bakers @ the shop
2026-09-18 Hygiene inspection @ Kitchen
2026-09-25 Trial bake for neighbours
2026-10-03 07:00 Opening day @ 14 Mill Lane
2026-10-05..2026-10-07 Shop closed to rest and restock
```

::: details Who is invited to the trial bake?
Everyone on Mill Lane, the builders who fitted the shop, and the first twenty people on the mailing list. The guest of honour is ||the baker who taught Marta sourdough||.
:::

## Recordings

video: media/kickoff.mp4 | Kick-off with the bakers, 14 September

## How it's made

Each list of boxes is an ordinary Markdown checklist: `- [ ]` for a box, `- [x]` for a ticked
one. A line such as `progress: Ready by 26 Sep` draws a bar that counts the ticked boxes of its
section. Under the title it counts every box on the page. Under `### Kitchen` it counts only
the kitchen's.

- Each workstream sits between two `+++` lines. One rule makes it a card, and the cards next to
  each other share a grid.
- The milestones are a fenced block named `timeline`: `[x]` is done, `[>]` is where you are,
  and `[ ]` is still to come.
- The calendar is a fenced block named `events`, one event a line. Two dots join a range of
  days.
- `> [!IMPORTANT]` and `::: warning-` are callouts. The `-` starts one folded.
- `||words||` hides words until a click, and `video: file | caption` plays a recording kept in
  the folder at `media/kickoff.mp4`. Until it is there, the player says where it looked.
- The bars fill with the page's link colour, which the style block at the end sets to the
  bakery's brown.

## Try it yourself

1. Tick "Fridge and freezer delivered" under Kitchen. The kitchen's bar moves, and so does
   "Ready to open" at the top.
2. Add `- [ ] Flour delivery for the first week` under Shop floor. Its bar drops, because it
   now counts one more box.
3. Change `[>]` before "Kitchen and staff ready" to `[x]`, and `[ ]` before "Opening day" to
   `[>]`. The timeline moves on a step.
4. Remove the `-` after `warning` in `::: warning- Known issues`. The callout opens.
5. Add `2026-09-30 18:00 Staff training @ the shop` to the events. It shows on the calendar.

Next: *Kanban board* keeps tasks on a board; *Product roadmap* puts them on a timeline.

```style
/* The bakery's colour for links, which the progress bars fill with too. */
.self-doc { --doc-link: var(--crust); }
```