Skip to content

Commit

Permalink
docs: recommend users to remove hast-util-is-element in migration to …
Browse files Browse the repository at this point in the history
…v3 (#10143)
  • Loading branch information
tats-u authored May 16, 2024
1 parent ef627f8 commit 562a0be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/migration/v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-3.3.2/migration/v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 562a0be

Please sign in to comment.