docs: wrap more JSX in mdx-code-block (#7568)

This commit is contained in:
Joshua Chen 2022-06-05 15:41:06 +08:00 committed by GitHub
parent 6d481f6a29
commit c03def7d5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 58 additions and 1 deletions

View file

@ -67,8 +67,10 @@ Most Docusaurus users configure this plugin through the preset options.
:::
```mdx-code-block
<Tabs>
<TabItem value="Preset Options">
```
If you use a preset, configure this plugin through the [preset options](../../using-plugins.md#docusauruspreset-classic):
@ -86,8 +88,10 @@ module.exports = {
};
```
```mdx-code-block
</TabItem>
<TabItem value="Plugin Options">
```
If you are using a standalone plugin, provide options directly to the plugin:
@ -98,5 +102,7 @@ module.exports = {
};
```
```mdx-code-block
</TabItem>
</Tabs>
```