Skip to content

Commit

Permalink
chore(gatsby-plugin-mdx): Add comment why rehype-slug is required (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
justinyaodu committed Jun 28, 2021
1 parent 31828e4 commit 3f3d5c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-plugin-mdx/README.md
Expand Up @@ -405,6 +405,7 @@ module.exports = {
resolve: `gatsby-plugin-mdx`,
options: {
rehypePlugins: [
// Generate heading ids for rehype-autolink-headings
require("rehype-slug"),
// To pass options, use a 2-element array with the
// configuration in an object in the second element
Expand Down

0 comments on commit 3f3d5c8

Please sign in to comment.