chore: fix site deployment Crowdin issue (#7326)

This commit is contained in:
Sébastien Lorber 2022-05-04 17:48:29 +02:00 committed by GitHub
parent 6fa51890f0
commit c31d076aed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: 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
<Tabs> <Tabs>
<TabItem value="docusaurus.config.js"> <TabItem value="docusaurus.config.js">
```
```js ```js
module.exports = { module.exports = {
@ -309,8 +310,10 @@ module.exports = {
}; };
``` ```
```mdx-code-block
</TabItem> </TabItem>
<TabItem value="src/css/custom.css"> <TabItem value="src/css/custom.css">
```
```css ```css
.code-block-error-line { .code-block-error-line {
@ -322,8 +325,10 @@ module.exports = {
} }
``` ```
```mdx-code-block
</TabItem> </TabItem>
<TabItem value="myDoc.md"> <TabItem value="myDoc.md">
```
````md ````md
In JavaScript, trying to access properties on `null` will error. In JavaScript, trying to access properties on `null` will error.
@ -336,10 +341,10 @@ console.log(name.toUpperCase());
``` ```
```` ````
```mdx-code-block
</TabItem> </TabItem>
</Tabs> </Tabs>
````` ```
````mdx-code-block ````mdx-code-block
<BrowserWindow> <BrowserWindow>