P
P
propusk2014-05-11 14:05:40
HTML
propusk, 2014-05-11 14:05:40

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

5 answer(s)
R
Roman Misyura, 2014-05-11
@propusk

In sublime text - Edit -> Line -> Reindent
Or another option: HTML formatter - just set the settings.

S
Sergey, 2014-05-11
Protko @Fesor

code auto-formatting is available in any normal IDE.

D
DimaelVertigo, 2014-06-23
@DimaelVertigo

In Sublime text, I use the Tag plugin for this purpose. Works both on the selected segment and on the entire document.

V
Vladimir Borovik, 2014-11-04
@borovik_96

Is there a similar plugin for js?

I
Ivan Goncharenko, 2016-04-07
@lutsyi

Hot key combination - Ctrl + J
Or through the menu - Edit => Line => Join Lines

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question