Created
August 27, 2021 13:40
-
-
Save onlurking/ceec96dcf5e909290e6ae6b8a9b59caf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-blockid { | |
visibility: hidden; | |
} | |
.cm-blockid::first-letter | |
{ | |
visibility: visible; | |
font-weight: 800; | |
} | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-task.cm-meta, | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-task.cm-property { | |
color: transparent; | |
position: relative; | |
} | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-task.cm-meta:after, | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-task.cm-property:after { | |
content: "☐"; | |
position: absolute; | |
top: -6px; | |
left: -3px; | |
color: var(--text-normal); | |
font-size: 22px; | |
font-weight: 100; | |
} | |
div:not(.CodeMirror-activeline)>.CodeMirror-line .cm-formatting-header { | |
display: none !important; | |
} | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-task.cm-property:after { | |
content: "☒"; | |
} | |
.cm-link { | |
color: var(--text-accent) !important; | |
} | |
.cm-url { | |
color: var(--text-muted) !important; | |
} | |
div:not(.CodeMirror-activeline)>.CodeMirror-line .cm-formatting-header { | |
display: none; | |
} | |
/* Hide Bold, Italic, Strikethrough Syntax */ | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-strong, | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-em, | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-strikethrough{ | |
display: none !important; | |
} | |
/* Remove markdown clutter */ | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-string.cm-url, | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-link, | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-formatting-link:not(.cm-link), | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-hmd-barelink, | |
div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-tag { | |
display: none !important; | |
} | |
/* Turn -lists into bullets as you type*/ | |
span.cm-formatting-list-ul { | |
visibility: hidden !important; | |
} | |
span.cm-formatting-list-ul:after { | |
content: '• '; | |
margin-left: -12px; | |
color: var(--text-muted) !important; | |
visibility: visible !important; | |
} | |
span.cm-hmd-indent-in-quote { | |
margin-left: 8px; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment