Easiest way is to use ^_[] --> it automatically numbers, remove the _ obviously
Quick reference for markdown-it-footnote syntax.
Footnotes with formatting
Styled footnote.[^5]
[^5]: Supports **bold**, *italic*, `code`, and [links](/).
Styled footnote.[1]
Basic footnote
Here's a sentence with a footnote.[^1]
[^1]: This is the footnote content.
Here's a sentence with a footnote.[2]
Multiple footnotes
Multiple footnotes[^2] in the same[^3] paragraph.
[^2]: First footnote.
[^3]: Second footnote.
Multiple footnotes[3] in the same[4] paragraph.
Multi-paragraph footnote
A longer footnote.[^4]
[^4]: First paragraph of the footnote.
Second paragraph indented by 4 spaces.
A longer footnote.[5]
Multi-word label
You can use dashed labels[^my-note] too.
[^my-note]: Footnote with a named label (no spaces allowed in labels).
You can use dashed labels[6] too.