react-markdown@10.1.0 · LilScript port · @itslil/react-markdown

Markdown,
as React

Official react-markdown@10.1.0 rewritten in LilScript. The processor is published @itslil/unified + @itslil/remark-parse + @itslil/remark-rehype. Plugins install from the same scope: @itslil/remark-gfm, @itslil/remark-math, @itslil/rehype-katex.

npm install @itslil/react-markdown
Current LilScript versus minified original · portable ESM —smaller

—Brotli-11 you ship, vs minified original
—gzip-9 vs minified original
—raw vs minified original
—current artifact checks

Raw, gzip and Brotli each use a separate LilScript compilation targeting that objective. The original uses the same export and dependency boundary, then a JavaScript minifier.

Markdown ✦ MarkdownAsync ✦ MarkdownHooks ✦ remark-gfm ✦ remark-math ✦ rehype-katex ✦ @itslil

The stack

Whole package,
then each library.

The first tab is @itslil/react-markdown. The rest are size and spec receipts copied from each sibling GitHub Pages lab.

The compiled runtime, in the browser

Live
lab.

Left is markdown. Right is @itslil/react-markdown with optional @itslil/remark-gfm, @itslil/remark-math, and @itslil/rehype-katex.

Current library · original minified

Three objectives.
Measured separately.

Same input · identical HTML · fresh runtime per lane

Render speed.
Measured, not assumed.

Same machine · sequential builds

Build time.

Install the stack

Plugins from
the same scope.

npm install @itslil/react-markdown @itslil/remark-gfm @itslil/remark-math @itslil/rehype-katex

Download the checked repository package · Package files, hashes and validation. npm publication is independent.