Format text: 2 or more lines free

Hallo,
I’m searching for a short command to fill 2 or more new lines between two text lines. In the editor mode I can fill as much lines as I want, but in the view mode I can’t see it. I need this because I want the notes export into a good-looking PDF :wink:

I started with Obsidian two weeks ago an I’m very happy about some help.
Thank You.
Anne

Sounds to me like what you want is a page break, try adding this into your markdown:

<div style="page-break-before: always"></div>

And see if that gives you the result in print.

1 Like

I think she’s not looking for a page break but rather for more space between paragraphs!?

There are 3 possibilities as far as I can see:

  1. Use html syntax in your note to add extra line breaks: <br>

  2. Use css to change the space between paragraphs in preview mode:

     .markdown-preview-view p {
         padding-bottom: 2em;
     }
    
  3. If you only want it when exporting to pdf, change your css this way:

     @media print {
         p {
             padding-bottom: 2em;
         }
     }

That’s what I’m searching for: more space between paragraphs.

Thanks a lot. It works. :slight_smile:

:pray: :pray: :pray: