Skip to content
Discussion options

You must be logged in to vote

A figure is different from an image.
Imagine the case where no spacing is added after the caption in a general context where the figure is in-text. It would lead to the next paragraph being almost indistinguishable from the caption which is not great.

Again, using your favourite browser, you can see the CSS rule being used:

From this you can add a rule to avoid spacing in some condition, for example when inside "column".

.column > .quarto-figure {
  margin-bottom: 0;
}

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@rodrigo-j-goncalves
Comment options

@rodrigo-j-goncalves
Comment options

Comment options

You must be logged in to vote
2 replies
@mcanouil
Comment options

Answer selected by rodrigo-j-goncalves
@rodrigo-j-goncalves
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format themes Related to HTML theming or any other style related issue (like highlight-style)
2 participants