Skip to content

Commit 433d082

Browse files
committed
chore: partially disable MDX v1 compat
See <https://docusaurus.io/docs/migration/v3#turn-off-mdx-v1-compat>
1 parent 9dc4d42 commit 433d082

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docusaurus.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ export default {
2626
locales: ['en', 'zh-Hans'],
2727
},
2828

29+
markdown: {
30+
mdx1Compat: {
31+
comments: false,
32+
admonitions: false,
33+
headingIds: true,
34+
},
35+
},
36+
2937
presets: [
3038
[
3139
'classic',

0 commit comments

Comments
 (0)