How to disable figure numbering in HTML? #11850
-
DescriptionWhen using cross-reference format to insert an image (i.e., adding Is it possible to turn off -- optimally globally, for the whole document -- the "Figure X" part...? (But I wish to keep the caption.) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Don't use the cross-reference prefixes (i.e., https://quarto.org/docs/authoring/cross-references-divs.html You could also try regular (S)CSS and/or JavaScript to remove/hide the content. |
Beta Was this translation helpful? Give feedback.
Don't use the cross-reference prefixes (i.e.,
fig-
).To expand on what I said on the other thread,
fig-
and a caption means your image is a figure thus can be cross-referenced.If you set that ID at a div level, it means you are building a cross-reference div.
https://quarto.org/docs/authoring/cross-references-divs.html
You could also try regular (S)CSS and/or JavaScript to remove/hide the content.