Hi, does anyone know how to accomplish this? So far my workaround has been wrapping them in pre tags.

Thanks in advance!

    • Lodra@programming.devM
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I took a look in my vscode config. I didn’t see any settings like that in the default html formatter. My best guess it’s not possible.

      If you’re open to it, you could explore alternative formatters for html. Prettier is probably the most well known in general. But there are a bunch.