Improving visibility of caret(cursor) position in editor mode

you can highlight the active line using this css:

.workspace-leaf.mod-active .CodeMirror-activeline .CodeMirror-linebackground{
background-color: hsl(0, 0%, 0%);
}

you can also treat the active pane differently using this:

.mod-root .workspace-leaf.mod-active .markdown-source-view,
.mod-root .workspace-leaf.mod-active .markdown-preview-view {
  background-color: var(--background-active);  
}
1 Like