Skip to content

Webtoon episodes written in Markdown.

A vertical strip of panels. The speech bubbles are text, so an episode can be translated.

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; scroll it, or read it fullscreen under /present/episode.

Lorem Ipsum — Episode 1Open fullscreen
Contents of the episode
  1. Panel 1 · A dark amber gradient, a small round light high above a wide round shape.
  2. Panel 2 · Two round amber shapes side by side on a light gradient.
  3. Panel 3 · One large amber circle rising on a gradient from dark to warm.
  4. Panel 4 · Three small amber circles in a row on a pale gradient.
  5. Panel 5 · A tall dark panel: a small light at the top, two round shapes far below.
  6. Panel 6
  7. Panel 7 · One wide pale amber circle filling the panel.
  8. Panel 8 · Two dark amber circles at opposite corners.
  9. Panel 9
A dark amber gradient, a small round light high above a wide round shape.

Somewhere, dolor sit amet.

lorem: Lorem ipsum?

Two round amber shapes side by side on a light gradient.

lorem: Dolor sit amet, consectetur adipiscing elit.

ipsum: Sed do eiusmod tempor…

One large amber circle rising on a gradient from dark to warm.

ipsum: Incididunt ut labore!

Three small amber circles in a row on a pale gradient.

lorem: Ut enim ad minim veniam.

A tall dark panel: a small light at the top, two round shapes far below.

Much later, quis nostrud exercitation.

ipsum: Ullamco laboris nisi ut aliquip?

lorem: Ex ea commodo consequat.

Duis aute irure dolor.

One wide pale amber circle filling the panel.

In reprehenderit in voluptate.

Two dark amber circles at opposite corners.

lorem: Velit esse cillum?

ipsum: Dolore eu fugiat!

To be continued.

The Markdown source of this episode
examples/webtoon-episode/episode-1.md
--- title: Lorem Ipsum — Episode 1 description: A Lorem webtoon episode, every bubble shape, captions, sound effects. lang: en format: webtoon width: 800 gutter: 120 background: "#101014" font: lettering budget: panelBytes: 200000 episodeBytes: 1000000 --- --- id=p1 src=./panels/01.svg alt="A dark amber gradient, a small round light high above a wide round shape." :::caption Somewhere, dolor sit amet. ::: :::bubble{x=62% y=18% tail=bottom-left cast=lorem} Lorem *ipsum*? ::: --- id=p2 src=./panels/02.webp alt="Two round amber shapes side by side on a light gradient." :::bubble{x=28% y=16% tail=bottom cast=lorem} Dolor sit amet, consectetur adipiscing elit. ::: :::bubble{x=72% y=82% tail=top shape=thought cast=ipsum} Sed do eiusmod tempor… ::: --- id=p3 src=./panels/03.svg alt="One large amber circle rising on a gradient from dark to warm." :::bubble{x=40% y=14% w=50% tail=bottom-right shape=shout cast=ipsum} Incididunt ut labore! ::: :::sfx{x=72% y=70% rotate=-12 size=xl} BOOM ::: --- id=p4 src=./panels/04.svg alt="Three small amber circles in a row on a pale gradient." :::bubble{x=50% y=20% tail=bottom shape=whisper cast=lorem} Ut enim ad minim veniam. ::: :::sfx{x=20% y=45% rotate=8 size=s} tap tap ::: --- id=p5 src=./panels/05.webp alt="A tall dark panel: a small light at the top, two round shapes far below." :::caption{x=50% y=8% w=70%} Much later, quis nostrud exercitation. ::: :::bubble{x=60% y=50% tail=left cast=ipsum} Ullamco laboris nisi ut aliquip? ::: :::bubble{x=40% y=80% tail=right cast=lorem} Ex ea commodo consequat. ::: :::notes A tall panel: the PDF puts it on its own page, the film pans down it. ::: --- id=p6 background=#2a1a10 height=500 :::caption{x=50% y=50% w=60%} Duis aute irure dolor. ::: --- id=p7 src=./panels/06.svg alt="One wide pale amber circle filling the panel." :::bubble{x=50% y=30% tail=none} In reprehenderit in voluptate. ::: --- id=p8 src=./panels/07.svg alt="Two dark amber circles at opposite corners." :::bubble{x=30% y=20% tail=bottom-right shape=thought cast=lorem} Velit esse cillum? ::: :::bubble{x=70% y=75% tail=top-left shape=shout cast=ipsum} Dolore eu fugiat! ::: :::sfx{x=50% y=50% rotate=20 size=l} SHHH ::: --- id=p9 background=#000000 height=400 :::caption{x=50% y=50% w=60%} To be continued. :::

Start an episode

  1. Create an episode

    10 s

    recit init --format webtoon writes a Lorem episode of three panels, with placeholders where the images will go.

    TerminalBash
    npx recit init episode.md --format webtoon
  2. Read it with live reload

    1 min

    recit dev serves the reader and reloads it when the episode or an image changes.

    TerminalBash
    npx recit dev episode.md
  3. Check and export

    30 s

    recit validate checks the lettering, the images and the weight budget; recit export cuts the slices of a platform.

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

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