diff --git a/src/content/docs/en/guides/integrations-guide/mdx.mdx b/src/content/docs/en/guides/integrations-guide/mdx.mdx index 4c22f7f412575..ef8ef9e936b3e 100644 --- a/src/content/docs/en/guides/integrations-guide/mdx.mdx +++ b/src/content/docs/en/guides/integrations-guide/mdx.mdx @@ -318,6 +318,31 @@ export default defineConfig({ }); ``` +#### Using recma plugins + +
@@ -379,6 +404,12 @@ export default defineConfig({ ### `recmaPlugins` +:::caution[Deprecated] +This option is deprecated and will be removed in a future major version. Pass `recmaPlugins` to the configured [`processor`](#processor) instead. + +Learn more about [using recma plugins](#using-recma-plugins). +::: +
**Type:** `PluggableList`
diff --git a/src/content/docs/en/guides/markdown-content.mdx b/src/content/docs/en/guides/markdown-content.mdx
index f827adb837804..990d131d72acf 100644
--- a/src/content/docs/en/guides/markdown-content.mdx
+++ b/src/content/docs/en/guides/markdown-content.mdx
@@ -232,7 +232,7 @@ Sätteri is the default Markdown processor since Astro v7. Use it when:
#### When to use Unified
Unified is the processor used by older versions of Astro. Use it when:
-- You want to take advantage of its large ecosystem of [remark](https://remark.js.org/) or [rehype](https://github.com/rehypejs/rehype) plugins, or you need [recma plugins in your MDX files](/en/guides/integrations-guide/mdx/#recmaplugins).
+- You want to take advantage of its large ecosystem of [remark](https://remark.js.org/) or [rehype](https://github.com/rehypejs/rehype) plugins, or you need [recma plugins in your MDX files](/en/guides/integrations-guide/mdx/#using-recma-plugins).
- You are not ready to port your existing Unified plugins to Sätteri.
### Setting up a Markdown processor