Answer the question
In order to leave comments, you need to log in
How to bring HTML code written in one line to a convenient form?
There is a site template, it has most of the code written in one line, it is not very convenient to edit, even with the opening/closing DIVs highlighted.
Are there any solutions that can make the code look nice automatically?
Answer the question
In order to leave comments, you need to log in
In sublime text - Edit -> Line -> Reindent
Or another option: HTML formatter - just set the settings.
In Sublime text, I use the Tag plugin for this purpose. Works both on the selected segment and on the entire document.
Hot key combination - Ctrl + J
Or through the menu - Edit => Line => Join Lines
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question