• gingerman@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Should these links work? I’m viewing this thread from Lemmy.ca and both give me a 404 error. When testing with jerboa, the app crashes

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

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

    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.

  • Catsrules@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Edit Sorry I misunderstood. I believe you can link the community as a whole, but posts I don’t believe you can.

    There isn’t a way at the moment. Solutions to this are being discussed on Github

    https://github.com/LemmyNet/lemmy-ui/issues/1048

    Edit 2

    Maybe you can’t link a community either, I could have sworn I have seen it done but that could have just happened to be for my instance.

    Edit 3

    My testing please ignore :)

    Test1

  • fennec@feddit.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Yes it would be very convenient, right now if I’m recommending a community I simply write out the URL manually to make sure it routes via the respective user’s instance first.

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

    Yes, you can do this using a relative URL!

    Here’s an example.

    Here’s how I wrote it:

    [Here's an example.](/c/asklemmy@lemmy.ml)

    Because this URL doesn’t have a protocol or a domain, your browser fills those in from the URL of the page you’re on when you see it. Since that’s on your local Lemmy instance, you’ll see a link to [email protected] on that instance.

    Also: When you’re looking at a Lemmy comment, if you don’t know how the author wrote the markup for it, you can use the “view source” button underneath the “…” menu.


    Note: These links will NOT work between Lemmy and Kbin, because Kbin uses /m/ instead of /c/.