rstudio/revealjs

Preview slides on `RStudio` viewer window

rleyvasal opened this issue · 2 comments

It would be great if preview of slides was available on the viewer window of RStudio

This would speed up the process of creating slides by watching the changes live on the viewer window as they are made on the code.

Below is a screenshot of the preview window in VSCode with extension vscode-reveal .

slide_preview

cderv commented

When you render slide in RStudio, it will open in the viewer, but this is not a live preview. You need to re-render the slide to get an updated version in the viewer. In R, it is possible that xaringan::infinite_moon_reader() help with that thought, as it will detect when you save and will rerender. You can also activate that in RStudio IDE with the knit on save feature
image
meaning that each time you save, it will re rendered and update the preview.

There is also a new tool called Quarto that has a HTML presentation based on RevealJS https://quarto.org/docs/presentations/revealjs/
Quarto is next generation publishing tool, built on top of all the R Markdown experience: https://quarto.org/docs/faq/rmarkdown.html
For new features it could be worth trying - we probably won't invest new big features inside the R package for now.

@cderv thanks for the information. I will give quarto a try