Skip to content

Commit

Permalink
fix crowdin?
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed May 4, 2022
1 parent 9ead309 commit 3df7fb0
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
<Tabs>
<TabItem value="docusaurus.config.js">
```

```js
module.exports = {
Expand All @@ -309,8 +310,10 @@ module.exports = {
};
```

```mdx-code-block
</TabItem>
<TabItem value="src/css/custom.css">
```

```css
.code-block-error-line {
Expand All @@ -322,8 +325,10 @@ module.exports = {
}
```

```mdx-code-block
</TabItem>
<TabItem value="myDoc.md">
```

````md
In JavaScript, trying to access properties on `null` will error.
Expand All @@ -336,10 +341,10 @@ console.log(name.toUpperCase());
```
````

```mdx-code-block
</TabItem>
</Tabs>
`````
```

````mdx-code-block
<BrowserWindow>
Expand Down

0 comments on commit 3df7fb0

Please sign in to comment.