Disable link preview feature?

Link previews are more often wrong than right, often showing content unrelated to the URL (not Discourse fault, I know it’s very hard to sum up the content of a web page).

Also I think it gives too much weight to the URL - a link is usually for extra info, while with this feature that link often takes 95% of the post space, which is not only unnecessary, but also illogical. What’s important is the text content on the forum, not the content on another linked website.

As an example, a link to a GitHub page includes the owner’s avatar, which is irrelevant. If you link to a release, it won’t show the text of the release, but the “about” summary of the GitHub repo, which is also not relevant. This is true of many websites actually (noticed it with Patreon articles too) - the “summary” is often related to the entire website, not to the specific page.

So since, in my opinion, this feature doesn’t work so well, I would like to disable it at admin level for the entire website. Is there currently an option for this? I couldn’t find one, but I might have missed it.

Add a space in front of the link if you do not want a onebox.

Also can you provide examples of where the onebox is “wrong”? I don’t agree with your general rationale here and I need to see specifics.

Yes I came across this trick, but I’d rather disable it for the whole forum if possible.

One example is this one: Joplin 1.0.157 - Links of notes between notes broken - #6 by laurent - Support - Joplin Forum

I link to a GitHub release but it shows unrelated text and my unrelated avatar.

I’m not so keen on the Patreon links either: Note history feature now in Joplin - News - Joplin Forum

It’s better, but about 50% of the box doesn’t matter: the image is off-topic, and the text that matters only starts towards the bottom - “The latest versions of Joplin adds support…”. It’s probably tricky to improve this, which is why I’m fine with not having the previews at all.

If it is a global improvement to oneboxes for a popular major site that is usually preferable.

This is something to bring up with Github. They can improve this by adding the appropriate metadata on the release page.

Instead of disabling it globally, why not work with it? Consider the following options:


This is fixed in Joplin release v1.0.158

This is fixed in [Joplin release v1.0.158](https://github.com/laurent22/joplin/releases/tag/v1.0.158)

Or @codinghorror’s suggestion (below)? Much nicer than a bare link.


Release v1.0.158 · laurent22/joplin · GitHub

This is fixed in Release v1.0.158 · laurent22/joplin · GitHub

 https://github.com/laurent22/joplin/releases/tag/v1.0.158

This is fixed in https://github.com/laurent22/joplin/releases/tag/v1.0.158

If you really want to disable it, you already have various settings to control the behaviour:

  • onebox domains blacklist
  • max oneboxes per post

GitHub 정보 상자가 크게 개선되었음을 확인했습니다. 이제 아바타 대신 적절한 아이콘이 표시되며, 문제 요약, 태그, 날짜 및 기타 메타데이터도 잘 정리되어 있습니다.

훌륭한 작업과 Discourse를 지속적으로 개선해 주셔서 감사합니다!

@david 님은 여기서 정말 훌륭한 작업을 해주셨네요. 피드백 주셔서 감사합니다!

라이브 상태 정보를 추가하는 그의 테마 컴포넌트도 추천드립니다:

예를 들어: