Why doesn't figure width scaling seem to work in Quarto revealjs slides? #13617
Answered by mcanouil
jpierkunke asked this question in Q&A
-
DescriptionGood evening, I've been working with quarto documents and slides for about a year now, and there are some formatting things in the official documentation that don't work for me in revealjs documents. Here is an example: I have not been able to reliably get figures to resize in revealjs documents. They either fill the available space or appear small, but I don't seem to have control over the exact size. Below are two examples in which the width setting seems to be ignored and the image simply fills the available space. You can try this with any figure. Any help or insight is appreciated! --- title: "My Quarto Document" format: revealjs --- ## Attempt 1 {width=30%} ## Attempt 2 {width=100} |
Beta Was this translation helpful? Give feedback.
Answered by mcanouil Oct 27, 2025
Replies: 1 comment 1 reply
-
| See auto-stretch. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by jpierkunke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
See auto-stretch.