← all repositories
do-md/domd

A 30 KB WYSIWYG engine that edits Markdown, not HTML

It exists so you can edit Markdown directly instead of round-tripping through HTML, even when AI streams, collaborators go offline, or the file hits 20,000 lines.

540 stars TypeScript Coding AssistantsApp Builders
domd
Collecting fresh signals — velocity needs a few days of history.
star history

What it does

DOMD is a WYSIWYG Markdown editor and a reusable React kernel, @do-md/core-react, that treats the Markdown document itself as the editing source of truth. Instead of leaning on ProseMirror, Slate, or Lexical, it runs a from-scratch engine that parses, renders, and edits Markdown directly. The same kernel powers a local-first macOS app, a web editor, and an agent-friendly CLI surface that can stream content and rewrite selections.

The interesting bit

The kernel is CRDT-agnostic but can optionally plug into Yjs for conflict-free merging at sub-paragraph granularity, meaning two offline devices can edit the same sentence without last-write-wins carnage. It also exposes inline syntax as a first-class extension point via Pandoc-style attribute grammar, so you can bind arbitrary React components to custom delimiters without forking the parser.

Key highlights

  • 30+ KB Brotli-compressed runtime with only React and Immer as dependencies.
  • Handles live AI streaming mid-token—open fences, half-built tables, and partial lists render without flicker through 20,000-line documents.
  • Optional Yjs adapter for real-time multi-editor sync, remote cursor presence, and offline paragraph-level merging.
  • Extensible inline variants let you attach semantic types and live React components to custom Markdown delimiters.
  • Native macOS app with Quick Look support, a local-first web editor, and a CLI for agent automation.

Caveats

  • Windows native builds are not currently supported.
  • The kernel is GPL-3.0 with small-entity and FOSS linking exceptions; shipping it in a larger proprietary product requires a commercial license.
  • Kernel versions up to 0.10.0 were published under a non-commercial license, so legacy installs may need a license audit.

Verdict

Developers building AI chat interfaces, collaborative workspaces, or local-first editors should look here; teams wanting a drop-in Notion clone or a battle-tested general-purpose rich-text framework will find it too opinionated and too fresh.

Frequently asked

What is do-md/domd?
It exists so you can edit Markdown directly instead of round-tripping through HTML, even when AI streams, collaborators go offline, or the file hits 20,000 lines.
Is domd open source?
Yes — do-md/domd is an open-source project tracked on heatdrop.
What language is domd written in?
do-md/domd is primarily written in TypeScript.
How popular is domd?
do-md/domd has 540 stars on GitHub.
Where can I find domd?
do-md/domd is on GitHub at https://github.com/do-md/domd.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.