# Onebox: rewrite Github links to specific commit?

**URL:** <https://meta.discourse.org/t/onebox-rewrite-github-links-to-specific-commit/26090>\
**Category:** Feature\
**Created:** [March 7, 2015, 9:07am 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:** 6

<div class="post-metadata">

**Author:** ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)\
**Post date:** [March 8, 2015, 1:47pm UTC](https://meta.discourse.org/t/onebox-rewrite-github-links-to-specific-commit/26090/6 "2015-03-08T13:47:22Z")

</div>

True, so the rewriting should probably only catch links that include any line anchors `/#L\d+(-L\d+)?$/` …

---

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