@docusaurus/mdx-loader
Docusaurus Loader for MDX
Last updated 2 years ago by slorber .
MIT · Repository · Bugs · Original npm
$ cnpm install @docusaurus/mdx-loader 
SYNC missed versions from official npm registry.

@docusaurus/mdx-loader

Docusaurus webpack loader for MDX.

Installation

yarn add @docusaurus/mdx-loader

Usage

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

Options

rehypePlugins

Array of rehype plugins to manipulate the MDXHAST

remarkPlugins

Array of remark plugins to manipulate the MDXAST

metadataPath

A function to provide the metadataPath depending on current loaded MDX path that will be exported as the MDX metadata.

Current Tags

  • 0.0.0-5539                                ...           canary (2 years ago)
  • 2.4.0                                ...           latest (2 years ago)

17 Versions

  • 0.0.0-5539                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 0.0.0-5507                                ...           2 years ago
  • 2.0.0-beta.17                                ...           3 years ago
  • 0.0.0-5500                                ...           2 years ago
  • 2.3.1                                ...           3 years ago
  • 0.0.0-5345                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 0.0.0-5239                                ...           3 years ago
  • 0.0.0-5245                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 0.0.0-5214                                ...           3 years ago
  • 2.0.0-rc.1                                ...           3 years ago
  • 2.0.0-beta.21                                ...           3 years ago
  • 0.0.0-5107                                ...           3 years ago
  • 0.0.0-5049                                ...           3 years ago
  • 2.0.0-beta.20                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (17)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org