VS Code Tips — Paste as html

Опубликовано: 29 Март 2024
на канале: Code 2020
1,509
29

Copying content from your browser? VS Code lets you paste it as html instead of plain text, which preserves styling and generally formatting.

After copying the content in your browser, just run the `Paste As...` command in VS Code. If there's HTML content in the clipboard, you'll see an 'Insert HTML' option

This can really speed up scaffolding out a webpage. The command works in any text editor in VS Code. It also works for content copied from any browser or from any app that writes html content to the clipboard

#vscode #html #webdevelopment