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>




would become


Is this possible?

1 comment
Comment actions Permalink

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

Please sign in to leave a comment.