Discourse has really great preview cards for links in general, dropping in a link on a new line (onebox previews).
Recently I’ve found, though, that Github repository links no longer have any previews (I think they had before), while linking to a specific file on Github has. For example posting
^^ this has no preview (at the time of posting)
But posting a link to a file in the repo, e.g.
^^ this has proper preview
I know it worked before, because in our Discourse the first link works, looking like this screenshot:
I suspect it has to do with Github’s recent style changes (as that happened less than a week ago, and the working screenshot is from 14 days ago).
I also think that besides broken repo links, organization links also regressed, but don’t have a previous working example at hand to double-check.