# Onebox: rewrite Github links to specific commit?

**URL:** <https://meta.discourse.org/t/onebox-rewrite-github-links-to-specific-commit/26090>\
**Category:** Feature\
**Created:** [7 مارس 2015، 9:07ص UTC](https://meta.discourse.org/t/onebox-rewrite-github-links-to-specific-commit/26090 "2015-03-07T09:07:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cfstras](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cfstras/32/103104_2.png) [@cfstras](https://meta.discourse.org/u/cfstras)\
**Post date:** [8 مارس 2015، 1:44م UTC](https://meta.discourse.org/t/onebox-rewrite-github-links-to-specific-commit/26090/5 "2015-03-08T13:44:27Z")

</div>

While that kind of magic would be quite helpful in most cases, I could imagine posts where either the author **did not intend to link to a specific line** (but got the link from somewhere else, or clicked on the line), but actually the file (or that line in the file), in the latest version.

Maybe a hint in a popover:

> Would you like to use a permalink instead? _[learn more]_

Where the _learn more_ button expands the popup and explains a bit about permalinks.

---

_[View the full topic](https://meta.discourse.org/t/onebox-rewrite-github-links-to-specific-commit/26090)._
