rstudio/rmarkdown-cookbook

Add empty lines to "all code in the appendix"

Opened this issue · 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!