fsprojects / FsReveal

FsReveal parses markdown and F# script file and generates reveal.js slides.
http://fsprojects.github.io/FsReveal
258 stars 102 forks source link

Support PDF export #87

Closed ryanewtaylor closed 8 years ago

ryanewtaylor commented 8 years ago

Not sure if this is a bug or an idea but it would be useful to support the PDF export of the slides. This is something that Reveal.js does and would be a nice addition to FsReveal for those times where you just need a PDF.

forki commented 8 years ago

It should actually already work since we create reveal.js solutions. I remember doing this. On Dec 14, 2015 20:37, "Ryan Taylor" notifications@github.com wrote:

Not sure if this is a bug or an idea but it would be useful to support the PDF export of the slides This is something that Revealjs does https://githubcom/hakimel/revealjs#pdf-export and would be a nice addition to FsReveal for those times where you just need a PDF

— Reply to this email directly or view it on GitHub https://github.com/fsprojects/FsReveal/issues/87.

ryanewtaylor commented 8 years ago

You're right. This was user error, I needed to add the ?print-pdf string before the final forward slash so that my URL looked like http://localhost:8083/index.html?print-pdf#/. Further, I had to select Chrome's "Save as PDF" option rather than the Adobe Acrobat printed I had installed.

It worked perfectly after that.