From 476864562ecadd480a0c6dea7d1c928625a6384a Mon Sep 17 00:00:00 2001 From: sebastienlorber Date: Wed, 4 May 2022 17:36:00 +0200 Subject: [PATCH] fix crowdin? --- .../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