RMarkdown button to show or hide code

I often write censored documents that are read by both technical people and managers.

In this sense, I was wondering if it is possible to create a button in HTML that will hide or show code fragments in the final release?

I am currently creating two separate files, which I find a less elegant solution.

Is anyone

+5
source share

All Articles