marked 18.0.10 · LilScript port · @itslil/marked

Markdown,
compiled.

The synchronous parsing API of marked@18.0.10 — parse, parseInline, setOptions — implemented in LilScript. Compare the current repository build with original minified Marked: download sizes, parsing time, and build time. Raw, gzip and Brotli each have their own objective build. Marked's extension and subclassing APIs are outside this port.

npm install @itslil/marked

The demo and measurements use the current repository ESM. npm releases are published separately.

Current LilScript versus minified original · portable ESM —smaller

—Brotli-11, vs minified original
—gzip-9, gzip-scored compile vs minified original
—raw, raw-scored compile 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.

gfm ✦ commonmark ✦ tables ✦ task lists ✦ fences ✦ autolinks ✦ parse ✦ parseInline ✦ setOptions

Current build · original minified

Parsing time.

Recorded in Chromium and Firefox on two documents. Compare the measured medians, inspect every sample, or run both parsers on your own device.

Run it on your device.

This button measures document parsing and the full spec suite on your machine with the shared benchmark harness. Both parsers check all 660 spec cases first, and no timing is reported unless every byte of HTML matches.

Keep this tab in front while it runs — a background tab is throttled and the numbers are meaningless. Takes a few seconds.

The compiled runtime, in the browser

Live
markdown.

Left is the editor. Right is HTML from the current @itslil/marked ESM or original minified marked@18.0.10 — the same artifacts used for the recorded timings. Marked does not sanitize HTML. Do not paste untrusted markdown.

Current library · original minified

Three objectives.
Measured separately.

Same machine · sequential builds

Build time.

Zero runtime dependencies

Use the
Markdown port.

npm install @itslil/marked

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