Reference
Single npm package markloom with multiple entrypoints.
| Import | Contents |
|---|---|
markloom | Tree, Steps, history, MD, AI helpers, stats, TOC, comments model, OT rebase helpers |
markloom/view | Editor, kit, extensions surface |
markloom/ai | AI controller + stream helpers |
markloom/collab | WebSocket OT client + protocol types |
markloom/react | Optional React wrapper |
markloom/view/theme.css | Editor chrome + content styles |
markloom/ai/theme.css | AI draft / chrome styles |
Preact, @floating-ui/dom, unified/mdast GFM stack, PhotoSwipe. No ProseMirror / Tiptap.
| Optional peer | When |
|---|---|
react ≥ 18 | Only if you use markloom/react |
Collab Durable Object lives in the repo under worker/.
Deploy with wrangler; point the client collab.url at that host.
Current published line: 0.5.1 · MIT · npmjs.com/package/markloom