Skip to content

Commit a54f52a

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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docusaurus.config.js

+8
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)