0

My prettier extension doesn't format my html document in vs code. How can I solve it?

I have prettier extension on my vs code which use to work normal but it doesn't format when I save the html document but it does on css

8th Sep 2021, 11:46 AM
Osman Abdul Basit
Osman Abdul Basit - avatar
2 ответов
+ 1
It formats your html but it does not correct it, u may have a block lvl element inside an inline lvl element. Or other similar mistake or typo.
8th Sep 2021, 12:20 PM
arturop200
arturop200 - avatar
0
It doesn't indent then code when saved and empty line of spaces are still there. Instead of it to remove empty line spaces.
8th Sep 2021, 11:53 PM
Osman Abdul Basit
Osman Abdul Basit - avatar