diff --git a/website/docs/guides/markdown-features/markdown-features-react.mdx b/website/docs/guides/markdown-features/markdown-features-react.mdx index 5c6b8a5a904f..b7c76faacb88 100644 --- a/website/docs/guides/markdown-features/markdown-features-react.mdx +++ b/website/docs/guides/markdown-features/markdown-features-react.mdx @@ -200,6 +200,33 @@ We use lower-case tag names like `highlight` to "pretend" that they are intrinsi ::: +:::caution + +This feature is powered by [a wrapper provider](https://mdx-git-renovate-babel-monorepo-mdx.vercel.app/advanced/components#mdxprovider). If you are importing Markdown in a React page, you have to supply this provider yourself through the `MDXContent` theme component. + +```jsx title="src/pages/index.js" +import React from 'react'; +import FeatureDisplay from './_featureDisplay.mdx'; +// highlight-next-line +import MDXContent from '@theme/MDXContent'; + +export default function LandingPage() { + return ( +