# Github onebox broken for some link types

**URL:** <https://meta.discourse.org/t/github-onebox-broken-for-some-link-types/57587>\
**Category:** Feature\
**Created:** [Février 18, 2017, 10:37 UTC](https://meta.discourse.org/t/github-onebox-broken-for-some-link-types/57587 "2017-02-18T10:37:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![imrehg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/imrehg/32/119891_2.png) [@imrehg](https://meta.discourse.org/u/imrehg)\
**Post date:** [Février 18, 2017, 10:37 UTC](https://meta.discourse.org/t/github-onebox-broken-for-some-link-types/57587/1 "2017-02-18T10:37:15Z")

</div>

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 `https://github.com/resin-io-playground/awesome-resin-io`:

[https://github.com/resin-io-playground/awesome-resin-io](https://github.com/resin-io-playground/awesome-resin-io)

^^ this has no preview (at the time of posting)

But posting a link to a file in the repo, e.g. `https://github.com/resin-io-playground/awesome-resin-io/blob/master/readme.md`:

[https://github.com/resin-io-playground/awesome-resin-io/blob/master/readme.md](https://github.com/resin-io-playground/awesome-resin-io/blob/master/readme.md)

^^ this has proper preview

I know it worked before, because in [our Discourse](https://forums.resin.io/t/an-awesome-list-for-resin-io/555/1) the first link works, looking like this screenshot:

 ![](https://global.discourse-cdn.com/meta/original/3X/4/d/4d0e50ed8f47ea0587d5e4f7a7dc447a42052b00.png)

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.

Any thoughts?

---

_[View the full topic](https://meta.discourse.org/t/github-onebox-broken-for-some-link-types/57587)._
