From 76c90344341b39c8d0415155f34b21c8ba574356 Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Thu, 7 Nov 2024 16:54:00 +0100 Subject: [PATCH 1/2] Correct reason for Turbopack incompat, remove inaccurate "good to know" - https://github.com/vercel/next.js/pull/72241#discussion_r1832894901 --- .../02-building-your-application/07-configuring/05-mdx.mdx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/01-app/02-building-your-application/07-configuring/05-mdx.mdx b/docs/01-app/02-building-your-application/07-configuring/05-mdx.mdx index ee92ec47f76e9..9174b96dddcda 100644 --- a/docs/01-app/02-building-your-application/07-configuring/05-mdx.mdx +++ b/docs/01-app/02-building-your-application/07-configuring/05-mdx.mdx @@ -649,7 +649,7 @@ export default withMDX(nextConfig) > **Good to know**: > -> remark and rehype plugins cannot be used with [Turbopack](/docs/architecture/turbopack), due to lack of plugins support in [`mdxRs`](#using-the-rust-based-mdx-compiler-experimental) +> remark and rehype plugins cannot be used with [Turbopack](/docs/architecture/turbopack), due to [inability to pass JavaScript functions to Rust](https://github.com/vercel/next.js/issues/71819#issuecomment-2461802968) ## Remote MDX @@ -786,10 +786,6 @@ module.exports = withMDX({ }) ``` -> **Good to know**: -> -> This option is required when processing markdown and MDX while using [Turbopack](/docs/architecture/turbopack) (`next dev --turbopack`). - ## Helpful Links - [MDX](https://mdxjs.com) From c4898912ccc47805f97615856a82b914a622dc6a Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Thu, 7 Nov 2024 17:03:39 +0100 Subject: [PATCH 2/2] Update docs/01-app/02-building-your-application/07-configuring/05-mdx.mdx Co-authored-by: Tim Neutkens --- .../02-building-your-application/07-configuring/05-mdx.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/01-app/02-building-your-application/07-configuring/05-mdx.mdx b/docs/01-app/02-building-your-application/07-configuring/05-mdx.mdx index 9174b96dddcda..b0e5498a23973 100644 --- a/docs/01-app/02-building-your-application/07-configuring/05-mdx.mdx +++ b/docs/01-app/02-building-your-application/07-configuring/05-mdx.mdx @@ -649,7 +649,7 @@ export default withMDX(nextConfig) > **Good to know**: > -> remark and rehype plugins cannot be used with [Turbopack](/docs/architecture/turbopack), due to [inability to pass JavaScript functions to Rust](https://github.com/vercel/next.js/issues/71819#issuecomment-2461802968) +> remark and rehype plugins cannot be used with [Turbopack](/docs/architecture/turbopack) yet, due to [inability to pass JavaScript functions to Rust](https://github.com/vercel/next.js/issues/71819#issuecomment-2461802968) ## Remote MDX