Visit your discourse installation’s settings and click the Onebox category. Then add some sites you want to preview to the
onebox domains whitelist, like this:
To actually make the preview box (Discourse calls it Onebox) appear, the link has to be in a new line.
gets converted to: