Is there a way to make instance-agnostic links?

Is there a way to make a link to a community of a foreign instance that opens on the instance of the user that clicks on it?

For example, I would like to make a link to !some_community that, when a user of bar.com clicks on it, opens https://bar.com/c/some_community@foo.com instead of https://foo.com/c/some_community.

If it's not possible, don't you think it would be convenient?

Perhyte,

Once your Lemmy web frontend upgrades to version 0.18, the following should all auto-link with no extra syntax:

  • !community
  • /c/community@server.com
  • /m/community@server.com
  • /u/username@server.com

These should then all link to the instance you're currently on.

Note: because this is implemented in the frontend and does not change the underlying data, other Fediverse clients will not show these the same unless they also implement this themselves.

TomViolence,

Nice, thanks for the info!

boomboxnation,

That's what this does:

[Some text here](/c/community@instance.here)

Tap the 'more' skinny hamburger menu just above below this message to 'view source' of the below:

blah blah blah links to asklemmy@lemmy.ml

Actually..better, here is one for an instance that is neither yours or the one you posted into:

blay harg vlar

  • All
  • Subscribed
  • Moderated
  • Favorites
  • asklemmy@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #