Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 475 Bytes

pr-6398.md

File metadata and controls

21 lines (17 loc) · 475 Bytes

Add support for JSX fragments (#6398 by @JounQin)

Previous versions format JSX Fragment incorrectly in mdx, this has been fixed in this version.

<!-- Input -->
<>
    test   <World        />   test
</>       123

<!-- Output (Prettier stable) -->
<>
test <World        /> test
</> 123

<!-- Output (Prettier master) -->
<>
  test <World /> test
</> 123