aboutsummaryrefslogtreecommitdiffstats
path: root/next.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/next.config.js b/next.config.js
index d620718..8227603 100644
--- a/next.config.js
+++ b/next.config.js
@@ -2,6 +2,7 @@ import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';
import bundleAnalyzer from '@next/bundle-analyzer';
import nextMDX from '@next/mdx';
+import rehypeSlug from 'rehype-slug';
const currentDir = dirname(fileURLToPath(import.meta.url));
@@ -164,7 +165,7 @@ const withMDX = nextMDX({
extension: /\.mdx?$/,
options: {
remarkPlugins: [],
- rehypePlugins: [],
+ rehypePlugins: [rehypeSlug],
},
});