From 9d35c6bb2f55b74c0d46ecb5fc8f6fc2aaf3e139 Mon Sep 17 00:00:00 2001 From: n4n5 Date: Tue, 25 Nov 2025 03:20:34 +0100 Subject: [PATCH] Create web-component-in-mdx.mdx --- .../docs/recipes/web-component-in-mdx.mdx | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/content/docs/recipes/web-component-in-mdx.mdx diff --git a/src/content/docs/recipes/web-component-in-mdx.mdx b/src/content/docs/recipes/web-component-in-mdx.mdx new file mode 100644 index 0000000..18bf07e --- /dev/null +++ b/src/content/docs/recipes/web-component-in-mdx.mdx @@ -0,0 +1,22 @@ +--- +title: Using web components in MDX +astroRange: ^4.0.0 +--- + +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 ` + + +```