# Onebox GitHub line highlight

**URL:** https://meta.discourse.org/t/onebox-github-line-highlight/33055
**Category:** UX
**Created:** [September 9, 2015, 10:22am UTC](https://meta.discourse.org/t/onebox-github-line-highlight/33055 "2015-09-09T10:22:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [September 9, 2015, 10:22am UTC](https://meta.discourse.org/t/onebox-github-line-highlight/33055/1 "2015-09-09T10:22:15Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/a/f/afb696643eea2a83f41a2968de1b25954fb912e6.png) 

The line is not being highlighted fully.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 9, 2015, 10:55am UTC](https://meta.discourse.org/t/onebox-github-line-highlight/33055/2 "2015-09-09T10:55:56Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/6/5/65c2bb183a862f6820f6b2cb69495ed361020418.gif)

---

<div class="post-metadata">

### Author: ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)
#### Post date: [October 20, 2015, 3:16am UTC](https://meta.discourse.org/t/onebox-github-line-highlight/33055/4 "2015-10-20T03:16:31Z")

</div>

On a more serious note, should links to GitHub repos be Oneboxed? E.g.

[https://github.com/discourse/discourse](https://github.com/discourse/discourse)

---

<div class="post-metadata">

### Author: ![steko](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@steko](https://meta.discourse.org/u/steko)
#### Post date: [April 7, 2016, 9:25pm UTC](https://meta.discourse.org/t/onebox-github-line-highlight/33055/5 "2016-04-07T21:25:54Z")

</div>

I was pretty sure this was the case but GitHub repo URLs aren’t oneboxed.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [April 7, 2016, 9:29pm UTC](https://meta.discourse.org/t/onebox-github-line-highlight/33055/6 "2016-04-07T21:29:50Z")

</div>

Except Github provides zero oembed or opengraph tags for repo urls, so it would be a 100% custom oneboxing…

Actually, wait, maybe they are there and I missed it.

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [April 7, 2016, 9:43pm UTC](https://meta.discourse.org/t/onebox-github-line-highlight/33055/7 "2016-04-07T21:43:07Z")

</div>

Looks like [Github repositories support OpenGraph](https://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Fgithub.com%2Fdiscourse%2Fonebox).

 ![](https://global.discourse-cdn.com/meta/original/3X/e/6/e68a2dcfe364657151713d7dfd97edd81d07617d.png)
