I am trying to use footnotes in Markdown, but when I put it inside HTML (<div>
) the footnotes won't parse.
Here is the minimal example of the code:
a[^1]
<div>
b[^2]
</div>
[^1]: I am a footnote
[^2]: I want to be a footnote too.
And it's parsed like this:
I was wondering what is the best way to use footnotes inside <div>
blocks.
Thanks for your help in advance !
Edit: I am using Jekyll with kramdown.
with the markdown argument: ```
b[^2]
``` – grg Nov 02 '21 at 16:27