We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 019b188 commit 168c6e2Copy full SHA for 168c6e2
next.mdx.mjs
@@ -17,12 +17,7 @@ export const NEXT_REHYPE_PLUGINS = [
17
// Generates `id` attributes for headings (H1, ...)
18
rehypeSlug,
19
// Automatically add anchor links to headings (H1, ...)
20
- [
21
- rehypeAutolinkHeadings,
22
- {
23
- behavior: 'wrap',
24
- },
25
- ],
+ [rehypeAutolinkHeadings, { behavior: 'wrap' }],
26
// Transforms sequential code elements into code tabs and
27
// adds our syntax highlighter (Shikiji) to Codeboxes
28
rehypeShikiji,
0 commit comments