How do you properly link to a sub?

Possibly linux@lemmy.zip to Asklemmy@lemmy.ml – 23 points –

On reddit I could do something like r/subname and it would just work. How do I do that on Lemmy?

11

If your instance is running version 0.18 you can type /c/asklemmy@lemmy.ml to link to this sub.

So /c/community@instance.

!communityname@example.com

Here's a clickable example for this community:

!asklemmy@lemmy.ml

I think Lemmy needs to take a page from Reddit's book and automatically link communities with something like "c/asklemmy"

This would only possible for the current instance, though. Since Lemmy is a federated service it is relevant to always provide the instance URL, too. Not everyone uses !asklemmy@lemmy.ml at lemmy.ml.

A feature similar to RES, maybe one that pulls from your subscriptions, would be nice. Start typing the name of a community and it suggests some autofill options formatted in a way that folks from other instances can click on it easily.

I don’t know why the bang syntax exists or how it’s different, but you can use the /c/ syntax for this too. It would just become /c/asklemmy@lemmy.ml.

I don’t know why the bang syntax exists or how it’s different

Maybe because of the success of Mastodon using @username@example.com (which basically is the combination of the common practice of other social media networks using @username and the e-mail style of username@domain). With !community@example.com it is made clear that the URL refers to a community and not an user.

It's just easier to write !foo@bar instead of building an URL using some sort of path.