Reputation: 67
Let's say that I have the following html paragraph:
<p>This is a nice paragraph</p>
Is there a quick way to emphasise, for example, the word 'nice'?
If I write <em> before 'nice', my paragraph will look like this:
<p>This is a <em></em>nice paragraph</p>
Because of this, I have to copy 'nice' and paste it between the two <em> tags and I feel that it would be time consuming over a long period.
Is there a way to select the word 'nice' and then write <em> to instantly get it between the tags, and not to get it replaced by the tags?
Upvotes: 1
Views: 738
Reputation: 434
What you need is Embedded Emmet.
Emmet: Wrap with Abbreviation
div
(or an abbreviation .wrapper>p
)Hope it helps.
Upvotes: 1