You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My problem is similar to that described in issues #12348, #14565, #14698: I would like to prevent the
<head>
and<body>
tags from being indented.I also fully agree with Prettier to not add such a thing as a config option!
With other formatters1, it is not uncommon to create custom code (as a plugin, or other form of extension) to achieve this.
So, my question is:
What is the common solution for tweaking formats like this, which can not be set through config?
Any pointers to more detailed explanations (docs, blog post, whatever) would be much appreciated.
Footnotes
For instance Remark ↩
Beta Was this translation helpful? Give feedback.
All reactions