Inline link embed


This question is a bit awkward but - how is this thing done on this discourse instance? When i past a link and write something in the same line, the link get’s automatically resolved and inline-embeded (so when i’m linking other topic, it get’s automatically resolved to the topics title linked to the topic.

Is that a plugin or some setting i’m not aware of? I would love to enable such thing on my own instance.

Thanks in advance!

The functionality is available as a Ruby library at

Check if the site supports oEmbed or Open Graph. If it does, you can probably get away with just whitelisting the URL in Onebox::Engine::WhitelistedGenericOnebox (see: Whitelisted Generic Onebox caveats). If the site does not support open standards, you can create a new engine.

Mastodon is also using OEmbed.