wolfsatthedoor
wolfsatthedoor

Reputation: 7303

How to hide all code snippets at once in R markdown Rstudio

How can I press the little hide button for all code snippets at once? When I run code, it opens and unhides the code snippets, but they are annoying and make the document too long.

Upvotes: 2

Views: 460

Answers (1)

Roobie Nuby
Roobie Nuby

Reputation: 1439

I am not sure if this is what you are asking, but you might want to look at this. You might even find other things there. But the short answer is:

Edit
 -> Folding:
     -> Collapse All — Alt+O
     -> Expand All — Shift+Alt+O

Upvotes: 2

Related Questions