Is there anywhere that lemmy’s various types of internal links are documented? like !community links @user links, links of the form https://lemmy.com/c/community@otherinstance.net. i have also seen links that just have “/c/community@otherinstance.net”… at the moment i’m only developing rendering code for them as i happen upon them, which is ad-hoc
yeah, the relative ones are always on another instance it seems. if you strip the ‘/c/’ you can hit the ‘/community’ endpoint with the ‘comm@inst.ance’ part as the name parameter and it returns the community_view for it. works fine.