Support for embedded language formatting (template literals) #2227
JulianCataldo
started this conversation in
Ideas
Replies: 2 comments
-
This is actually part of our roadmap: https://biomejs.dev/blog/biome-v1-6/ Wanna help with the exploration phase? We're almost done with CSS formatting |
Beta Was this translation helpful? Give feedback.
0 replies
-
This would be awesome now that support for graphql & css is coming ... we could support projects like style-components or apollo / relay 💃 graphql`query { __typename }`
css`width: 100%;` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
Prettier has this features since 2.1 (2020)
https://prettier.io/blog/2020/08/24/2.1.0.html
It can be used for
css
too. Typically with the Lit UI library, but not only, everyone can benefit from this.Not to be confounded with embedded language like Astro, Svelte, Vue, etc.
It is just regular JS/TS, and everything happens in the template literal.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions