My CSS snippet not working

I’m trying to adjust the spacing between lines. I randomly revised the code in the developer tools, and I think I got the code I needed. I applied the CSS snippet, however, it’s not working.

.markdown-source-view :is(.cm-line + .cm-line) {
   padding-bottom: 0.6em;

body {
    --h1-line-height: 1.6em;
    --h2-line-height: 1.3em;
    --h3-line-height: 1.2em;
    --list-edit-offset: 0.5em;
    --list-indent: 1.7em;
    --list-spacing: 0.05em;

} {
	margin-right: 4px;
.markdown-rendered .list-bullet {
	margin-right: 4px;

Can anyone help fix the problem : ) Thx

I figured out even though I have changed the suffix to .css, it’s still a RTF file.
I downloaded the css file provided below, and my snippet finally worked.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.