Skip to content

Footnote in figure caption is rendered incorrectly #8021

Answered by kamilkrzyskow
SerTetora asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @SerTetora,
this is not a bug, so I'll convert it to a discussion.
The issue is that you're missing the markdown attribute in the figcaption:

<figure markdown>
<figcaption>Image caption[^1]</figcaption>

->

<figure markdown>
<figcaption markdown>Image caption[^1]</figcaption>

Each tag in the "chain" needs to be marked as Markdown content, otherwise, HTML tags inside of HTML-markdown tags are rendered as raw HTML not Markdown.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SerTetora
Comment options

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

This discussion was converted from issue #8020 on February 20, 2025 13:27.