Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview slides on RStudio viewer window #154

Open
rleyvasal opened this issue May 4, 2022 · 2 comments
Open

Preview slides on RStudio viewer window #154

rleyvasal opened this issue May 4, 2022 · 2 comments

Comments

@rleyvasal
Copy link

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
Copy link
Collaborator

cderv commented May 5, 2022

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.

@rleyvasal
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants