• Perhyte@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years 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.

  • melonpunk@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    I’d like to know too. I was hoping it would be something simple like !community@host.com which would resolve for everyone. Didn’t work when I tried it, though I might not have done it correctly.

    EDIT: I guess I could try again here !asklemmy@lemmy.ml

    EDIT2: Nope: That link goes to https://lemmy.world/post/!asklemmy@lemmy.ml for me, which is not valid.

  • Catsrules@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 years 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
    ·
    2 years 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.

  • jrubal1462@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 years ago

    I thought it worked if you just linked /c/asklemmy@lemmy.ml
    With the only caveat being that users on kbin will need /m/asklemmy.ml
    With the only caveat being that users on kbin will need /m/asklemmy@lemmy.ml

    I would normally test the crap out of these before posting since I really don’t know what I’m doing, but I’m on my phone and mostly busy at the moment. Sorry if it doesn’t work.

    • CoderKat@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      Kbin needs /m/asklemmy@lemmy.ml (domain is important) or a bit simpler is with an @ symbol in front: @asklemmy (note: the domain is here but kbin currently renders it without the domain – that needs to be changed as it has potential to confuse and mislead)

      Downside to the /m/asklemmy@lemmy.ml format is that it doesn’t currently auto linkify. Gotta do [/m/asklemmy@lemmy.ml](/m/asklemmy@lemmy.ml) (/m/asklemmy@lemmy.ml)

      Hopefully kbin soon fixes the !asklemmy@lemmy.ml syntax. It’s currently broken. Once fixed, that should work for everyone.

      • ChemicalRascal@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        An outstanding problem, though, is linking to specific posts and comments. And, after that, I would argue both kbin and Lemmy should support more nuanced parsing of cross-instance hyperlinks, to reduce friction and UX pain without requiring users to memorise new syntax just to make links work.

        • jrubal1462@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          I’m the problem. As feared I fudged it up as I was rushing to type it up on my phone. As @CoderKat mentioned, the problem with typing it out as /m instead of using @, is that you have to manually enter the visible text in [ ] and the hyperlink in ( ). I got the hyperlink correct and beefed it on the visible text.