Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Option to use linkpreview description instead of title #136

Open
welpdx opened this issue Jan 18, 2025 · 0 comments
Open

Suggestion: Option to use linkpreview description instead of title #136

welpdx opened this issue Jan 18, 2025 · 0 comments

Comments

@welpdx
Copy link

welpdx commented Jan 18, 2025

ack

linkpreview.net is a great addition to this plugin.
Thanks for also fixing the reddit preview issue on Dec 4 last year

observation

When using the linkpreview.net debug tool, I see that the title for reddit links is essentially just the subreddit, which isnt really helpful
For example,
example url: https://www.reddit.com/r/ObsidianMD/comments/gn06eh/official_forum_is_over_at_forumobsidianmd/
output fro, linkpreview:

{
  "title": "r/ObsidianMD - Reddit",
  "description": "Official forum is over at forum.obsidian.md",
  "image": "https://www.redditstatic.com/icon.png",
  "url": "https://www.reddit.com/r/ObsidianMD/comments/gn06eh/official_forum_is_over_at_forumobsidianmd/"
}

The description is much better than the title in terms of giving context to what the link is for. And actually, the description is the header of the actual reddit post.

Suggestion

Provide users option to use description instead of title when using linkpreview api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant