### Bug description


I'm trying to include a code block in a numbered list and I'm getting unexpected output:

Input:
````md
---
title: "Test"
author: "Andew Barros"
format: html
---

1. Question

    ```{r}
    1 + 1
    ```

1. Question 2
````

Output:

```
1. Question

1 + 1

::: {.cell-output .cell-output-stdout} [1] 2 ::: :::

2. Question 2
```

(The line with ::: is visible in the output both when rendered to html and PDF).

If I render that same file through the rmarkdown pathway -- I get the intended output

I'm using RStudio 2022.07.2 Build 576 on MacOS 13.0.1

### 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.
- [X] 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.
cscheid
2022-11-14T19:42:03Z
ajb5d
enhancement
Future
open
Add lint warning when code block is indented inconsistently inside list
https://github.com/quarto-dev/quarto-cli/issues/3325