docs: prepare docs for MDX 2 (#8782)

This commit is contained in:
Sébastien Lorber 2023-03-16 17:02:38 +01:00 committed by GitHub
parent 07c57a1528
commit 9c920c531b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 112 additions and 70 deletions

View file

@ -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)

View file

@ -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>

View file

@ -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>