From 7941779451ae7a13b20f77be76df60b45fb6ddf2 Mon Sep 17 00:00:00 2001 From: Mathis HERRIOT <197931332+0x485254@users.noreply.github.com> Date: Mon, 5 Jan 2026 10:36:09 +0100 Subject: [PATCH] feat: integrate Mermaid component into MDX components for extended chart support --- documentation/src/mdx-components.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/documentation/src/mdx-components.tsx b/documentation/src/mdx-components.tsx index 3cf87db..99db069 100644 --- a/documentation/src/mdx-components.tsx +++ b/documentation/src/mdx-components.tsx @@ -1,9 +1,11 @@ import defaultMdxComponents from "fumadocs-ui/mdx"; import type { MDXComponents } from "mdx/types"; +import {Mermaid} from "@/components/mdx/mermaid"; export function getMDXComponents(components?: MDXComponents): MDXComponents { return { ...defaultMdxComponents, + Mermaid, ...components, }; }