Code folding in slidy_presentation

Hello RStudio Community

I am using R markdown for presentations.

When you create a Rmarkdown document, you can use in the YAML metadata the option:

output:
html_document:
code_folding: hide

To include R code and hide or show it to the audience.

However when I try the same approach with presentations I don´t get the same result:

output:
slidy_presentation:
code_folding: hide

Anyone knows if I can do that with presentations in Rmarkdown using another approach?

Best wishes

Luis Francisco Gomez

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.