Can't get custom CSS to work

Ooops! I was missing a bracket.

So, I would call this “writers mode” for Obsidian - so that text is formatted in a way which is pleasing to writers - a bit of breathing space between paragraphs (but not between items in a list, or in a code or callout block).

And here are the instructions again.

  1. Go to Settings / Appearance / CSS Snippets.
  2. Click on the folder icon.
  3. In the folder that opens create a file with a .css ending and paste the following (it’s best to use a code editor like Brackets):
.markdown-preview-view br {
    content: '';
    display: block;
    margin-top: 10px;
}

.markdown-source-view :is(.cm-line:not(.HyperMD-list-line):not(.HyperMD-codeblock):not(.HyperMD-callout)) {
   padding-top: 1em;
}
2 Likes