From 5c1ce0137cd7a92d7f3e2a5bb1c8136a940c7b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Thu, 31 Oct 2024 11:23:59 +0100 Subject: [PATCH] docs: fix frontMatter.mdx.format docs (#10631) --- .../docs/guides/markdown-features/markdown-features-intro.mdx | 2 +- .../docs/guides/markdown-features/markdown-features-react.mdx | 2 +- .../guides/markdown-features/markdown-features-intro.mdx | 2 +- .../guides/markdown-features/markdown-features-react.mdx | 2 +- .../guides/markdown-features/markdown-features-intro.mdx | 2 +- .../guides/markdown-features/markdown-features-react.mdx | 2 +- .../guides/markdown-features/markdown-features-intro.mdx | 2 +- .../guides/markdown-features/markdown-features-react.mdx | 2 +- .../guides/markdown-features/markdown-features-intro.mdx | 2 +- .../guides/markdown-features/markdown-features-react.mdx | 2 +- .../guides/markdown-features/markdown-features-intro.mdx | 2 +- .../guides/markdown-features/markdown-features-react.mdx | 2 +- .../guides/markdown-features/markdown-features-intro.mdx | 2 +- .../guides/markdown-features/markdown-features-react.mdx | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/website/docs/guides/markdown-features/markdown-features-intro.mdx b/website/docs/guides/markdown-features/markdown-features-intro.mdx index 4fcaef5e32cf..84cd2c53add4 100644 --- a/website/docs/guides/markdown-features/markdown-features-intro.mdx +++ b/website/docs/guides/markdown-features/markdown-features-intro.mdx @@ -41,7 +41,7 @@ The MDX compiler supports [2 formats](https://mdxjs.com/packages/mdx/#optionsfor By default, **Docusaurus v3 uses the MDX format for all files** (including `.md` files) for historical reasons. -It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `format: md` front matter. +It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `mdx.format: md` front matter. :::tip how to use CommonMark diff --git a/website/docs/guides/markdown-features/markdown-features-react.mdx b/website/docs/guides/markdown-features/markdown-features-react.mdx index 0c63b0b3a966..dd9d0e0f5fba 100644 --- a/website/docs/guides/markdown-features/markdown-features-react.mdx +++ b/website/docs/guides/markdown-features/markdown-features-react.mdx @@ -248,7 +248,7 @@ Some valid CommonMark features won't work with MDX ([more info](https://mdxjs.co Docusaurus v3 makes it possible to opt-in for a less strict, standard [CommonMark](https://commonmark.org/) support with the following options: -- The `format: md` front matter +- The `mdx.format: md` front matter - The `.md` file extension combined with the `siteConfig.markdown.format: "detect"` configuration This feature is **experimental** and currently has a few [limitations](https://github.com/facebook/docusaurus/issues/9092). diff --git a/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-intro.mdx b/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-intro.mdx index 2ab48769c6ea..7b1e4d712eaf 100644 --- a/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-intro.mdx +++ b/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-intro.mdx @@ -41,7 +41,7 @@ The MDX compiler supports [2 formats](https://mdxjs.com/packages/mdx/#optionsfor By default, **Docusaurus v3 uses the MDX format for all files** (including `.md` files) for historical reasons. -It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `format: md` front matter. +It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `mdx.format: md` front matter. :::tip how to use CommonMark diff --git a/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-react.mdx b/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-react.mdx index 1aa05ba1734d..cccd1f9fcb75 100644 --- a/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-react.mdx +++ b/website/versioned_docs/version-3.0.1/guides/markdown-features/markdown-features-react.mdx @@ -242,7 +242,7 @@ Some valid CommonMark features won't work with MDX ([more info](https://mdxjs.co Docusaurus v3 makes it possible to opt-in for a less strict, standard [CommonMark](https://commonmark.org/) support with the following options: -- The `format: md` front matter +- The `mdx.format: md` front matter - The `.md` file extension combined with the `siteConfig.markdown.format: "detect"` configuration This feature is **experimental** and currently has a few [limitations](https://github.com/facebook/docusaurus/issues/9092). diff --git a/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-intro.mdx b/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-intro.mdx index 6ee7e68d86a8..5f5770063bb5 100644 --- a/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-intro.mdx +++ b/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-intro.mdx @@ -41,7 +41,7 @@ The MDX compiler supports [2 formats](https://mdxjs.com/packages/mdx/#optionsfor By default, **Docusaurus v3 uses the MDX format for all files** (including `.md` files) for historical reasons. -It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `format: md` front matter. +It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `mdx.format: md` front matter. :::tip how to use CommonMark diff --git a/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-react.mdx b/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-react.mdx index c5eeb237bc7d..bf1e105d4d8b 100644 --- a/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-react.mdx +++ b/website/versioned_docs/version-3.1.1/guides/markdown-features/markdown-features-react.mdx @@ -248,7 +248,7 @@ Some valid CommonMark features won't work with MDX ([more info](https://mdxjs.co Docusaurus v3 makes it possible to opt-in for a less strict, standard [CommonMark](https://commonmark.org/) support with the following options: -- The `format: md` front matter +- The `mdx.format: md` front matter - The `.md` file extension combined with the `siteConfig.markdown.format: "detect"` configuration This feature is **experimental** and currently has a few [limitations](https://github.com/facebook/docusaurus/issues/9092). diff --git a/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-intro.mdx b/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-intro.mdx index b6bcd756beff..89d3adbdcc54 100644 --- a/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-intro.mdx +++ b/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-intro.mdx @@ -41,7 +41,7 @@ The MDX compiler supports [2 formats](https://mdxjs.com/packages/mdx/#optionsfor By default, **Docusaurus v3 uses the MDX format for all files** (including `.md` files) for historical reasons. -It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `format: md` front matter. +It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `mdx.format: md` front matter. :::tip how to use CommonMark diff --git a/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-react.mdx b/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-react.mdx index 0dd4b6d32a27..2fd5194c6c17 100644 --- a/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-react.mdx +++ b/website/versioned_docs/version-3.2.1/guides/markdown-features/markdown-features-react.mdx @@ -248,7 +248,7 @@ Some valid CommonMark features won't work with MDX ([more info](https://mdxjs.co Docusaurus v3 makes it possible to opt-in for a less strict, standard [CommonMark](https://commonmark.org/) support with the following options: -- The `format: md` front matter +- The `mdx.format: md` front matter - The `.md` file extension combined with the `siteConfig.markdown.format: "detect"` configuration This feature is **experimental** and currently has a few [limitations](https://github.com/facebook/docusaurus/issues/9092). diff --git a/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-intro.mdx b/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-intro.mdx index 4fcaef5e32cf..84cd2c53add4 100644 --- a/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-intro.mdx +++ b/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-intro.mdx @@ -41,7 +41,7 @@ The MDX compiler supports [2 formats](https://mdxjs.com/packages/mdx/#optionsfor By default, **Docusaurus v3 uses the MDX format for all files** (including `.md` files) for historical reasons. -It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `format: md` front matter. +It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `mdx.format: md` front matter. :::tip how to use CommonMark diff --git a/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-react.mdx b/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-react.mdx index 0dd4b6d32a27..2fd5194c6c17 100644 --- a/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-react.mdx +++ b/website/versioned_docs/version-3.3.2/guides/markdown-features/markdown-features-react.mdx @@ -248,7 +248,7 @@ Some valid CommonMark features won't work with MDX ([more info](https://mdxjs.co Docusaurus v3 makes it possible to opt-in for a less strict, standard [CommonMark](https://commonmark.org/) support with the following options: -- The `format: md` front matter +- The `mdx.format: md` front matter - The `.md` file extension combined with the `siteConfig.markdown.format: "detect"` configuration This feature is **experimental** and currently has a few [limitations](https://github.com/facebook/docusaurus/issues/9092). diff --git a/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-intro.mdx b/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-intro.mdx index 4fcaef5e32cf..84cd2c53add4 100644 --- a/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-intro.mdx +++ b/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-intro.mdx @@ -41,7 +41,7 @@ The MDX compiler supports [2 formats](https://mdxjs.com/packages/mdx/#optionsfor By default, **Docusaurus v3 uses the MDX format for all files** (including `.md` files) for historical reasons. -It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `format: md` front matter. +It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `mdx.format: md` front matter. :::tip how to use CommonMark diff --git a/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-react.mdx b/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-react.mdx index 0dd4b6d32a27..2fd5194c6c17 100644 --- a/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-react.mdx +++ b/website/versioned_docs/version-3.4.0/guides/markdown-features/markdown-features-react.mdx @@ -248,7 +248,7 @@ Some valid CommonMark features won't work with MDX ([more info](https://mdxjs.co Docusaurus v3 makes it possible to opt-in for a less strict, standard [CommonMark](https://commonmark.org/) support with the following options: -- The `format: md` front matter +- The `mdx.format: md` front matter - The `.md` file extension combined with the `siteConfig.markdown.format: "detect"` configuration This feature is **experimental** and currently has a few [limitations](https://github.com/facebook/docusaurus/issues/9092). diff --git a/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-intro.mdx b/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-intro.mdx index 4fcaef5e32cf..84cd2c53add4 100644 --- a/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-intro.mdx +++ b/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-intro.mdx @@ -41,7 +41,7 @@ The MDX compiler supports [2 formats](https://mdxjs.com/packages/mdx/#optionsfor By default, **Docusaurus v3 uses the MDX format for all files** (including `.md` files) for historical reasons. -It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `format: md` front matter. +It is possible to **opt-in for CommonMark** using the [`siteConfig.markdown.format`](../../api/docusaurus.config.js.mdx#markdown) setting or the `mdx.format: md` front matter. :::tip how to use CommonMark diff --git a/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-react.mdx b/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-react.mdx index 0dd4b6d32a27..2fd5194c6c17 100644 --- a/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-react.mdx +++ b/website/versioned_docs/version-3.5.2/guides/markdown-features/markdown-features-react.mdx @@ -248,7 +248,7 @@ Some valid CommonMark features won't work with MDX ([more info](https://mdxjs.co Docusaurus v3 makes it possible to opt-in for a less strict, standard [CommonMark](https://commonmark.org/) support with the following options: -- The `format: md` front matter +- The `mdx.format: md` front matter - The `.md` file extension combined with the `siteConfig.markdown.format: "detect"` configuration This feature is **experimental** and currently has a few [limitations](https://github.com/facebook/docusaurus/issues/9092).