Back to Prettier

19291

changelog_unreleased/markdown/19291.md

3.9.0328 B
Original Source

Support formatting LWC (Lightning Web Components) syntax in code block (#19291 by @fisker)

<!-- prettier-ignore -->
md
<!-- Input -->
```lwc
<test-this attr={test}>
    Awesome </test-this>
```

<!-- Prettier stable -->
Same as input

<!-- Prettier main -->
```lwc
<test-this attr={test}> Awesome </test-this>
```