# Disable oneboxing for github text files

**URL:** https://meta.discourse.org/t/disable-oneboxing-for-github-text-files/88795
**Category:** Support
**Created:** [May 31, 2018, 2:00am UTC](https://meta.discourse.org/t/disable-oneboxing-for-github-text-files/88795 "2018-05-31T02:00:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)
#### Post date: [May 31, 2018, 2:00am UTC](https://meta.discourse.org/t/disable-oneboxing-for-github-text-files/88795/1 "2018-05-31T02:00:20Z")

</div>

Hello  
If I paste in a link say  
[https://github.com/Azure/autorest](https://github.com/Azure/autorest)  
the preview looks like

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

a few weeks ago the preview would be much smaller and more graphical  
How do I go back to how it used to work?

Interestingly the link looks correct to me on this [meta.discourse.org](http://meta.discourse.org) site

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/6/565f8ad51d858de0202eeaded91f845e0e0cf693.png)

but not on my own Discourse, even though I have upgraded to the latest version

---

<div class="post-metadata">

### Author: ![Cameron\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cameron_d/32/97535_2.png) [@Cameron\_D](https://meta.discourse.org/u/Cameron_D)
#### Post date: [May 31, 2018, 2:07am UTC](https://meta.discourse.org/t/disable-oneboxing-for-github-text-files/88795/2 "2018-05-31T02:07:15Z")

</div>

It looks like your screenshot shows a link direct to the readme file, not the repo index.

Testing to see:  
[https://github.com/Azure/autorest/blob/master/README.md](https://github.com/Azure/autorest/blob/master/README.md)

---

<div class="post-metadata">

### Author: ![kgreed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kgreed/32/168602_2.png) [@kgreed](https://meta.discourse.org/u/kgreed)
#### Post date: [May 31, 2018, 2:10am UTC](https://meta.discourse.org/t/disable-oneboxing-for-github-text-files/88795/3 "2018-05-31T02:10:25Z")

</div>

:facepalm: 🙂 ah that explains it. Thankyou. Now to figure out how to turn off the preview for the Read Me.

---

<div class="post-metadata">

### Author: ![Cameron\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cameron_d/32/97535_2.png) [@Cameron\_D](https://meta.discourse.org/u/Cameron_D)
#### Post date: [May 31, 2018, 2:19am UTC](https://meta.discourse.org/t/disable-oneboxing-for-github-text-files/88795/4 "2018-05-31T02:19:57Z")

</div>

I think putting \< \> around the link will stop the embedding, like so:

`<https://github.com/Azure/autorest/blob/master/README.md>`

Produces

[https://github.com/Azure/autorest/blob/master/README.md](https://github.com/Azure/autorest/blob/master/README.md)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:37pm UTC](https://meta.discourse.org/t/disable-oneboxing-for-github-text-files/88795/5 "2024-06-08T12:37:23Z")

</div>

This topic was automatically closed after 2200 days. New replies are no longer allowed.
