I would like to change the color of non-embedded links to attachments (mostly images, videos, audios) while leaving the color of links to regular notes (markdown files) the same as they are now.
Looking at the code in Developers Tools it seems impossible to do this, is this the case?
I’m interested in “native” ways without using plugins from the community.
I know that changing the style of embedded files (![[[]]
) is possible (at least in the case of images), but I’m interested specifically in changing the style of the link itself, since I insert images and videos as regular, non-embedded, links.
I am interested in ways without adding unnecessary “syntax” to the links (to adapt images for dark theme I have to correct their names, which is not very convenient)
The result I want to get:
Links to markdown files in default (brown, in my case) color
Links to attachments files in custom color
I thought about referring to the directory they are stored in when writing CSS, or referring to the file formats that appear in the links themselves, but again, looking at the code in Developer Tools, this seems impossible, and there doesn’t seem to be anything at all that I can “grab onto” when writing CSS…
Thanks.