Skip to content

Commit

Permalink
fix bad path
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 31, 2023
1 parent 0b3be15 commit 2121b71
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ MDX v3 is much better, but also comes with changes that probably require you to

Upgrading MDX comes with all the breaking changes documented on the [MDX v2](https://mdxjs.com/blog/v2/) and [MDX v3](https://mdxjs.com/blog/v3/) release blog posts. Most breaking changes come from MDX v2. The [MDX v2 migration guide](https://mdxjs.com/migrating/v2/) has a section on how to [update MDX files](https://mdxjs.com/migrating/v2/#update-mdx-files) that will be particularly relevant to us. Also make sure to read the [Troubleshooting MDX](https://mdxjs.com/docs/troubleshooting-mdx/) page that can help you interpret common MDX error messages.

Make sure to also read our updated [**MDX and React**](/docs/3.0.0-rc.1/markdown-features/react) documentation page.
Make sure to also read our updated [**MDX and React**](/docs/3.0.0/markdown-features/react) documentation page.

:::tip Ask for help

Expand Down Expand Up @@ -214,14 +214,14 @@ http://localhost:3000

#### Lower-case MDXComponent mapping

For users providing a [custom `MDXComponent`mapping](/docs/3.0.0-rc.1/markdown-features/react#mdx-component-scope), components are now "sandboxed":
For users providing a [custom `MDXComponent`mapping](/docs/3.0.0/markdown-features/react#mdx-component-scope), components are now "sandboxed":

- a `MDXComponent` mapping for `h1` only gets used for `# hi` but not for `<h1>hi</h1>`
- a **lower-cased** custom element name will not be substituted by its respective `MDXComponent` component anymore

:::danger visual difference

Your [`MDXComponent` component mapping](/docs/3.0.0-rc.1/markdown-features/react#mdx-component-scope) might not be applied as before, and your custom components might no longer be used.
Your [`MDXComponent` component mapping](/docs/3.0.0/markdown-features/react#mdx-component-scope) might not be applied as before, and your custom components might no longer be used.

:::

Expand Down

0 comments on commit 2121b71

Please sign in to comment.