Things I have tried
I tried various community themes and tested multiple time exporting notes in pdf’s, but always the result have some broken texts or big gaps in the bottom of the page.
Let me show a exemple
- Exist a better way to export pdf without this issues?
- Exist a pre-view mode of result in export notes in pdf’s?
- There are some plugin to show the margin in notes or something that indicates when you reached a second page in pdfs (something similar to the pages appearence of word) or the images you put break the flow of pages?
Sorry for anthing! I’m a complete newbie in this world and i really enjoying Obsidian as my main tool to study.
Hi @LEVAF. I am definitely not an expert in this area, but I will share a few things that may lead you in the right direction. Images can be resized and I think that it should affect the export, but I can’t verify that right now and am honestly forgetting. Regardless, here is a quote from the Obsidian Help about that syntax:
You can resize images using the following syntax:
For markdown images, use
For embeds, use
To have the image scale according to its aspect ratio, omit the height
A cleverly created find and replace can automate adapting all of your image embeds in one swoop.
There is also a way to force page breaks at locations by adding some code where you want the content immediately after to be started on a new page in the PDF export. Here is a link to that technique. It may help you in certain cases: Page Breaks for PDFs - #2 by ottovanluchene
What you are experiencing has also been my experience, and I believe that there are likely additional things that could help us. I should also mention that you can adjust the scaling percentage when exporting PDFs.
If the reason you are exporting to PDF is to get the functionality of interaction provided by PDFs like zooming, etc, there is a world of css customization that creates many useful adaptations to the note preview/edit viewing experience.
Good luck! Thanks.
Thanks, i really appreciate your answer and really helped me!
I will try to find some css customization.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.