rmarkdown-cookbook icon indicating copy to clipboard operation
rmarkdown-cookbook copied to clipboard

Add empty lines to "all code in the appendix"

Open paulcbauer opened this issue 1 year ago • 0 comments

Chapter https://bookdown.org/yihui/rmarkdown-cookbook/code-appendix.html outlines how to add all the code at the end of a chapter. I use it so that my students can copy the code from my in-class exercises/coding labs.

Is there a way to put empty lines between the code chunks of the resulting collected code?

That would make the collected code much more readable. Otherwise one would need to add empty lines in the single code chunks throughout the chapter.

Thanks!

paulcbauer avatar Mar 07 '23 18:03 paulcbauer