Is there an easy way to center a caption in Quarto? I work with the revealjs
format. I'd like to do this locally.
I've tried with fig-cap-location="center"
but it does not work.
Reproducible example:
---
title: "Untitled"
format: revealjs
---
## Centering the caption
![I want this to be centered](https://www.r-project.org/logo/Rlogo.png){fit-align="center"}
I think the easiest way is using css, e.g.
.caption{
text-align: center;
}