Open source · 2026
A Markdown editor with live preview that never uploads your writing
A free, open-source Markdown editor with live preview that runs in the browser: GitHub-style tables and task lists, code highlighting, KaTeX maths and Mermaid diagrams, with export to HTML or PDF and share links that need no server.
- For
- Open source
- Role
- Design and engineering
- Year
- 2026
- Industry
- Developer Tools

Overview
Writing a README or a doc often means pasting it into a site that wants an account, or that keeps a copy.
Markdown Preview renders as you type, entirely in the browser. It exports to HTML or PDF, and share links carry the whole document after the # in the address, which browsers never send to a server.
The problem
- Online Markdown previewers often need sign-up or store your text.
- Many skip the parts developers use: tables, maths and diagrams.
- Sharing a draft usually means uploading it somewhere.
What it had to do
- Render everything GitHub Flavored Markdown supports, plus maths and diagrams.
- Make opening a share link from a stranger safe.
- Keep the page light: load heavy parts only when a document needs them.
How I built it
Safe by default
Every render passes through DOMPurify, KaTeX runs with trust off, and Mermaid runs in strict mode with its theme settings locked, so a shared document cannot run code or restyle the page.
Share links without a server
Documents are compressed with fflate and stored in the URL fragment, so a link is the document and nothing is stored anywhere.
Load only what is used
Mermaid and its layout engines download only when a document contains a diagram.
What shipped
- Live editor with split, write and preview layouts, scroll sync and drafts kept on the device.
- Export to Markdown, HTML (copy or a styled standalone page) and PDF.
- Pages for Markdown to HTML and Markdown to PDF, and a cheat sheet with rendered examples.
What came of it
- Live at markdown.vivekbhange.tech and open source under the MIT licence.
- Tested against hostile share links carrying scripts, event handlers and javascript: links.
What it does not do
- The editor is a plain text box, with no syntax highlighting while you type yet.
- Very long documents make very long share links, which some chat apps cut short.
Built with
Useful?
Have something like this to build?
Built by Vivek Bhange, Full-Stack AI Engineer in Pune, India. Open for freelance and collaboration.
More work
See all work
Developer tools · 2026
TagLens
Reads Content Credentials, IPTC and EXIF in your browser to show why a photo gets an “AI info” label, and strips private data without uploading.
AstroWebAssembly
View case study
Developer tools · 2026
Private PDF
Merge, split, compress, convert, watermark and protect PDFs entirely in the browser. Files are never uploaded, and the page cannot connect anywhere else.
AstroWebAssembly
View case study
Developer tools · 2026
Dev Tools
Fourteen browser-only developer utilities, from a JSON formatter and JWT decoder to regex, diff and cron tools. Nothing you paste is uploaded.
Astro
View case study