Skip to content

Add empty lines to "all code in the appendix" #387

@paulcbauer

Description

@paulcbauer

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions