Change link style to be more like tags

How can I change the style of internal links to look more like tags? I often have a long line of links to people in a meeting and it is very visually hard to parse the little space between people from the little underlined space between first and last names. It all runs together. Tags look much better with a little shaded rounded rectangle around the tag.

Add aliases, like so:

Live preview:

Problem is you need to wreck your brain to come up with a good alias each time and you may run out of variations soon enough.

That isn’t what I’m looking for.

For one thing I don’t create a note for every person, only for the few I often interact with. Obsidian is smart enough to autocomplete names I’ve linked to before even if I don’t have a note for them. So I can’t add aliases for the hundreds I don’t have notes for.

For another thing aliases are still a long line of underlined things run together. I’m looking for visual standout of each name. Exactly how tags look now.

Then someone might give you a tip on how to do it with CSS, but then the issue of having long lines won’t be solved.

Not exactly sure what this sentence means, you can remove the underline if you want. And speaking of tag, the presentation of tag could vary and it depends on the theme you are using so…

Here is the piece of css i made for the above effect:

.markdown-rendered .internal-link,
.cm-s-obsidian {
  background-color: #00c3ff40;
  border-radius: 10px;
  padding: 0 0.25em 0.1em;
  text-decoration: none; /* if you have the underline effect and want to remove it*/
1 Like

That’s exactly what I need. The long lines won’t be a problem if the names are highlighted nicely. They are only a problem when the only visual indicator of when one name ends and the next begins is a space vs a space with a tiny underline.

Wonderful! Thank you. It went from this ugly thing:

To this pretty thing:


I’m wondering, isn’t it confusing if internal embeds and people share the same highlight ?

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