TipTap shell with Mermaid, KaTeX, callouts, comments.
A configured TipTap editor with the full extension set Dock ships: Mermaid blocks, KaTeX math, callouts, toggles, embeds, cross-refs, comment marks. Markdown-in / markdown-out via remark.
import { DocEditor } from "@/components/ui/doc-editor";
<DocEditor
initialMarkdown={"# Hello"}
onChange={(md) => save(md)}
remoteWriter={{ name: "Flint", color: "#BF5AF2" }}
/>components/ui/ folder. You own the code.