Integrations
Mermaid
Rendering diagrams in your docs
Fumadocs doesn't have a built-in Mermaid wrapper provided, we recommend using mermaid
directly.
Setup
Install the required dependencies, next-themes
is used with Fumadocs to manage the light/dark mode.
Create the Mermaid component:
This is originally inspired by remark-mermaid.
Add the component as a MDX component:
Usage
Use it in MDX files.
How is this guide?