MSzturc / obsidian-advanced-slides

Create markdown-based reveal.js presentations in Obsidian
https://mszturc.github.io/obsidian-advanced-slides/
MIT License
939 stars 80 forks source link

Export to pdf / vertical separators #277

Open agentlibre opened 7 months ago

agentlibre commented 7 months ago

Describe the bug When using "export to pdf" or when exporting to pdf based on the htlm + print local link, the slides with a vertical separator tend to merge with the other slides (making these slides humanly unreadable).

I had a similar issue with the "fragment" functionality, but I manage to solve it by adding "fragments: false" in the properties of the concerned slide deck. However, this doesn't work if I try the same with "separator:false" or "verticalseparator:false" (it just creates a big mess).

Samples to Reproduce

  1. Create a slide deck with some slides horizontally separated (---) and with some slides vertically separated (--)
  2. Activate "preview mode" 3a. Either use the "Print presentation" from the preview mode; or 3b. Open in browser and print the page (without or without ?print-pdf#/ after "http://localhost:3000/")

Expected behavior

I would like to be able to export all slides following each other to a pdf format, even if some slides are sub-slides, respectively subject to vertical separators (-- instead of --- in Obsidian)

Comment ❤️

Great job developing this plugin, I am a big fan. I know it still have some potential for improvements and will soon become a small financial support. I believe in this project, down with PowerPoint! :)