I was wondering if there is an easy way to put entire lumps of text in tags in Notepad++.
For example, say I have the following:
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Is there a way how I can select the text in each line and then press a hotkey or something, and have all the text I just selected encased in a tag (such as a p tag)?
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
Have a look at the Macro capabilities of Notepad++.
Your Macro would do the following, giving you have selected the Text to put in Tags.
CTRL-X
Type: <p>
CTRL-V
Type: </p>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With