You've already forked mangowm.github.io
mirror of
https://github.com/mangowm/mangowm.github.io.git
synced 2026-05-02 14:27:46 -07:00
36 lines
533 B
TypeScript
36 lines
533 B
TypeScript
import { defineConfig, defineDocs } from "fumadocs-mdx/config";
|
|
|
|
export const docs = defineDocs({
|
|
dir: "content/docs",
|
|
docs: {
|
|
postprocess: {
|
|
includeProcessedMarkdown: true,
|
|
extractLinkReferences: true,
|
|
},
|
|
async: true,
|
|
},
|
|
});
|
|
|
|
export default defineConfig({
|
|
mdxOptions: {
|
|
rehypeCodeOptions: {
|
|
langs: [
|
|
"ts",
|
|
"js",
|
|
"html",
|
|
"tsx",
|
|
"mdx",
|
|
"ini",
|
|
"bash",
|
|
"nix",
|
|
"jsonc",
|
|
"css",
|
|
],
|
|
themes: {
|
|
light: "catppuccin-latte",
|
|
dark: "catppuccin-mocha",
|
|
},
|
|
},
|
|
},
|
|
});
|