mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
20 lines
472 B
TypeScript
20 lines
472 B
TypeScript
import {rehypeCodeDefaultOptions} from "fumadocs-core/mdx-plugins";
|
|
import {defineConfig, defineDocs} from "fumadocs-mdx/config";
|
|
|
|
export const docs = defineDocs({
|
|
dir: "content/docs",
|
|
});
|
|
|
|
export default defineConfig({
|
|
mdxOptions: {
|
|
providerImportSource: "@/mdx-components",
|
|
rehypeCodeOptions: {
|
|
...rehypeCodeDefaultOptions,
|
|
// Preserve meta strings in the output
|
|
// meta: true,
|
|
},
|
|
rehypePlugins: [],
|
|
remarkPlugins: [],
|
|
},
|
|
});
|