Is there any way to set code_folding: show
overall but set certain chunks to hide by default? (not echo=FALSE
because that would never show the code). The use case is wanting the code for most chunks to show by default (with a "hide button") but wanting some plotting code chunks to hide by default (but be available with a "show" button).
1 Like
I think it is still a feature request in rmarkdown
2 Likes
Added +1 to the request. Thanks for the tip.
1 Like
I was looking for something similar and came across this post on stackoverflow which works quite well:
1 Like