In a Quarto document, I can print general R object and the results will be left aligned in Quarto. How can I center or right align general R objects? In addition, is there a way I could add a gray background to this output?
The code provided is from a default template Quarto file, and the image shows the results being left aligned by default.
```{r}
mtcars
```