From c31d076aed74f87e12967b5a7fcb2488f374a13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Wed, 4 May 2022 17:48:29 +0200 Subject: [PATCH] chore: fix site deployment Crowdin issue (#7326) --- .../markdown-features-code-blocks.mdx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/website/docs/guides/markdown-features/markdown-features-code-blocks.mdx b/website/docs/guides/markdown-features/markdown-features-code-blocks.mdx index 8edae9e2639e..ff817c1c952a 100644 --- a/website/docs/guides/markdown-features/markdown-features-code-blocks.mdx +++ b/website/docs/guides/markdown-features/markdown-features-code-blocks.mdx @@ -282,9 +282,10 @@ Below, we will introduce how the magic comment system can be extended to define You can declare custom magic comments through theme config. For example, you can register another magic comment that adds a `code-block-error-line` class name: -`````mdx-code-block +```mdx-code-block +``` ```js module.exports = { @@ -309,8 +310,10 @@ module.exports = { }; ``` +```mdx-code-block +``` ```css .code-block-error-line { @@ -322,8 +325,10 @@ module.exports = { } ``` +```mdx-code-block +``` ````md In JavaScript, trying to access properties on `null` will error. @@ -336,10 +341,10 @@ console.log(name.toUpperCase()); ``` ```` +```mdx-code-block - -````` +``` ````mdx-code-block