How can I make unresolved link display differently

What I’m trying to do

I’m trying to find a css snipet that make an unresolved link display with a smaller font than usual and with a gray color

Try this. It only works for reading mode. The looks to be no difference in the style classes between resolved and unresolved links in code/live modes.

.markdown-rendered .internal-link.is-unresolved {
    --link-unresolved-color: #6272a4;
	font-size: var(--font-ui-small);
 }
1 Like

good , but somehow it doesn’t become gray as you can see I’m using this theme and maybe it’s because of it ? and I would like to make the font a bit smaller
image
otherwise thank you for help it seem to do the work after all

Relevant feature request:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.