Creating Rich Link Previews with Onebox

Creating a Onebox

To create a Onebox, simply paste any link into a post on a line by itself, like so:

https://www.google.com/

This results in:

Onebox supports general oEmbed and OpenGraph tags, and has custom rules for popular sites like Wikipedia, Twitter, Amazon, YouTube, and others.

Try pasting links into your posts and see what happens. Just remember that for Oneboxing to work, the link must be on a line by itself!

Inline Oneboxing

With the enable inline onebox on all domains site setting enabled (this feature is enabled by default), pasting the link inline with the text will replace the raw link with the title of the page, like this Understanding Discourse Trust Levels

like this https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/

Avoiding Oneboxes

If you want the link to show up as a plain, unadorned raw link, place it in < brackets >:

<https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/>

Alternatively, you can place a space before the link or any characters after the link.