razzle-plugin-mdx

4.2.18 • Public • Published

razzle-plugin-mdx

This package contains a plugin for using mdx with Razzle

Usage in Razzle Projects

npm i razzle-plugin-mdx

or

yarn add razzle-plugin-mdx

Using the plugin with the default options

// razzle.config.js

module.exports = {
  plugins: ['mdx'],
};

Files with .md extension will be loaded as markdown and transpiled to html markup.

example:

import Document from './Document.md';

const Example = () => (<Document />);

With custom options:

// razzle.config.js
const images = require('remark-images');
const emoji = require('remark-emoji');

module.exports = {
  plugins: [
    {
      name: 'mdx',
      options: {
        remarkPlugins: [images, emoji],
      },
    },
  ],
};

Options

Check all the options here: mdx-js options.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.2.182latest
4.0.1-canary.150canary
3.4.50three
3.0.0-alpha.20next

Version History

VersionDownloads (Last 7 Days)Published
4.2.182
4.2.170
4.2.160
4.2.150
4.2.140
4.2.130
4.2.120
4.2.110
4.2.100
4.2.91
4.2.80
4.2.71
4.2.61
4.2.51
4.2.41
4.2.31
4.2.20
4.2.10
4.2.00
4.1.00
4.0.60
4.0.50
4.0.41
4.0.30
4.0.20
4.0.10
3.4.50
3.4.20
4.0.1-canary.150
4.0.1-canary.140
4.0.1-canary.130
4.0.1-canary.120
4.0.1-canary.110
4.0.1-canary.101
4.0.1-canary.90
4.0.1-canary.80
4.0.1-canary.70
4.0.1-canary.60
4.0.1-canary.50
4.0.1-canary.40
4.0.1-canary.30
4.0.1-canary.20
4.0.1-canary.10
4.0.1-canary.00
4.0.0-canary.500
4.0.0-canary.470
4.0.0-canary.460
4.0.0-canary.450
4.0.0-canary.440
4.0.0-canary.430
4.0.0-canary.420
4.0.0-canary.410
4.0.0-canary.400
4.0.0-canary.390
4.0.0-canary.380
3.3.130
3.3.120
4.0.0-canary.370
4.0.0-canary.360
4.0.0-canary.350
4.0.0-canary.340
4.0.0-canary.330
4.0.0-canary.320
4.0.0-canary.310
4.0.0-canary.300
4.0.0-canary.290
4.0.0-canary.280
4.0.0-canary.251
4.0.0-canary.240
4.0.0-canary.220
4.0.0-canary.210
4.0.0-canary.200
4.0.0-canary.190
4.0.0-canary.180
4.0.0-canary.170
3.3.110
4.0.0-canary.160
4.0.0-canary.150
3.3.100
4.0.0-canary.140
4.0.0-canary.120
4.0.0-canary.110
4.0.0-canary.100
3.3.90
4.0.0-canary.90
4.0.0-canary.80
3.3.80
4.0.0-canary.70
4.0.0-canary.60
4.0.0-canary.50
4.0.0-canary.40
4.0.0-canary.30
3.3.70
4.0.0-canary.20
3.3.60
3.3.50
4.0.0-canary.10
3.3.40
4.0.0-canary.00
3.3.30
3.3.20
3.3.10
3.3.01
3.3.0-canary.90
3.3.0-canary.80
3.3.0-canary.70
3.3.0-canary.60
3.1.80
3.3.0-canary.50
3.3.0-canary.20
3.3.0-canary.00
3.1.76
3.2.0-canary.40
3.2.0-canary.30
3.2.0-canary.20
3.2.0-canary.10
3.2.0-canary.00
3.1.60
3.1.51
3.1.40
3.1.30
3.1.20
3.1.10
3.1.00
3.1.0-canary.90
3.1.0-canary.80
3.1.0-canary.70
3.0.00
3.0.0-alpha.20
3.0.0-alpha.10
2.4.10
3.0.0-alpha.00
2.4.00

Package Sidebar

Install

npm i razzle-plugin-mdx

Weekly Downloads

19

Version

4.2.18

License

MIT

Unpacked Size

5.94 kB

Total Files

7

Last publish

Collaborators

  • jaredpalmer
  • razzle-bot