mirror of
https://github.com/luxfi/node.git
synced 2026-07-27 03:39:39 +00:00
28 lines
494 B
TypeScript
28 lines
494 B
TypeScript
import {
|
|
defineConfig,
|
|
defineDocs,
|
|
} from "fumadocs-mdx/config"
|
|
import rehypePrettyCode from "rehype-pretty-code"
|
|
|
|
export default defineConfig({
|
|
mdxOptions: {
|
|
rehypePlugins: [
|
|
[
|
|
rehypePrettyCode,
|
|
{
|
|
theme: {
|
|
dark: "github-dark-dimmed",
|
|
light: "github-light",
|
|
},
|
|
keepBackground: false,
|
|
defaultLang: "go",
|
|
},
|
|
],
|
|
],
|
|
},
|
|
})
|
|
|
|
export const docs = defineDocs({
|
|
dir: "content/docs",
|
|
})
|