There’s an older comment here:
The issue in the editor (there’s no issue in Reading view) is that single square brackets are in a state of limbo until you do something with them. They could become a [markdown](link.md)
, a [reference]: link
, a [^footnote]
, and so on.
The CSS assigned to [something] is cm-hmd-barelink
, so you could try this for the time being:
.cm-s-obsidian {
& .cm-link.cm-hmd-barelink {
color: var(--text-normal);
}
& .cm-link.cm-hmd-barelink:hover {
color: var(--text-normal);
text-decoration: none;
}
}
or non-nested:
.cm-s-obsidian .cm-link.cm-hmd-barelink {
color: var(--text-normal);
}
.cm-s-obsidian .cm-link.cm-hmd-barelink:hover {
color: var(--text-normal);
text-decoration: none;
}