@bevry/mdx v3.1.0-next.1700028341.187dd69b33f71eda8b381aa6f6231ae990617d7b
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