Hide 'hide' button in R Notebook


#1

How can this Hide button (top-right corner) be removed from the R Notebook code blocks?

image


#2

I think you can do this by setting code_folding = "none"
see
https://www.rdocumentation.org/packages/rmarkdown/versions/1.10/topics/html_notebook
and

You can set it in the yaml header as an option for html_notebook