Markdown footnote syntax bug?

I’m having trouble with markdown-based footnotes. I think there’s a bug. This is what I’m trying to input:

I'm talking about footnotes. This is the part of the post where I reference them^[myfootnote]

This is another paragraph of the post

[^myfootnote] This is the footnote, where I expect footnotes to automatically link to.

The result is the first reference ^[1] creates a link, however it does not link to where the footnote is specified. Instead it links to a lower section with a back arrow, and the contents of that footnote are myfootnote. In other words, it seems to treat all footnotes as inlined footnotes, rather than ones that contain longer content at the bottom. See image:

According to the markdown guide, I’m following the correct footnote syntax, with ^[anote] when inline with text, and at the bottom [^anote] this is my footnote.

According to a previous topic on footnotes, markdown footnotes are not supported unless they’re in the same block, which is fine as a limitation and is not something that is coming up here.

1 Like

I don’t know if Ghost doesn’t follow that Markdown guide, but this is the syntax I’ve been using for footnotes:

I'm talking about footnotes. This is the part of the post where I reference them[^myfootnote]

This is another paragraph of the post

[^myfootnote]: This is the footnote, where I expect footnotes to automatically link to.

As you’ve mentionned, unfortunately footnotes only work within one markdown card, not across an entire blog post.

1 Like

Thank you! I missed the : in the footnote section. Thought I was going crazy.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.