Link preview not appearing


(James Cook) #1

I know there is a link preview feature in Discourse i.e. when you post a link to an article you get a nicely formatted preview box within the post. However they don’t seem to be appearing on my site.

Am I doing something wrong? Or do they only appear for certain types of links?

Thanks


#2

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.

https://meta.discourse.org/t/discourse-version-1-3/22046/

gets converted to:


(James Cook) #3

Great! Thank you @Moter8

This is why I love Discourse. Can get great answers so quickly.