mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
docs: prepare docs for MDX 2 (#8782)
This commit is contained in:
parent
07c57a1528
commit
9c920c531b
36 changed files with 112 additions and 70 deletions
|
@ -103,7 +103,7 @@ or
|
|||
<a
|
||||
target="_blank"
|
||||
href={require('../../assets/docusaurus-asset-example.docx').default}>
|
||||
Download this docx
|
||||
{'Download this docx'}
|
||||
</a>
|
||||
|
||||
[Download this docx using Markdown](../../assets/docusaurus-asset-example.docx)
|
||||
|
|
|
@ -635,8 +635,10 @@ If you want to embed HTML markup such as anchor links or bold type, you can use
|
|||
|
||||
<BrowserWindow>
|
||||
<pre>
|
||||
<b>Input: </b>1 2 3 4{'\n'}
|
||||
<b>Output: </b>"366300745"{'\n'}
|
||||
<b>{'Input: '}</b>
|
||||
{'1 2 3 4\n'}
|
||||
<b>{'Output: '}</b>
|
||||
{'"366300745"\n'}
|
||||
</pre>
|
||||
</BrowserWindow>
|
||||
|
||||
|
|
|
@ -106,9 +106,7 @@ Markdown can embed HTML elements, and [`details`](https://developer.mozilla.org/
|
|||
<summary>
|
||||
Nested toggle! Some surprise inside...
|
||||
</summary>
|
||||
<div>
|
||||
😲😲😲😲😲
|
||||
</div>
|
||||
<div>😲😲😲😲😲</div>
|
||||
</details>
|
||||
</div>
|
||||
</details>
|
||||
|
@ -128,9 +126,7 @@ Markdown can embed HTML elements, and [`details`](https://developer.mozilla.org/
|
|||
<summary>
|
||||
Nested toggle! Some surprise inside...
|
||||
</summary>
|
||||
<div>
|
||||
😲😲😲😲😲
|
||||
</div>
|
||||
<div>😲😲😲😲😲</div>
|
||||
</details>
|
||||
</div>
|
||||
</details>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue