nicoespeon / vscode-slides

👩‍🏫 VS Code as a presentation tool
https://marketplace.visualstudio.com/items?itemName=nicoespeon.slides
MIT License
62 stars 5 forks source link

Export slides to PDF #27

Open nicoespeon opened 4 years ago

nicoespeon commented 4 years ago

Dumping this idea out of my head: being able to export the slide deck as a PDF.

I'll likely work on this the next time I need to do a presentation (obviously, COVID had an impact on that, switching my priorities).

etbrow commented 8 months ago

@nicoespeon I got bored and picked this up. I have the initial work done using showdown + puppeteer but a few questions to put the finishing touches on it:

Open to any other suggestions and I'll fit in what I can. I've also done my best to upgrade all of the dependencies to the latest versions.

nicoespeon commented 8 months ago

@etbrow awesome!

To answer your questions:

  1. Default to landscape mode indeed, it would be more intuitive to preserve this format for the export
  2. No need for customization for a basic version. It would naturally come up from usage. If you have some needs, go for it, but I recommend keeping it simple first.
  3. All slides in a single PDF indeed, like what you would get by exporting a Keynote/Powerpoint presentation into PDF by default.

To be transparent, I haven't used the extension myself in a while so I don't have much in mind about that. I just recall that having a PDF export would be cool to share the content with the audience afterward the talk (besides sharing the source code, a PDF would be convenient).