mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 23:27:28 +02:00
docs(v2): escape more jsx in mdx files for Crowdin (#4285)
This commit is contained in:
parent
96e1b1e269
commit
cc42cf5af7
5 changed files with 50 additions and 0 deletions
|
@ -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>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue