...
When the cursor is at the beginning of an empty message draft, add
[](url)
to the message draft. The cursor is placed in between the[]
. (e.g.[|](url)
)url
gets selected.When text is selected, add
[](url)
, but the selected text is placed within the[]
(e.g.[selected text](url)
). The original text remains selectedurl
gets selected.When the cursor is at the beginning of a word, add
[](url)
, but the nearby word is placed within the[]
(e.g.[selected text](url)
). The cursor remains at the beginning of the word (e.g.[|word](url)
url
gets selected.When the cursor is in the middle of a word, add
[](url)
, but the nearby word is placed within the[]
(e.g.[selected](url)
). The cursor remains in the middle of the word (e.g.[select|ed](url)
)url
gets selected.When the cursor is at the end of a word (that is not the last word), add
[](url)
, but the nearby word is placed within the[]
(e.g.[selected](url)
). The cursor remains at the end of the word (e.g.[selected|](url)
)url
gets selected.When the cursor is at the end of the last word in a line, add
[](url)
to the message draft. The cursor is placed in between the[]
. (e.g.[|](url)
)
...