Disable oneboxing for github text files

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

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 site

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

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

2 Likes

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

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

5 Likes