Closed pingfengafei closed 7 years ago
JsFormat isn't really intended to be used on html files. If you really want use it in html files, you can highlight the contents of your script tag (including leading whitespace on the first line), and it will just format the selection.
Here is a section in my html file, format manually :
after command:
jsformat indent uncorrectly.
here is my user config:
How to solve it ?