joethei / obsidian-link-favicon

See the favicon for a linked website.
GNU General Public License v3.0
89 stars 2 forks source link

Link Level Ignore #29

Closed ChristinWhite closed 1 year ago

ChristinWhite commented 2 years ago

Request: It would be really helpful if there was a way to disable a link icon on a link level in addition to the domain option that already exists. Perhaps something like [Twitter|noicon](https://twitter.com/abraintool) following the syntax used in a bunch of other plugins for setting parameters to specific items.

Why: There are definitely times I want to exclude an icon, often if it's at the beginning of a list item where I don't want it conflicting visually with the bullet for things like Minimal's checklist icons or if I want to use a different icon via Icon Shortcodes.

Another example might be plugins that aren't especially compatible with Link Favicon yet such as Simple Embeds which will cause the favicon to be on its own line before the embed instead of directly preceding the link if you use the default place embeds above link setting. (I'll file a separate issue).

CleanShot 2022-04-13 at 17 16 41@2x
Trikzon commented 2 years ago

I came to this repo's issues to ask exactly what ChristinWhite asked in this issue and #30.

For my use case, I prefer to use the Simple Embeds plugin with the link completely hidden. However, this plugin renders the favicon by itself when Simple Embeds hides the link causing unnecessary spacing. It would be great if there was a way to selectively hide the favicon in the way that ChristinWhite suggested.