@bevry/mdx v3.3.0-next.1700853447.fcca1c1c468a393a640fcfbbcf3d37c238479c40
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
Deno
import pkg from 'https://unpkg.com/@bevry/mdx@^3.3.0/edition-deno/index.ts'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