switch to shiki for syntax highlighting

This commit is contained in:
2025-03-15 21:19:57 -04:00
parent bc65285c08
commit 7c4144a1e7
32 changed files with 577 additions and 482 deletions
+13 -1
View File
@@ -143,7 +143,19 @@ const withMDX = createMDX({
rehypePlugins: [
mdxPlugins.rehypeUnwrapImages,
mdxPlugins.rehypeSlug,
[mdxPlugins.rehypePrism, { ignoreMissing: true }],
[
mdxPlugins.rehypePrettyCode,
{
theme: {
light: "material-theme-lighter",
dark: "material-theme-darker",
},
bypassInlineCode: true,
defaultLang: "plaintext",
grid: false,
keepBackground: false,
},
],
mdxPlugins.rehypeMdxImportMedia,
],
},