AnubisNekhet / AnuPpuccin

Personal theme for Obsidian
GNU General Public License v3.0
2.08k stars 163 forks source link

[Feature Request] Distinguish external/internal link #133

Closed emisjerry closed 1 year ago

emisjerry commented 1 year ago

There's no way to distinguish external link or internal link.

Here's the fragment from Minimal theme:

<span class="cm-formatting cm-formatting-link-string cm-list-1 cm-string cm-url external-link" contenteditable="false"></span>

But external-link cannot be found now. Please add this class into cm-link. Thnaks.

AnubisNekhet commented 1 year ago

External links have an underline decoration while internal links do not have an underline. Unresolved links are dimmed for further recognizability. I'd recommend using a snippet to customize links as per your liking.

image image
tophee commented 1 year ago

A switch to let users decide whether internal or external links should be underlined would be nice. (To me, underlining external links makes more sense, so I will try to figure out how to achieve that, but if you could add a switch for that in the style settings, that would be great.)

Thanks for an awesome theme!