Skip to content

Films written in Markdown.

Each scene is a shot. Play the film in the browser, or render it to MP4.

recit render film.md

Récit motion turns a Markdown story into a short film. The film above is one: it plays in your browser with the same blocks engine that renders the MP4. Press Space to pause, ← and → to seek.

Every aspect, any theme

Every film has a layout per aspect: the film above plays in 16:9, the two below in 9:16 with the warm-editorial theme and in 1:1 with saas-product. The gallery shows each example of the repository in all three.

Start a film

  1. Create a story

    10 s

    recit init --format motion writes a starter story.md with format: motion.

    TerminalBash
    npx recit init story.md --format motion
  2. Preview with live reload

    1 min

    recit dev plays the film in the browser and reloads it on every save. A 9:16, 4:5 or 1:1 film gets the Safe area button (or the key G): it shades what a social app covers, for the preset picked beside it; the MP4 stays clean.

    TerminalBash
    npx recit dev story.md
  3. Render the MP4

    30 s

    recit render loads @recit/motion-render on demand and writes the video.

    TerminalBash
    npx recit render story.md --aspect 9:16 --output out/

The full syntax is specified on docs.recit.dev.