From 0c7605c8da00eb4c639dade8ee5cf44047e01bc8 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Mon, 15 Apr 2024 12:48:37 +0200 Subject: [PATCH] Add `rehype-mdx-import-media` to list of plugins Closes GH-2472. Reviewed-by: Titus Wormer --- docs/docs/extending-mdx.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/extending-mdx.mdx b/docs/docs/extending-mdx.mdx index 3081a3887..3ceae4984 100644 --- a/docs/docs/extending-mdx.mdx +++ b/docs/docs/extending-mdx.mdx @@ -86,14 +86,14 @@ See also the [list of remark plugins][remark-plugins] and exposing top level identifiers in Next.js * [`remcohaszing/rehype-mdx-code-props`](https://github.com/remcohaszing/rehype-mdx-code-props) — interpret the code `meta` field as JSX props +* [`remcohaszing/rehype-mdx-import-media`](https://github.com/remcohaszing/rehype-mdx-import-media) + — change media sources to JavaScript imports * [`remcohaszing/rehype-mdx-title`](https://github.com/remcohaszing/rehype-mdx-title) — expose the page title as a string * [`pangelani/remark-mdx-chartjs`](https://github.com/pangelani/remark-mdx-chartjs) — replace fenced code blocks with charts using [`react-chartjs-2`](https://react-chartjs-2.js.org/). * [`remcohaszing/remark-mdx-frontmatter`](https://github.com/remcohaszing/remark-mdx-frontmatter) — change frontmatter (YAML) metadata to exports -* [`remcohaszing/remark-mdx-images`](https://github.com/remcohaszing/remark-mdx-images) - — change image sources to JavaScript imports * [`goodproblems/remark-mdx-math-enhanced`](https://github.com/goodproblems/remark-mdx-math-enhanced) — enhance math with JavaScript inside it