I want to make an rmarkdown presentation (ioslides or revealjs) but then take the final product and convert it to a set of images. The reason being that I want to share it through a medium that cannot render html but can show a slideshow of images.
I don't care if this is through ioslides or revealjs and I am fine with using some other tool to do the conversion, I'll even take crazy hacks. One thought I had was to write some python (with Selenium) that takes a screen shot at the end of each slide but would like to avoid writing this code if it already exists.
答案 0 :(得分:0)
如果你的"一组图像"可以是PDF格式,然后您可以按照R Studio on their page on ioslides presentations的建议。
打印和PDF输出 您可以从支持打印CSS的浏览器中打印ioslides演示文稿(即撰写本文时,Google Chrome提供了最佳支持)。打印维护HTML演示文稿的大部分视觉样式。
要创建演示文稿的PDF版本,您可以使用Google Chrome中的“打印到PDF”。
这适用于ioslides。我不确定它是否适用于reveljs
的新版本,但旧版本有一个错误,因此它只会在打印到pdf时保存第一页(see here)