docs: recommend users to remove hast-util-is-element in migration to v3 (#10143)

This commit is contained in:
Tatsunori Uchino 2024-05-17 01:29:14 +09:00 committed by GitHub
parent ef627f813b
commit 562a0be392
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -916,6 +916,8 @@ Make sure to use `remark-math 6` and `rehype-katex 7` for Docusaurus v3 (using M
}
```
`hast-util-is-element` is now unnecessary in Docusaurus v3. If you have installed it and don't use it somewhere else, you can just remove it by running `npm uninstall hast-util-is-element`.
### Turn off MDX v1 compat
Docusaurus v3 comes with [MDX v1 compatibility options](../api/docusaurus.config.js.mdx#markdown), that are turned on by default.