FrankenMarkdown: zero-dependency Rust engine renders Markdown to self-contained HTML/PDF via WASM
doodlestein · x · 2026-08-31
The author announced a webapp version of FrankenMarkdown (the native app is awaiting Apple review; all 9 planned FrankenApps will target iPhone/iPad/Mac), already quite usable on iPad.
Engine highlights:
- A single zero-dependency Rust core: clean-room parser, LaTeX-grade typesetting, and a hand-rolled PDF writer.
- Turns arbitrary GitHub Flavored Markdown (including LaTeX, Mermaid, code) into polished self-contained HTML, compact tagged PDF, SVG, and more.
- Runs in-browser via WASM (1.8MB gz payload including fonts and the PDF writer); native and WASM outputs are byte-for-byte identical, gated in CI.
- CommonMark conformance floor at 379 specs, only allowed to rise.
- Serverless sharing: documents are deflate-compressed, base64url-encoded into the URL fragment — "the document is the link", nothing uploaded or stored.
Related event: FrankenMarkdown Turns Markdown Into Self-Contained PDF and HTML(2 posts)→
More from coding & agent
- $400 Bounty: Build the Slack Bot That Catches YC Acceptances Before YC Announces — ThePeterMick · 2026-08-31
- With Codex and Claude Code This Good, Is Hand-Coding Agents Still Worth It? — Red_Pudding_pie · 2026-08-31
- Built a RAG app that cites course timestamps and quotes — Al_Grigor · 2026-08-31
- Swyx breaks down pre-training vs post-training and what's holding back agents — iamrobotbear · 2026-08-31
- Using Codex with Blender beats hiring a 3D modeler for speed — natesiggard · 2026-08-31
- Exploring Object Detection Prompt Optimization for LLMs in DSPy — lateinteraction · 2026-08-31