Don't indent inner HTML tags #14565
Labels
lang:html
Issues affecting HTML (and SVG but not JSX)
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
Prettier 2.8.6
Playground link
Input:
Output:
Expected behavior:
Indenting and should be optional. Prettier currently unnecessarily indents the whole HTML file which restricts a lot of horizontal space for body and head tag contents, with no option to control this behaviour
For example, a Prettier option "indent_inner_html" could be added.
Issue where this has been already discussed previously, with no response but positive feedback from the community: #12348
The text was updated successfully, but these errors were encountered: