Skip to content
Discussion options

You must be logged in to vote

The unsatisfactory answer is that "Figures are special", which is a historical accident from Pandoc's handling of Figure captions. Captions in figures without labels are best thought of as "Pandoc captions", not "Quarto captions".

In Quarto, captions are associated with "floats" (more accurately, with FloatRefTarget objects). These objects can be Figure, Table, or most anything else. Floats need to have ids whose prefix fig-, tbl-, etc associate them with the appropriate type (Figure, Table, etc).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mattwarkentin
Comment options

@cscheid
Comment options

@mattwarkentin
Comment options

Answer selected by mattwarkentin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants