Created
September 24, 2021 01:08
-
-
Save uphy/924b84f4c238b9d513d1851a6d788cf6 to your computer and use it in GitHub Desktop.
Hide Obsidian's fold marker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.CodeMirror-gutter-elt { | |
display: none; | |
} | |
.CodeMirror-activeline .CodeMirror-gutter-elt { | |
display: block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
About
Obsidian has a feature to fold list items, headings.
The fold marker is always visible.
With this css, fold marker is visible only when the line is active.
How to apply this css
<your vault dir>/.obsidian/snippets
and put the file to the directory.Obsidian Setting > Appearance > CSS snippets
.