
<FormatHero
  title="Calendars written in Markdown."
  format="calendar"
  description="Agendas with recurring events, and an ICS feed that other calendars can follow."
  actions={[
    { label: "Start a calendar", site: "docs", href: "/formats/calendar/overview" },
    { label: "See an example", href: "/gallery" },
  ]}
>
  <FormatVignette format="calendar" />
</FormatHero>

**Récit calendar** turns a Markdown file into a calendar: one event per section, written in the wall
time of its zone, with recurrences that stay right across the changes of time. The same file is
shown as a month, a week, an agenda and a year, gives each event its own page, and is exported to a
feed (`.ics`) that any calendar app subscribes to, and to a PDF. Below are the releases of Récit
itself and the shipped steps of its roadmap, included from the roadmap by the bridge of the format;
a release appears here once it is published, with its date. The full page is under
[Récit releases](/calendar/releases), in English and [in French](/fr/calendar/releases).

<StoryEmbed slug="calendar/releases" view="month" />

<details>
<summary>The Markdown source of this calendar</summary>

<SourceFile deck="calendar/releases" title="sites/www/stories/calendar/releases.md" />

</details>

<PageSection tone="surface" label="The calendar format">

## The calendar format

<FeatureGrid cols={3}>
  <FeatureCard title="Wall time and zones" description="An event is written at 18:30 in Paris; the instant is computed at build time, right on both sides of a change of time." site="docs" href="/formats/calendar/time-zones" />
  <FeatureCard title="Recurrences" description="Weekly, monthly or yearly rules with exceptions, expanded in a window around the build day." href="/calendar/course?view=agenda" />
  <FeatureCard title="Four views" description="A month, a week, an agenda and a year, filtered by tag, read in the reader's own zone on request." href="/calendar/meetups" />
  <FeatureCard title="A feed to subscribe to" description="The site writes the .ics of the calendar and of each event beside the page: webcal, Google Calendar, Outlook." site="docs" href="/formats/calendar/overview" />
  <FeatureCard title="Roadmap milestones" description="include: brings the dated milestones of a roadmap into the calendar, in the language of the page." href="/calendar/course" />
  <FeatureCard title="Typed JSON twin" description="The same calendar in JSON, checked by the schema, with its titles and places in several languages." href="/calendar/json" />
</FeatureGrid>

</PageSection>

<PageSection tone="tint" label="Start a calendar">

## Start a calendar

<TutorialSteps>
  <TutorialStep title="Create a calendar" duration="10 s">
    `recit init --format calendar` writes a calendar with a meetup, weekly office hours and a retreat.

    ```bash
    npx recit init calendar.md --format calendar
    ```

  </TutorialStep>
  <TutorialStep title="See it with live reload" duration="1 min">
    `recit dev` serves the four views and reloads them when the file changes.

    ```bash
    npx recit dev calendar.md
    ```

  </TutorialStep>
  <TutorialStep title="Check, build and export" duration="30 s">
    `recit validate` checks zones, times that do not exist, recurrences and overlaps, each error
    with its line; `recit build` writes the page, and `recit export` the feed.

    ```bash
    npx recit validate calendar.md && npx recit build calendar.md && npx recit export --to ics calendar.md
    ```

  </TutorialStep>
</TutorialSteps>

</PageSection>
