2.12.0-next.1603625699.db5618625883d1d6bf557f9ec802235037d9169b • Published 5 years ago

@bevry/mdx v2.12.0-next.1603625699.db5618625883d1d6bf557f9ec802235037d9169b

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

MDX loader for Next.js

Usage

Complete API Documentation.

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:

3.6.0

2 years ago

3.5.0

2 years ago

3.4.0

2 years ago

3.3.0

2 years ago

3.2.0

2 years ago

2.17.0

2 years ago

3.0.0

2 years ago

3.1.0

2 years ago

2.15.0

4 years ago

2.16.0

4 years ago

2.14.0

4 years ago

2.13.0

5 years ago

2.12.0

5 years ago

2.11.0

5 years ago

2.10.0

5 years ago

2.9.0

5 years ago

2.8.0

5 years ago

2.7.0

5 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.3.0

5 years ago

2.4.0

5 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago