cross-posted from: https://lemmy.world/post/15953

Hi all!

So, I’m assuming everyone has seen links like https://beehaw.org/c/news and clicked through to find it doesn’t work right because it’s a different site (I’m assuming a different instance here).

Well, I just stumbled across an interesting feature: if you enter a link in the following format, it works for everyone regardless of instance of origin:

[News](/c/news@beehaw.org)

News

[My User](/u/barbarian@lemmy.reckless.dev)

My User

You’re welcome!

  • Akhuyan@lemmy.worldOPM
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I’m not exactly sure what the best way is, but the example you showed there sends you to the Beehaw site, but the formatting mentioned in this crosspost would make accessing the community, regardless of your instance, in this case lemmy.world easier, and would just make it easier to subscribe and view communities universally.

    The formatting does not work in the web link field though, so I just use the original link in the web link field and put the universal link in the body field.

    I’m not really sure if there’s an official way to link on Lemmy though at the end of the day

    • WhoRoger@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      If you start typing ! and community name, it starts autofilling matches (at least in browser). So I’d assume the ! for coms and @ for users would be the official way, and I’ve seen admins use it, but it’s not ideal and kinda inconsistent. Maybe the devs will clean it up officially.

      Frankly I’d be fine just doing c/ and u/ like like on Reddit with automatically changing to links, just with @ for instance.