Created
August 24, 2024 17:57
-
-
Save jparise/4ced2f3ee6e58817b8d9647711636e24 to your computer and use it in GitHub Desktop.
Obsidian Headlines - Collapsed Markdown
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
:not(.cm-formatting).cm-header-1:before { | |
content: '› '; | |
} | |
:not(.cm-formatting).cm-header-2:before { | |
content: '›› '; | |
} | |
:not(.cm-formatting).cm-header-3:before { | |
content: '››› '; | |
} | |
:not(.cm-formatting).cm-header-4:before { | |
content: '›››› '; | |
} | |
:not(.cm-formatting).cm-header-5:before { | |
content: '››››› '; | |
} | |
:not(.cm-formatting).cm-header-6:before { | |
content: '›››››› '; | |
} | |
.cm-header:before { | |
color: var(--text-faint); | |
} | |
.cm-active.cm-line .cm-header-1:before, | |
.cm-active.cm-line .cm-header-2:before, | |
.cm-active.cm-line .cm-header-3:before, | |
.cm-active.cm-line .cm-header-4:before, | |
.cm-active.cm-line .cm-header-5:before, | |
.cm-active.cm-line .cm-header-6:before { | |
content: ''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment