Agreed, this would be nice. It’s a feature Discourse calls ‘Onebox’. Here’s some guidance from Discourse themselves:
If Onebox is not working as expected, for example on your main site, aren’t working properly
- Check that your site is using correct meta tags for content, ideally using the OpenGraph or oEmbed protocols
- Test your site by pasting the URL into iFramely to see how other >sites see your content
- If that is working then make sure you’ve followed the correct process for posting the link in Discourse
After testing it on iFramely, it looks like wiki pages are missing the meta data that usually allows thumbnails etc. to be pulled through.
I wonder whether adding OpenGraph meta tags to the sections of pages would help.
Looks like there’s an extension for that.