obsidian-callout-manager
obsidian-callout-manager copied to clipboard
Feature Request: Expanded Icon Options
Feature Request:
The ability to use non-native icons in the selector in the manager.
For instance, I have a bunch of icons saved in a folder that I can use in my notes with the Icon Shortcodes plugin. It'd be awesome to be able to point the manager at those same icons and have them be an option for callouts made using the manager itself.
Thank you! Love the plugin, it really makes callouts easier to set up and use.
Thanks for the suggestion!
Unfortunately though, it's not really possible to directly use the icons added by the Icon Shortcodes plugin. Obsidian can only make use of icons that were added to its icon registry, and Icon Shortcodes doesn't add any of its icons to the registry. There is a function [1] for this, but the plugin doesn't use it.
Callout Manager uses Obsidian's getIconIds [2] function to get the list of icons, so if that was ever added to Icon Shortcodes, Callout Manager would support it already :)
I suppose another option would be for Callout Manager to use the Icon Shortcodes API to fetch the SVG data and then register the icon with Obsidian, but that seems beyond the scope of what this plugin should be doing.
[1]: addIcon
https://github.com/obsidianmd/obsidian-api/blob/bceb489fc25ceba5973119d6e57759d64850f90d/obsidian.d.ts#L318-L324
[2]: getIconsIds
https://github.com/obsidianmd/obsidian-api/blob/bceb489fc25ceba5973119d6e57759d64850f90d/obsidian.d.ts#L1499-L1503
+1 for this one! ❤️
Would love for instance to have a chatGPT icon available for the callouts highlighting GPT text resumes, and there's no brand icons in the lucide pack for instance.
Thanks for such a really nice plugin! Such a nice design and works flawlessly ❤️