
<FormatHero
  title="Webtoon episodes written in Markdown."
  format="webtoon"
  description="A vertical strip of panels. The speech bubbles are text, so an episode can be translated."
  actions={[
    { label: "Read an episode", href: "/present/episode" },
    { label: "See the gallery", href: "/gallery" },
  ]}
>
  <FormatVignette format="webtoon" />
</FormatHero>

**Récit webtoon** writes a vertical comic as Markdown: one block per panel, its image, and the
bubbles, captions and sound effects as text placed on it. The lettering stays text: searchable,
readable by a screen reader, and translated in a second file with the same panels. The episode below
comes from
[`examples/webtoon-episode`](https://github.com/vguerand/recit/tree/main/examples/webtoon-episode);
scroll it, or read it fullscreen under [/present/episode](/webtoon/episode).

<StoryEmbed slug="webtoon/episode" format="webtoon" />

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

<SourceFile deck="webtoon/episode" title="examples/webtoon-episode/episode-1.md" />

</details>

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

## The webtoon format

<FeatureGrid cols={3}>
  <FeatureCard title="Lettering as text" description="Bubbles, captions and sound effects are directives placed on the panel, in reading order; nothing is baked into the image." site="docs" href="/formats/webtoon/overview" />
  <FeatureCard title="Every language" description="`episode.fr.md` has the same panels and positions; `recit i18n check` reports a bubble left untranslated." href="/webtoon/two-languages" />
  <FeatureCard title="Slices for the platforms" description="`recit export --to images` cuts the strip at the width and height of a platform preset, lettering included." href="/webtoon/exports" />
  <FeatureCard title="A PDF per language" description="Pages as wide as the strip, cut between two panels and never inside one." href="/webtoon/exports" />
  <FeatureCard title="A film" description="`recit render` turns the episode into a 9:16 film, one shot per panel, its bubbles in reading order." href="/webtoon/episode-to-film" />
  <FeatureCard title="Typed JSON twin" description="Every episode has a typed JSON form, checked by the schema and convertible both ways without loss." site="docs" href="/formats/webtoon/overview" />
</FeatureGrid>

</PageSection>

<PageSection tone="tint" label="Start an episode">

## Start an episode

<TutorialSteps>
  <TutorialStep title="Create an episode" duration="10 s">
    `recit init --format webtoon` writes a Lorem episode of three panels, with placeholders where the
    images will go.

    ```bash
    npx recit init episode.md --format webtoon
    ```

  </TutorialStep>
  <TutorialStep title="Read it with live reload" duration="1 min">
    `recit dev` serves the reader and reloads it when the episode or an image changes.

    ```bash
    npx recit dev episode.md
    ```

  </TutorialStep>
  <TutorialStep title="Check and export" duration="30 s">
    `recit validate` checks the lettering, the images and the weight budget; `recit export` cuts the
    slices of a platform.

    ```bash
    npx recit validate --strict episode.md && npx recit export episode.md --to images --preset webtoon-canvas
    ```

  </TutorialStep>
</TutorialSteps>

The full syntax is specified on [docs.recit.dev](https://docs.recit.dev/formats/webtoon/overview).

</PageSection>
