razzle-plugin-mdx

    4.1.0 • 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'],
    };

    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.

    Keywords

    none

    Install

    npm i razzle-plugin-mdx

    DownloadsWeekly Downloads

    122

    Version

    4.1.0

    License

    MIT

    Unpacked Size

    5.61 kB

    Total Files

    7

    Last publish

    Collaborators

    • jaredpalmer
    • razzle-bot