@bunnyhero@octodon.social Which is making me think that an API extension that returns that data would be useful. Something like the way Twitter handles media entities - indices marking the beginning and end in the text of a recognized handle, and metadata about what the display name and target URI (or target instance and target username?) are.
@bunnyhero@octodon.social Since I noticed that Amoroq handles linkification separately - partly because it's not documented, partly because a Mastodon server has more information available to it to make these decisions than a client has. Why not feed that metadata to the client?