Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore(gatsby-plugin-mdx): Document CommonMark option (#30669)
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
  • Loading branch information
kennethormandy and gatsbybot committed Apr 20, 2021
1 parent 07ae70d commit 463047d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/gatsby-plugin-mdx/README.md
Expand Up @@ -128,6 +128,7 @@ scope, and more.
| [`rehypePlugins`](#rehype-plugins) | `[]` | Specify rehype plugins |
| [`mediaTypes`](#media-types) | `["text/markdown", "text/x-markdown"]` | Determine which media types are processed by MDX |
| [`shouldBlockNodeFromTransformation`](#shouldblocknodefromtransformation) | `(node) => false` | Disable MDX transformation for nodes where this function returns true |
| [`commonmark`](#commonmark) | `false` | Use CommonMark |

#### Extensions

Expand Down Expand Up @@ -466,6 +467,10 @@ module.exports = {
}
```

#### CommonMark

MDX will be parsed using CommonMark.

### Components

MDX and `gatsby-plugin-mdx` use components for different things like rendering
Expand Down

0 comments on commit 463047d

Please sign in to comment.