SelfscribeDownloadOpen the app

Meeting notes

Type who said what; decisions and action items pick themselves out.

Document · Simple · uses markup

Edit it in the playgroundRead the file

What it shows

Take meeting notes as a chat, with rules that work only in one part of the page.

What you learn

A box for what was decided and who does what, a scope for the conversation, one rule for every "Name: message" line, a colour per person, times, topics and decisions.

Try this

  • Add a line starting with => inside the chat, and a decision appears.
  • Give Tom a colour in the palette and a word Tom rule like Maya's, then write a line Tom: ….
examples/meeting-minutes.self · 122 lines
~~~ selfscribe
# Lesson: Take meeting notes as a chat, with rules that work only in one part of the page.
# You learn: a box for what was decided and who does what, a scope for the conversation, one rule for every "Name: message" line, a colour per person, times, topics and decisions.
# Try this: add a line starting with `=>` inside the chat, and a decision appears.
# Try this: give Tom a colour in the palette and a `word Tom` rule like Maya's, then write a line `Tom: …`.
# summary: Type who said what; decisions and action items pick themselves out.
# category: plans
# tags: document, simple, work
# uses: markup
use markdown
set title Meeting notes
set style sans

# ---- One colour per person, and one for decisions, each with its shade for dark pages
palette
  me      #1c64d8  dark #74a7ff
  maya    #6741d9  dark #b197fc
  jonas   #0c7c7b  dark #3cc7c6
  aiko    #c2410c  dark #ff8a4c
  agreed  #2f7d3a  dark #69db7c

# ---- "when a · b · c" under the title: the meeting's details as chips ------------------
line   when _          -> div.when      split "·" span.mm-chip { display: flex; flex-wrap: wrap; gap: 0.4em; margin: -0.4em 0 1.6em }  as mm-when
class mm-chip  { font: 600 0.78em/1 var(--doc-font-ui); padding: 0.55em 0.85em; border-radius: 999px; background: color-mix(in srgb, currentColor 7%, transparent) }

# ---- "::: outcome" ... ":::": the box at the top, what was decided and who does what ---
block  ::: outcome ... :::  -> aside.mm-outcome  { margin: 0 0 2.2em; padding: 0.4em 1.4em 0.8em; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--agreed) 30%, transparent); background: color-mix(in srgb, var(--agreed) 6%, transparent) }  as mm-outcome
class mm-outcome h3  { margin: 1em 0 0.4em; font: 700 0.72em/1 var(--doc-font-ui); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65 }

# ---- "=> …" anywhere: a decision, with a tick, in green ------------------------------
line   => _            -> div.decision  { display: flex; gap: 0.6em; margin: 0.35em 0; font-weight: 600; color: var(--agreed) }  as mm-decision
class decision::before  { content: "✓"; font-weight: 800 }

# ---- "[ ] task -> <owner> (by …)": an action item you can tick -------------------------
line   [ ] _ \-> _     -> div.action    _1 _2  input=checkbox  { display: flex; align-items: baseline; gap: 0.6em; padding: 0.45em 0; border-bottom: 1px solid color-mix(in srgb, currentColor 9%, transparent) }  as mm-action
inline <_>             -> span.owner    { font: 600 0.78em/1.6 var(--doc-font-ui); padding: 0.1em 0.65em; border-radius: 999px; background: color-mix(in srgb, currentColor 8%, transparent); white-space: nowrap; margin-left: auto }  as mm-owner
inline (by _)          -> span.by       { font: 0.78em/1.6 var(--doc-font-ui); opacity: 0.6; white-space: nowrap }  as mm-by
class by::before  { content: "by " }

# ---- The conversation: these rules work only between "@scope chat" and "@end" ----------
# Any "Name: message" line is a bubble. The word rules give each name its colour, and the
# note-taker's own lines ("Me:") sit on the right, like your side of a chat.
class bubble  { margin: 0.4em 20% 0.4em 0; padding: 0.55em 0.95em 0.6em; border-radius: 4px 16px 16px 16px; background: color-mix(in srgb, currentColor 5%, transparent); border: 1px solid color-mix(in srgb, currentColor 10%, transparent) }
class who     { display: block; font: 700 0.74em/1.7 var(--doc-font-ui) }
scope chat
line   _: _            -> div.bubble        _1 _2  as mm-bubble
# "Me:" is longer than "_:", so it wins for the note-taker's lines.
line   Me: _           -> div.bubble.me     { margin: 0.4em 0 0.4em 20%; border-radius: 16px 4px 16px 16px; background: color-mix(in srgb, var(--me) 16%, transparent); border-color: color-mix(in srgb, var(--me) 28%, transparent) }  as mm-me
word   Maya            -> b.who             { color: var(--maya) }  as mm-maya
word   Jonas           -> b.who             { color: var(--jonas) }  as mm-jonas
word   Aiko            -> b.who             { color: var(--aiko) }  as mm-aiko
# "[10:02]": the time, set small on the right of the bubble.
inline [_]             -> time              { float: right; margin-left: 1em; font: 0.72em/1.9 var(--doc-font-mono); opacity: 0.55 }  as mm-time
# "-- Topic --": a divider between topics.
line   -- _ --         -> div.divider       { text-align: center; font: 600 0.72em/1 var(--doc-font-ui); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; margin: 1.6em 0 0.8em }  as mm-divider
scope
~~~
# Launch sync

when Tue 8 Sep 2026 · 10:00–10:30 · Maya, Jonas, Aiko and me · Notes by me

::: outcome
### Decided
=> Launch on 30 September, web and mobile together.
=> A crash on the mobile beta blocks the launch. Anything else waits for the first patch.

### Who does what
[ ] Tell marketing the new date -> <Maya> (by Tue 8 Sep)
[ ] Find a test phone for the Android crash -> <Maya> (by Thu 10 Sep)
[ ] Fix the push notification crash, or rule it out -> <Jonas> (by Fri 18 Sep)
[ ] Record the import walkthrough -> <Aiko> (by Fri 25 Sep)
[ ] Send these notes to the whole team -> <me> (by Tue 8 Sep)
:::

@scope chat
-- Where we are --
Maya: [10:02] Beta numbers are in: 1 240 sign-ups, 38% came back on day two. That's above the target we set in July.
Jonas: [10:03] The day-two number is what I care about. Is that across both platforms?
Maya: [10:03] Web only. Mobile beta starts Thursday.
Me: [10:04] So the launch date depends on mobile holding up, not on web.
Aiko: [10:05] Support side is calm. Most tickets are about importing old notes, and the new import guide already cut them in half.

-- The date --
Jonas: [10:12] I'd rather launch on the 30th with one week of mobile data than on the 23rd with none.
Maya: [10:13] Agreed. Marketing can live with the 30th if we tell them today.
Aiko: [10:14] The 30th also gives me time to record the import walkthrough. 🎬
=> Launch on 30 September, web and mobile together.

-- Risks --
Me: [10:21] What would make us slip again?
Jonas: [10:22] Push notifications on older Android versions. Two crash reports so far, both on the same model.
Maya: [10:24] I'll ask the beta group who has that model and get us one to test on.
=> A crash on the mobile beta blocks the launch. Anything else waits for the first patch.
@end

## How it's made

The conversation sits between `@scope chat` and `@end`, so the rules written between
`scope chat` and `scope` in the rules block work there and nowhere else.

- In the chat, every `Name: message` line is a bubble, and a `word` rule gives each name its
  colour. `Me:` is a longer pattern than `_:`, so the note-taker's own lines win it and sit on
  the right.
- `[10:02]` is the time, `-- Risks --` a topic, and a line starting with `=>` a decision. The
  decision rule works everywhere, so the same mark fills the box at the top.
- In the box, each `[ ] task -> <Owner> (by date)` line is an action with a tick box, its
  owner and its date.

## Try it yourself

1. Add `Aiko: [10:26] I can lend my old phone, it's the same model.` above `@end`. A new orange
   bubble appears.
2. Change `Maya:` to `Me:` on the line at 10:13. That bubble moves to the right and turns blue.
3. Add `=> The import walkthrough ships with the launch.` to the box under "Decided". A third
   decision appears, with its tick.
4. Move the line `-- Risks --` below `@end`. It turns into plain text, because the topic rule
   works only in the chat.
5. Add `[ ] Book the launch-day call -> <Jonas> (by Mon 28 Sep)` under "Who does what". A new
   action appears with its tick box and owner.

Next: *Incident review* keeps a timeline the same way; *Kanban board* turns the actions into
cards.