# Templates

A calendar starts from `recit init --format calendar`, or from one of the templates below, copied as
it is. Each is one file, in Markdown or in JSON.

<FeatureGrid cols={3}>
  <FeatureCard title="Meetups" description="Events in a city and online, a monthly rule, a cancelled date, titles and places in two languages." href="/calendar/meetups" />
  <FeatureCard title="Course" description="Weekly sessions with an exception, office hours in another zone, a bootcamp over three days." href="/calendar/course" />
  <FeatureCard title="Releases" description="A calendar made of include: only, the dated steps of a roadmap, a release once it is published." href="/calendar/releases" />
</FeatureGrid>

## From the command line

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

The starter is one file:

```markdown
---
title: Lorem Meetups
lang: en
format: calendar
timezone: Europe/Paris
view: month
---

--- id=kickoff start=2026-11-05T18:30 end=2026-11-05T20:30 location="Lorem Hall, Ipsum" tags=meetup

## Kickoff meetup

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

--- id=office-hours start=2026-11-03T10:00 duration=PT1H rrule="FREQ=WEEKLY;BYDAY=TU;COUNT=8" exdate=2026-11-24T10:00 url=https://example.com/live tags=online

## Office hours

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

--- id=retreat date=2026-12-10 end=2026-12-12 tags=retreat

## Ipsum retreat

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
```
