I want to create a macro which adds html tags around the selected text.
In my dreams it should work in this way:
- I select some text (i.e. “This will be inside a tag” )
- I launch my macro (either by menu or hot-key)
- I input the tag i need (i.e. “span”) and press enter
- I obtain “This will be inside a tag”
I tried to google for that, but the terms are so much used that i’ve only found an example in this forum which i don’t understand much.
Also i landed on the Unofficial documentation but i can’t find any command reference.
Could someone show me how a macro like that is done?