How to insert <p> tags around lines of text?

I have a bunch of lines of text...each line I want to be wrapped in a paragraph tag <p>

foo

bar

biz

would become

<p>foo</p>
<p>bar</p>
<p>biz</p>


Is this possible?

1 comment

Hi there,

Emmet (previously known as Zen Coding)

  1. Select your lines
  2. Ctrl+Alt+T (or "Code | Surround With...")
  3. Choose "Emmet (XML Zen Coding)" entry from that list
  4. Enter p*
  5. That's it -- reformat result manually if necessary
0

Please sign in to leave a comment.