Prettier Config #9443
eliotwrobson
started this conversation in
Dev
Prettier Config
#9443
Replies: 2 comments 6 replies
-
Long story short: no. This is the price we pay for overloading HTML syntax with our own semantics! |
Beta Was this translation helpful? Give feedback.
4 replies
-
I just tested, and you can precede it with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The config files that set VSCode to format-on-save have been a big time saver for me. However, in cases where I'm editing an HTML file, prettier's formatting doesn't play nice with the
<pl-code>
element (for example), since that element relies on whitespace. Is there a way to configure prettier to ignore only this element?Beta Was this translation helpful? Give feedback.
All reactions