MDX-grade markdown
v0.2.0 makes gitcms a real home for MDX-flavored content. The editor now round-trips Mintlify components and unknown JSX without losing fidelity.
Highlights
- Remark-based MarkdownAdapter (#9) — replaces turndown. Round-trips through a real AST instead of HTML→regex, so frontmatter, tables, code fences, and embedded JSX survive intact.
- RawMdx fallback node (#10) — unknown JSX/MDX expressions render as opaque blocks in the editor and re-serialize byte-for-byte. No more silent content loss when opening a doc with components the editor doesn't know.
- Mintlify components as first-class tiptap nodes (#11) —
<Card>,<CardGroup>,<Note>,<Warning>,<Tip>,<Info>,<Check>,<Frame>,<Steps>,<Step>,<Tabs>,<Tab>,<Accordion>,<AccordionGroup>,<CodeGroup>,<ParamField>,<ResponseField>,<Expandable>get native tiptap schema + serializers. Edit them visually, save them clean.
Notes
- Migration is automatic — existing content opens fine, nothing to do.
- 135 files changed, +16.5k / −5.2k. No breaking config or env changes.
Thanks
Shipped by @ComputelessComputer.
Full changelog: v0.1.0...v0.2.0