import nextra from 'nextra' const withNextra = nextra({ theme: 'nextra-theme-docs', themeConfig: './theme.config.jsx', latex: { renderer: 'katex', // options: { // macros: { // '\\RR': '\\mathbb{R}' // } // } } }) export default withNextra({ output: 'export', }) // If you have other Next.js configurations, you can pass them as the parameter: // export default withNextra({ /* other next.js config */ })