A Node.js CLI and library (v1.3.0) that converts annotated Markdown files into Fumadocs-compatible React/MDX components. Uses triple-colon (`:::`) annotation syntax for built-in components like callouts, tabs, steps, accordions, code blocks, files, and banners. Supports bidirectional conversion (Markdown ↔ MDX), watch mode, dry run, title/frontmatter auto-extraction, and custom component mappings. Requires Node >=16.0.0. Maintained by a single contributor; release cadence is irregular.
npm install fumadocs-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows ESM import and basic transpilation of a Markdown string with a callout annotation.
Use import instead of require(). Ensure package.json has "type": "module" or use .mjs extension.
Use exact syntax ':::callout{type="info"}' without spaces after colons.Add 'description: ...' directly in the Markdown frontmatter instead of CLI flag.
Set 'extractTitle: false' in options to preserve the heading.
Use --extension .mdx CLI flag to override, or update import statements in generated files.
Preview with --dry-run before applying reverse; manual adjustments may be needed.
Run 'npm install fumadocs-transpiler' in your project directory.
Use ':::callout{type="info"}' without spaces after colons.Use import { transpile } from 'fumadocs-transpiler'.Verify the directory exists and path is correct; use absolute paths if unsure.