### Bug description

It seems that code blocks as well as the resulting table are placed in the margin.

- OS: Ubuntu 22.04
- Quarto Dev version (latest commit)

````qmd
---
title: test
format:
  html:
    self-contained: true
engine: knitr
---

```{r}
#| echo: false

library(DBI)
con <- dbConnect(RSQLite::SQLite(), ":memory:")
dbWriteTable(con, "mtcars", mtcars)
```

```{r, chunk-one}
#| column: margin
mtcars |>
  dplyr::select(cyl) |>
  head(5) |>
  knitr::kable()
```

```{sql}
#| column: margin
#| connection: con

select cyl from mtcars limit 5
```

```{r, chunk-one}
#| column: margin
```
````

![Animation](https://user-images.githubusercontent.com/50911393/225949299-717d1ea0-edbd-4726-8d9f-a4b3f5881cf5.gif)


### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [ ] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [X] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
dragonstyle
2023-03-17T15:33:28Z
eitsupi
bug
v1.4
open
Article Layout Margin option for knitr sql code block seems buggy
https://github.com/quarto-dev/quarto-cli/issues/4869