Export to PDF – Displaying Paragraphs as in Live Preview

What I’m trying to do

I have a note that I want to export to a PDF document.
In my note, the individual paragraphs are separated using enter.
In the Live Preview, everything looks as it should – there is an empty line between each paragraph, visually separating them.
When I export this note to PDF, these empty lines disappear, and all the paragraphs visually merge into one.

I want the final PDF document to look the same as my note in the Live Preview - with empty intermediate lines between paragraphs. visually separating them.

I have / I want:

# Some header

First paragraph

Second Paragraph

…

# Another header

…

I get:

# Some header
First paragraph
Second Paragraph
…
# Another header
…

Things I have tried

I tried:

  • enter
  • enter + enter
  • shift + enter
  • shift + enter + shift + enter
  • enter + space + space
  • shift + enter + space + space
  • <br>

and I also tried Settings > Editor > Strict Line Breaks : ON / OFF.

I looked at Basic formatting syntax in the docs, and looked at ~5-7 forum threads, but I still couldn’t get it to work…

Is it possible to just get my note as it is in Live Preview as a PDF document without too much black magic?

I’ve been using Obsidian for ±3 years now and I feel ashamed that I can’t get it to work…
Sorry and thanks.

It looks as expected for me in the v1.9.3 Sandbox:

Live preview | Reading view
PDF (bottom)


Can you check in the Sandbox vault and then try all the troubleshooting steps in your own vault? Troubleshooting guide.

1 Like

I disabled my CSS Snippets and the export started working correctly.
It’s a bit strange because I didn’t write any snippets to adjust PDF export…

Anyway, thanks a lot, ariehen.