The following code works in Rmarkdown but not in Quarto to produce side-by-side plots:

`.Rmd` file:

````
---
title: "Side-by-side plot test"
output: html_document
---

```{r, fig.show='hold', out.width='50%'}
plot(1, 2)
plot(3, 4)
```
````

Correct output: plots appear in one *row* in `.html` output file.

`.qmd` file

````
---
title: "Side-by-side plot test"
format: html
---

```{r}
#| fig-show: hold
#| out-width: 50%
plot(1, 2)
plot(3, 4)
```
````

Incorrect output: plots appear in one *column* in `.html` output file.

I tested on the latest nightly release: 1.3.115
RStudio version: 2022.07.2 
OS: macOS Monterey 12.5.1

_No response_

### 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.
2023-01-18T16:03:22Z
jtr13
closed
Side-by-side plots with fig-show: hold not working in Quarto
https://github.com/quarto-dev/quarto-cli/issues/4007