Make internal links bold in both reading view and editing view via CSS snippets.
Currently bold internal links works only in reading view, but not in editing view
Things I have tried
My CSS snippet:
/* For internal links in the editing mode */
.cm-s-obsidian .cm-hmd-internal-link,
.cm-s-obsidian span.cm-hmd-internal-link {
font-weight: bold !important;
}
/* For internal links in the reading (preview) mode */
.markdown-preview-view .internal-link {
font-weight: bold !important;
}
Outcome:
Bold internal links appear only in reading view but not in editing view
Any ideas or suggestions to troubleshoot is much appreciated. Thanks!
What theme are you using? Do you have any other custom CSS with !importants anywhere that could be causing issues?
Unfortunately even with all other custom CSS disabled on the default theme, and even on a fresh install of Obsidian 1.6.7 on a new computer; the problem still persists.
No luck with the latest version of Obsidian 1.7.4 either - same issue as described above - bold internal links in editing view disappear as soon as I click away from the internal link.