# `Macaw.Frame.TextForms.Timeline`
[🔗](https://github.com/dcoai/macaw_frame/blob/v0.1.0/lib/macaw/frame/text_forms/timeline.ex#L1)

The `timeline` text form (spec/02 §11.3, spec/13 §7.3): a timeline written as mermaid
writes one, read into a design whose `gantt` step sets each event on a time grid as a
milestone (a `symbol` diamond and a `text` label beside it), its sections banded as
lanes (`Macaw.Frame.TextForms`).

    timeline
      title Releases
      section Early
        2024 : Prototype : First user
        2025-06 : Beta
      section Now
        2026-03-14 : Launch
                   : Press

- `title` names the design (`meta.name`); `section Name` starts a period.
- **An entry** is `time : event`, more events after further colons; a line `: event`
  adds an event at the entry before it. A time is a year (`2024`), a month (`2025-06`)
  or a date (`2026-03-14`), read as its first day.

Rows: `events` (`t` a `Date`, `label`, `period` the section), one an event, in order.
Faults, every one at once: `{:time, text}`, `{:expected, :entry}`, `{:expected, :event}`.
`print/1` writes the title, the sections and an entry an event, a time as a year when it
is a year's first day, a month when it is a month's.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
