mdelobelle / obsidian_supercharged_links

obsidian plugin to add attributes and context menu options to internal links
MIT License
537 stars 35 forks source link

How to work only on file links and ignore links to headings and blocks in files #233

Open jiajiala opened 2 months ago

jiajiala commented 2 months ago

image

As shown in the figure, both the link to the file and the link to the subtitle in it will now trigger the avatar display Expect the avatar display to trigger only when linking to the entire file Is that possible? Thank you

jiajiala commented 1 month ago

.data-link-icon[data-link-Kr_js*="001"]::before{content: url(http://……001.jpg);} div[data-id="1"] div.setting-item-description, [data-link-Kr_js="001" i] { color: #c9c9c9;; } This is my css

jiajiala commented 3 weeks ago

I wonder how I can make this icon appear only on links to files and ignore links to subcontent