@bevry/mdx v2.11.0-next.1598783536.25379225eedcf4e9d73712dd4996f9f48f34eec3
MDX loader for Next.js
Usage
Create a next.config.js file with the following:
const { withMDX } = require('@bevry/mdx')
module.exports = withMDX(
{
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
target: 'serverless',
},
{
extension: /\.mdx?$/,
}
)Put your layouts in the layouts directory. The layout should accept a meta property with the metadata from the page.
docmatter is used to parse the document headers.
npm
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under:
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago