-2
Is there any shortcut/technique to place <p>
and </p>
in a Visual Studio Code line?
Just as Ctrl
+ ; turns the line into a comment
-2
Is there any shortcut/technique to place <p>
and </p>
in a Visual Studio Code line?
Just as Ctrl
+ ; turns the line into a comment
2
0
If I understand correctly, you want to use a command that at each line it will insert a tag opening at the beginning of the paragraph and the tag closing at the end. I don’t know.
But imagining that you have a huge text with several paragraphs. You can manually do is, put each paragraph in a row, imagining that you have one (*) asterisk at the beginning of each line and one .(endpoint) at the end of the paragraph.
Example:
You select the asterisk or endpoint and press Ctrl+D until you select all (in this case you have a default) so you replace asterisk with <p>
and the end point by </p>
Browser other questions tagged html visual-studio-code
You are not signed in. Login or sign up in order to post.
Create a snippet/shortcut to execute the writing of this tag.
– Cmte Cardeal