diff --git a/src/content/docs/en/guides/integrations-guide/mdx.mdx b/src/content/docs/en/guides/integrations-guide/mdx.mdx index 8848e087aa998..4d0a1a428ac2a 100644 --- a/src/content/docs/en/guides/integrations-guide/mdx.mdx +++ b/src/content/docs/en/guides/integrations-guide/mdx.mdx @@ -247,6 +247,24 @@ const { Content } = await render(entry); ``` +### Using web components in MDX + +If you have a web component defined in a separate JavaScript file, you can include it in your MDX file by importing the script and adding a ` + + +``` + ## Configuration Once the MDX integration is installed, no configuration is necessary to use `.mdx` files in your Astro project.