Skip to content

Commit

Permalink
get mdx working
Browse files Browse the repository at this point in the history
  • Loading branch information
kienankb committed Jan 30, 2022
1 parent 1d500af commit 9385317
Show file tree
Hide file tree
Showing 4 changed files with 2,324 additions and 51 deletions.
17 changes: 11 additions & 6 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
}

module.exports = nextConfig
const withMDX = require('@next/mdx')({
extension: /\.mdx?$/,
options: {
remarkPlugins: [],
rehypePlugins: [],
reactStrictMode: true,
},
})
module.exports = withMDX({
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
})
Loading

0 comments on commit 9385317

Please sign in to comment.