Also this thread concerning a not well known feature of snippets :
Quote:
Originally Posted by kovidgoyal
yes, snippets can surround text, read the bottom couple of parapgraphs of https://manual.calibre-ebook.com/sni...tml-link-tag-a
and to expand ctrl+alt+t to the parent tag, after pressing it simply hold down shift and move the cursor beyond the edge of the closing tag and press catrl+alt+t again.
|
So, there are 2 possibilities to surround any selected text by a tag with attributes.