docs(v2): escape more jsx in mdx files for Crowdin (#4285)

This commit is contained in:
Sébastien Lorber 2021-02-24 15:46:00 +01:00 committed by GitHub
parent 96e1b1e269
commit cc42cf5af7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 50 additions and 0 deletions

View file

@ -21,6 +21,7 @@ import TOCInline from '@theme/TOCInline';
<TOCInline toc={toc} />;
```
```mdx-code-block
import TOCInline from '@theme/TOCInline';
<BrowserWindow>
@ -28,6 +29,7 @@ import TOCInline from '@theme/TOCInline';
<TOCInline toc={toc} />
</BrowserWindow>
```
## Custom table of contents
@ -54,11 +56,13 @@ import TOCInline from '@theme/TOCInline';
/>;
```
```mdx-code-block
<BrowserWindow>
<TOCInline toc={[toc[2], toc[4]]} />
</BrowserWindow>
```
---