Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@docusaurus/mdx-loader

2.0.0-alpha.37 • Public • Published

@docusaurus/mdx-loader

Docusaurus webpack loader of MDX

Installation

yarn add @docusaurus/mdx-loader

Usage

 
// ...
module: {
  rules: [
    // ...
    {
      test: /\.mdx?$/,
      use: [
        'babel-loader',
        {
            loader: '@docuaurus/mdx-loader',
            options: {
                // .. See options
            }
        }
      ]
    }
  ]
}

Options

rehypePlugins

Array of rehype plugins to manipulate the MDXHAST

remarkPlugins

Array of remark plugins to manipulate the MDXAST

Keywords

none

Install

npm i @docusaurus/mdx-loader

DownloadsWeekly Downloads

16,893

Version

2.0.0-alpha.37

License

MIT

Unpacked Size

12.7 kB

Total Files

14

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar