mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
docs: actually demo the zero-width space workaround in MDX (#8352)
This commit is contained in:
parent
b016686c22
commit
6be3beb8c9
1 changed files with 2 additions and 2 deletions
|
@ -266,7 +266,7 @@ Use JSX for the rest of the line, or prefix the line with some plain text:
|
|||
```jsx
|
||||
<span style={{color: 'red'}}>Use JSX for the paragraph</span> to stop <i>worrying about</i> <b>Markdown</b>
|
||||
|
||||
​<span style={{color: 'red'}}>← This is a zero-width space</span> and afterwards <i>Markdown</i> <b>works</b>
|
||||
​<span style={{color: 'red'}}>← This is a zero-width space</span> and afterwards _Markdown_ **works**
|
||||
```
|
||||
|
||||
```mdx-code-block
|
||||
|
@ -276,7 +276,7 @@ Use JSX for the rest of the line, or prefix the line with some plain text:
|
|||
|
||||
<span style={{color: 'red'}}>Use JSX for the paragraph</span> to stop <i>worrying about</i> <b>Markdown</b>
|
||||
|
||||
​<span style={{color: 'red'}}>← This is a zero-width space</span> and afterwards <i>Markdown</i> <b>works</b>
|
||||
​<span style={{color: 'red'}}>← This is a zero-width space</span> and afterwards _Markdown_ **works**
|
||||
|
||||
</BrowserWindow>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue