Document that fig-scap
inside a figure div
#11301
roaldarbol
started this conversation in
Feature Requests
Replies: 1 comment 3 replies
-
Thanks for getting this discussion started. We need to:
I'm tracking this on #11304. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I was trying for a while to figure out how to use a short caption inside a figure div, and it's not entirely obvious from the documentation, so I thought I'd outline it here, and maybe it can be added to the docs.
Short captions for figures are supported for basic Markdown figures and from codeblocks, but that they're supported is not obvious from inside a figure div.
So according to the documentation, these work:
And this is how it works for a figure div:
What's not obvious is that inserting a
fig-cap
too breaks it (correctly! Presumably as it's being provided inside the div. Just for reference, this it what then breaks:End of the tale. 😊
Beta Was this translation helpful? Give feedback.
All reactions