← All projects
Project record1 mention
Originally shared on Hacker News

Rehype markdown-to-figure plugin

A rehype plugin that transforms markdown into <figure><img><figcaption></figcaption></figure> HTML, enabling images with captions in generated output. Written in TypeScript, with the code complete and packaging as an npm module in progress.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Rehype markdown-to-figure plugin

    A rehype plugin that transforms markdown into <figure><img><figcaption></figcaption></figure> HTML, enabling images with captions in generated output. Written in TypeScript, with the code complete and packaging as an npm module in progress.

    Posted by @flir · Original source ↗

    Source text · @flir · · Source ↗

    a rehype plugin that helps me turn markdown into <figure><img><figcaption></figcaption></figure> HTML