Skip to content

Commit 3f3d5c8

Browse files
authored
chore(gatsby-plugin-mdx): Add comment why rehype-slug is required (#32128)
1 parent 31828e4 commit 3f3d5c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/gatsby-plugin-mdx/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ module.exports = {
405405
resolve: `gatsby-plugin-mdx`,
406406
options: {
407407
rehypePlugins: [
408+
// Generate heading ids for rehype-autolink-headings
408409
require("rehype-slug"),
409410
// To pass options, use a 2-element array with the
410411
// configuration in an object in the second element

0 commit comments

Comments
 (0)