MDX: fix JSX format (#9267)

This commit is contained in:
fisker Cheung authored and GitHub committed 2020-09-27 08:46:19 +08:00
1 parent ff0a886e16
commit 50eeaadeca
6 files changed
+78 -8

No files matched your search

+35
View File
@@ -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>
```