简体   繁体   中英

Indent's disappearing after save in VS Code?

New to HMTL and whenever I try to indent and save, the indents disappear. There is an example below.

Before I save

After I save

I've tried several formatters, and made sure that they've been enabled. What do I do?

Install the following extension:

  1. HTML CSS Support
  2. HTML Snippets
  3. Format HTML

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM