I kind of see what you want but it’s not easy to make that something trivial in terms of UI I’m afraid. If you want to do it for weblinks it’s simple:
Given the following text:
A big benefit of in-line links is the name of the link fitting
You can simply mark the text you want to link using the following syntax first
A big
[
benefit of in-line links]()
is the name of the link fitting
And then paste the weblink in between the parentheses:
A big
[
benefit of in-line links](https://agenda.community/t/name-a-new-link-with-selected-text/107822)
is the name of the link fitting
For internal links (and weblinks) one thing that does work is by using the text actions:
You can use the description parameter to decide what the displayed text should be:
\link(url: http://microsoft.com, description: microsoft)
which inserts the text microsoft with a link to microsoft.com, but it also works for internal links to projects:
\link(project: Developing Yak App, description: YakApp)
which inserts the text YakApp with a link to the project called Developing Yak App, and for notes:
\link(note-title: Meeting the developers, description: Developers)
which inserts a link to the note with the title Meeting the developers and the text Developers
Hopefully that helps…