-
Notifications
You must be signed in to change notification settings - Fork 64
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
Feature Request: Add a flag to trim website names #115
Comments
I'm also interested in this feature, and I wonder if it might make sense to handle the general case as well as specific websites. I suspect this is what Bear does under the hood, since it not only handles YouTube and Github but also transforms Amazon page titles intelligently. This plugin: Bear: I'm happy to put in a PR if there's interest in either approach. One downside I can see to handling specific sites is that it'll likely result in an increased number of PRs adding support for more sites. Related: #23 |
This would be a great feature to be added, and I'd like to highlight that if you use the link favicons plugin, then the website name being included in the title becomes even more redundant since you can see the image of the website next to the link. Personally I prefer the favicon instead of the website name and would like an option to remove website names. |
I got bothered enough by this to implement it into my own plugin, obsidian-paste-link: you can now define page-specific regular expressions to extract page titles. My plugin is overall simpler and doesn't have every feature from auto-link-title, but if you also want finer control over titles, you may want to give it a shot. |
E.g.
The Trillion Dollar Equation - YouTube
→The Trillion Dollar Equation
Code snippet:
Open Issue: Some sites (like GitHub) prepend site names, forcing manual workarounds:
GitHub - zolrath/obsidian-auto-link-title: Automatically fetch the titles of pasted links
Ugly workaround:
The text was updated successfully, but these errors were encountered: