update README example

This commit is contained in:
sup39 2022-11-05 21:49:38 +09:00
parent 034ade8929
commit 542185ad19

View file

@ -41,10 +41,10 @@ const withMDX = require('@next/mdx')({
extension: /\.mdx?$/,
options: {
rehypePlugins: [
() => ExportHeadings({
[ExportHeadings, {
tags: ['h2', 'h3'],
name: 'labels',
}),
}],
],
},
});
@ -63,10 +63,10 @@ const withMDX = mdx({
extension: /\.mdx?$/,
options: {
rehypePlugins: [
() => ExportHeadings({
[ExportHeadings, {
tags: ['h2', 'h3'],
name: 'labels',
}),
}],
],
},
});