Skip to content

Commit 168c6e2

Browse files
committed
Reformat code in the mdx config
1 parent 019b188 commit 168c6e2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

next.mdx.mjs

+1-6
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@ export const NEXT_REHYPE_PLUGINS = [
1717
// Generates `id` attributes for headings (H1, ...)
1818
rehypeSlug,
1919
// Automatically add anchor links to headings (H1, ...)
20-
[
21-
rehypeAutolinkHeadings,
22-
{
23-
behavior: 'wrap',
24-
},
25-
],
20+
[rehypeAutolinkHeadings, { behavior: 'wrap' }],
2621
// Transforms sequential code elements into code tabs and
2722
// adds our syntax highlighter (Shikiji) to Codeboxes
2823
rehypeShikiji,

0 commit comments

Comments
 (0)