Creating a new line after every paragraph to be visible in reading view

Is there any way to create a new line after every paragraph to be visible in the reading view?

What I’m trying to do

Whenever I switch back to reading view after pressing “enter” one/two times in editing view, it removes spacing between paragraphs. I want the spacing to be visible in reading view for better readability.

Things I have tried

I’ve tried using
after every paragraph but it works only sometimes.

You should be able to control the spacing with a css snippet:

.markdown-preview-view blockquote, .markdown-preview-view ol, .markdown-preview-view p, .markdown-preview-view ul {
  margin-block-start: 100px;
  margin-block-end: 100px;
}

Adjust the values as wanted.

If that doesn’t work, check the setting for Obsidian > Settings > Editor > Strict line breaks

1 Like

Thanks! it worked :grin:

1 Like

And what if its a double new line between two paragraphs? then what

That’s not how markdown works. You can add 128 lines between two paragraphs - markdown just says: “Oh, there’s an empty line - means I have to start a new paragraph. Let’s have quick look at css how much space the app owner wants me to preserve between two paragraphs.”

If you want several empty lines between two paragraphs, rather use html: <br>

2 Likes

Okay cool thanks

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