VS Code has rolled out a handy new feature.
Now you can paste Html content from a web page, instead of pasting it as plain text.
How to
Copy some content from a web page and then go to VS Code.
Press CTRL
+ SHIFT
+ P
, search for the Paste As… command and select Insert HTML
.
Prefer a video instead?
This feature can be useful when you want to copy a simple HTML structure.
You can also notice that the code is not indented properly, so you’ll ned to do that yourself.