Open EmilHvitfeldt opened 7 months ago
This is because by default images are stretched, see https://quarto.org/docs/presentations/revealjs/advanced.html#stretch.
---
format: revealjs
---
## out-width: 1000px {.nostretch}
```{r}
#| label: code
#| out-width: 1000px
library(ggplot2)
ggplot(mpg, aes(displ, hwy, colour = class)) +
geom_point()
#| ref-label: code
#| out-width: 100px
It would be great for us to be able to detect this and issue a warning in our linter.
Bug description
using
out-width
andout-height
in chunks in revealjs documents appears to be ignored.Steps to reproduce
out-width: 100px