Using a development Quarto build (a53ce3b8937f3e222628c79a3c97856a2d09be6b).

The Markdown file:

````markdown
---
title: "code block newline"
---

``` {.dockerfile}
RUN curl -fsSL -O https://cdn.rstudio.com/r/${R_DISTRIBUTION}/pkgs/${R_INSTALLER} && \
    export DEBIAN_FRONTEND=noninteractive && \
    apt-get update && \
    apt-get install -f -y ./${R_INSTALLER} && \
    rm ${R_INSTALLER} && \
    rm -rf /var/lib/apt/lists/*
```
````

`quarto render` has the code block with an additional line of whitespace between the `RUN curl` and the `export DEBIAN...` lines.

<img width="825" alt="image" src="https://user-images.githubusercontent.com/362187/124001472-ac163d00-d9a2-11eb-857f-6af6f485f192.png">

This may be related to #44, which documented a different consequence of long-lines in code blocks.
2021-06-30T16:58:06Z
aronatkins
closed
code block given newline
https://github.com/quarto-dev/quarto-cli/issues/48