MDX: fix JSX format (#9267)
This commit is contained in:
1 parent
ff0a886e16
commit
50eeaadeca
6 files changed
+78
-8
No files matched your search
@@ -0,0 +1,35 @@
|
||||
#### Fix JSX format (#9267 by @fisker)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```markdown
|
||||
<!-- Input -->
|
||||
# title
|
||||
|
||||
<Jsx>
|
||||
|
||||
text
|
||||
|
||||
</Jsx>
|
||||
|
||||
<!-- Prettier stable -->
|
||||
# title
|
||||
|
||||
<Jsx>
|
||||
|
||||
|
||||
text
|
||||
|
||||
</Jsx>
|
||||
|
||||
|
||||
(Extra empty lines added after `<Jsx>` and `</Jsx>`)
|
||||
|
||||
<!-- Prettier master -->
|
||||
# title
|
||||
|
||||
<Jsx>
|
||||
|
||||
text
|
||||
|
||||
</Jsx>
|
||||
```
|
||||
Reference in new issue
Block a user