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

🔗 Support Custom Icons from URLs/Image Links for Inline Titles #127

Open
khanhtoan529 opened this issue Jan 17, 2025 · 3 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@khanhtoan529
Copy link

khanhtoan529 commented Jan 17, 2025

Hey, the new icon feature is great! I would be happier if I could use a custom icon from a URL or link to an image to enjoy the customizability that this plugin brings.

Describe the solution you'd like
Be able to use an image link (URL, internal image) for the inline title icon. The frontmatter field for the icon should accept a URL or a link to an internal image.
Example for YouTube favicon: https://www.youtube.com/s/desktop/434e5274/img/logos/favicon_32x32.png

Describe alternatives you've considered
I have checked the Iconize plugin and Iconic plugin; both still do not support displaying a link to a custom URL as an icon.

Additional context
The reason I request this is that the Obsidian Web Clipper extension is able to extract website favicons, so I would like to display that icon to make my notes more visually appealing.
Example from Notion:

Image|400

@khanhtoan529 khanhtoan529 added the enhancement New feature or request label Jan 17, 2025
@jparkerweb
Copy link
Owner

@khanhtoan529
Thank you for the suggestion.
This is on my roadmap, but wanted to get the initial "string" support out there and work out all the bugs before trying to introduce URL/Path logic into the feature.

Thanks again for posting an issue :)

@jparkerweb jparkerweb self-assigned this Jan 17, 2025
@jparkerweb jparkerweb changed the title 💡 Feature Request: Support Custom Icons from URLs/Image Links for Inline Titles 🔗 Support Custom Icons from URLs/Image Links for Inline Titles Jan 17, 2025
@jparkerweb jparkerweb moved this to Backlog in 🚩 Pixel Banner Jan 17, 2025
@ProudBenzene
Copy link

Seconded! I hope the corresponding function can be developed to allow the use of images other than emoji as icons!

@jparkerweb
Copy link
Owner

Heard!

will take a touch more work as right now I can use font-size to help determine height of the area, but if I allow for images I will need to calculate its size in JavaScript as it is needed for overlaying it on the edge of the banner.... math....

doable, just more involved which is another reason it wasn't included in v1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

3 participants