-
Hi! How can I get images centered by default without using {fig-align="left"} ---
title: "Habits"
author: "John Doe"
format: revealjs
---
## Getting up
- Turn off alarm
- Get out of bed
## Going to sleep
- Get in bed
- Count sheep
![](quarto.png) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
It shouldn't be. Can you provide a reproducible example by using a url or providing the This is working for me correctly using this below ---
title: "Habits"
author: "John Doe"
format: revealjs
---
## Getting up
- Turn off alarm
- Get out of bed
## Going to sleep
- Get in bed
- Count sheep
![](https://quarto.org/quarto.png) Which version of Quarto are you using ? |
Beta Was this translation helpful? Give feedback.
-
Hi @cderv! Try this other one. ---
title: "Habits"
author: "John Doe"
format: revealjs
---
## Getting up
- Turn off alarm
- Get out of bed
## Going to sleep
- Get in bed
- Count sheep
![](https://quarto.org/images/hello-jupyter.png) In Visual Studio, I ge this: |
Beta Was this translation helpful? Give feedback.
-
Only captioned figures are centered. Figures without caption are left aligned by default. Maybe "Captioned ..." should be added at the beginning of the following sentence: https://github.com/quarto-dev/quarto-web/blob/0856310989b7715deacf6620315143bb4cc25640/docs/authoring/figures.qmd#L37 Screen.Recording.2022-07-21.at.23.12.07.movSee the code from the video.
|
Beta Was this translation helpful? Give feedback.
Only captioned figures are centered. Figures without caption are left aligned by default.
See #949 and @jjallaire 's answer.
Maybe "Captioned ..." should be added at the beginning of the following sentence: https://github.com/quarto-dev/quarto-web/blob/0856310989b7715deacf6620315143bb4cc25640/docs/authoring/figures.qmd#L37
Screen.Recording.2022-07-21.at.23.12.07.mov
See the code from the video.