` tags. +In MDX v3, it is now possible to interleave JSX and Markdown more easily without requiring extra line breaks. Writing content on multiple lines can also produce new expected `
` tags. :::danger visual difference -See how this content is rendered differently by MDX v1 and v2. +See how this content is rendered differently by MDX v1 and v3. ```md title="example.md"
Some Markdown content
{'### Hello World \u007B#my-explicit-id}\n'}
+```
+
+This syntax is now invalid MDX, and would require to escape the `{` character: `\{#my-explicit-id}`.
+
+We recommend to keep this compatibility option on for now, until we provide a new syntax compatible with newer versions of MDX.
+
## Ask For Help
In case of any upgrade problem, the first things to try are:
-- make sure all your docs compile in the [MDX v2 playground](https://mdxjs.com/playground/), or using [`npx docusaurus-mdx-checker`](https://github.com/slorber/docusaurus-mdx-checker)
+- make sure all your docs compile in the [MDX playground](https://mdxjs.com/playground/), or using [`npx docusaurus-mdx-checker`](https://github.com/slorber/docusaurus-mdx-checker)
- delete `node_modules` and run `npm install` again
- run `docusaurus clear` to clear the caches
- remove third-party plugins that might not support Docusaurus v3
@@ -814,9 +904,9 @@ Once you have tried that, you can ask for support through the following support
- [Docusaurus v3 - Upgrade Support](https://github.com/facebook/docusaurus/discussions/9336)
- [Docusaurus v3 - Discord channel #migration-v2-to-v3](https://discord.com/channels/398180168688074762/1154771869094912090)
-- [MDX v2 - Upgrade Support](https://github.com/facebook/docusaurus/discussions/9053)
-- [MDX v2 - Remark/Rehype Plugins Support](https://github.com/facebook/docusaurus/discussions/9337)
-- [MDX v2 - Discord channel #migration-mdx-v2](https://discord.com/channels/398180168688074762/1116724556976111616)
+- [MDX v3 - Upgrade Support](https://github.com/facebook/docusaurus/discussions/9053)
+- [MDX v3 - Remark/Rehype Plugins Support](https://github.com/facebook/docusaurus/discussions/9337)
+- [MDX v3 - Discord channel #migration-mdx-v3](https://discord.com/channels/398180168688074762/1116724556976111616)
Please consider **our time is precious**. To ensure that your support request is not ignored, we kindly ask you to:
diff --git a/website/versioned_docs/version-3.0.0-rc.0/playground.mdx b/website/versioned_docs/version-3.0.0-rc.1/playground.mdx
similarity index 100%
rename from website/versioned_docs/version-3.0.0-rc.0/playground.mdx
rename to website/versioned_docs/version-3.0.0-rc.1/playground.mdx
diff --git a/website/versioned_docs/version-3.0.0-rc.0/search.mdx b/website/versioned_docs/version-3.0.0-rc.1/search.mdx
similarity index 100%
rename from website/versioned_docs/version-3.0.0-rc.0/search.mdx
rename to website/versioned_docs/version-3.0.0-rc.1/search.mdx
diff --git a/website/versioned_docs/version-3.0.0-rc.0/seo.mdx b/website/versioned_docs/version-3.0.0-rc.1/seo.mdx
similarity index 100%
rename from website/versioned_docs/version-3.0.0-rc.0/seo.mdx
rename to website/versioned_docs/version-3.0.0-rc.1/seo.mdx
diff --git a/website/versioned_docs/version-3.0.0-rc.0/static-assets.mdx b/website/versioned_docs/version-3.0.0-rc.1/static-assets.mdx
similarity index 100%
rename from website/versioned_docs/version-3.0.0-rc.0/static-assets.mdx
rename to website/versioned_docs/version-3.0.0-rc.1/static-assets.mdx
diff --git a/website/versioned_docs/version-3.0.0-rc.0/styling-layout.mdx b/website/versioned_docs/version-3.0.0-rc.1/styling-layout.mdx
similarity index 100%
rename from website/versioned_docs/version-3.0.0-rc.0/styling-layout.mdx
rename to website/versioned_docs/version-3.0.0-rc.1/styling-layout.mdx
diff --git a/website/versioned_docs/version-3.0.0-rc.0/swizzling.mdx b/website/versioned_docs/version-3.0.0-rc.1/swizzling.mdx
similarity index 100%
rename from website/versioned_docs/version-3.0.0-rc.0/swizzling.mdx
rename to website/versioned_docs/version-3.0.0-rc.1/swizzling.mdx
diff --git a/website/versioned_docs/version-3.0.0-rc.0/typescript-support.mdx b/website/versioned_docs/version-3.0.0-rc.1/typescript-support.mdx
similarity index 100%
rename from website/versioned_docs/version-3.0.0-rc.0/typescript-support.mdx
rename to website/versioned_docs/version-3.0.0-rc.1/typescript-support.mdx
diff --git a/website/versioned_docs/version-3.0.0-rc.0/using-plugins.mdx b/website/versioned_docs/version-3.0.0-rc.1/using-plugins.mdx
similarity index 100%
rename from website/versioned_docs/version-3.0.0-rc.0/using-plugins.mdx
rename to website/versioned_docs/version-3.0.0-rc.1/using-plugins.mdx
diff --git a/website/versioned_sidebars/version-3.0.0-rc.0-sidebars.json b/website/versioned_sidebars/version-3.0.0-rc.1-sidebars.json
similarity index 100%
rename from website/versioned_sidebars/version-3.0.0-rc.0-sidebars.json
rename to website/versioned_sidebars/version-3.0.0-rc.1-sidebars.json
diff --git a/website/versions.json b/website/versions.json
index 7c5ed9953e..a5a0c48297 100644
--- a/website/versions.json
+++ b/website/versions.json
@@ -1,5 +1,5 @@
[
- "3.0.0-rc.0",
+ "3.0.0-rc.1",
"2.4.3",
"2.3.1",
"2.2.0",