webpro / reveal-md

reveal.js on steroids! Get beautiful reveal.js presentations from any Markdown file
MIT License
3.7k stars 416 forks source link

Print to PDF without fragments #481

Open vimkim opened 4 months ago

vimkim commented 4 months ago

Hello,

Thanks for creating this wonderful project. It has been very useful.

After successfully completing my presentation using reveal-md, an audience member requested that I share some slides in PDF form.

However, I encountered a small issue when trying to print my slides to PDF. My presentation contains only a few slides (about 20), but because I used many fragment tags for animations, it resulted in about 100 pages when printed as a PDF.

Is there a way to disable fragments and exclude partial pages, so I can print just the full 20 pages without animations?

Thanks in advance. I'm also willing to contribute by making a pull request if you provide me with some guidelines.

Have a great day!

webpro commented 4 months ago

I think you can custom css to hide things, e.g. .animation { display: none }