We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 458d82f commit bc2b6acCopy full SHA for bc2b6ac
examples/nextra/next.config.js
@@ -0,0 +1,12 @@
1
+const { remarkCodeHike } = require("@code-hike/mdx")
2
+const theme = require("shiki/themes/material-palenight.json")
3
+
4
+const withNextra = require("nextra")({
5
+ theme: "nextra-theme-docs",
6
+ themeConfig: "./theme.config.mjs",
7
+ mdxOptions: {
8
+ remarkPlugins: [[remarkCodeHike, { theme }]],
9
+ },
10
+})
11
12
+module.exports = withNextra()
examples/nextra/next.config.mjs
0 commit comments