From 6c7f2fde20b2448a1b966dd5f674205c0a08eeba Mon Sep 17 00:00:00 2001 From: Tatsunori Uchino Date: Tue, 28 May 2024 02:24:14 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20suggest=20using=20`{<...>...}`=20?= =?UTF-8?q?if=20don't=20use=20Markdown=20in=20migra=E2=80=A6=20(#10167)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/docs/migration/v3.mdx | 13 +++++++++++++ .../versioned_docs/version-3.3.2/migration/v3.mdx | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/website/docs/migration/v3.mdx b/website/docs/migration/v3.mdx index b3f4cad270..fc2e2e7e31 100644 --- a/website/docs/migration/v3.mdx +++ b/website/docs/migration/v3.mdx @@ -357,6 +357,19 @@ If you don't want an extra `

` tag, refactor content on a case by case basis t ``` +You can also wrap such content with `{` and `}` to avoid extra `

` tags if you don't intend to use Markdown syntax there yet. + +```diff +-

++{
+ My alt +
+ My image caption +
+-
++
} +``` + ::: #### Unintended usage of directives diff --git a/website/versioned_docs/version-3.3.2/migration/v3.mdx b/website/versioned_docs/version-3.3.2/migration/v3.mdx index b3f4cad270..fc2e2e7e31 100644 --- a/website/versioned_docs/version-3.3.2/migration/v3.mdx +++ b/website/versioned_docs/version-3.3.2/migration/v3.mdx @@ -357,6 +357,19 @@ If you don't want an extra `

` tag, refactor content on a case by case basis t ``` +You can also wrap such content with `{` and `}` to avoid extra `

` tags if you don't intend to use Markdown syntax there yet. + +```diff +-

++{
+ My alt +
+ My image caption +
+-
++
} +``` + ::: #### Unintended usage of directives