Skip to content

Can knitr code blocks preserve blank lines when rendering? #1376

@DavisVaughan

Description

@DavisVaughan

I'd like to preserve the blank lines in this code block when it gets rendered, is that possible?

#' ```{r}
#' 1 + 1
#'
#' 2 + 2
#' ```

Screen Shot 2022-07-01 at 10 40 29 AM

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