# Markdown footnote syntax bug?

**URL:** <https://forum.ghost.org/t/markdown-footnote-syntax-bug/3489>\
**Category:** Developer help\
**Created:** [October 10, 2018, 1:13am UTC](https://forum.ghost.org/t/markdown-footnote-syntax-bug/3489 "2018-10-10T01:13:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickp](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/nickp/32/12234_2.png) [@nickp](https://forum.ghost.org/u/nickp)\
**Post date:** [October 10, 2018, 1:13am UTC](https://forum.ghost.org/t/markdown-footnote-syntax-bug/3489/1 "2018-10-10T01:13:16Z")

</div>

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

```auto
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:

 ![48%20PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/e/ea1def7c96f26b9f63ae649ea07b72cb3567c6b4.png)

According to the [markdown guide](https://help.ghost.org/article/4-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](https://forum.ghost.org/t/footnote-support-in-editor/1521), 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.

---

<div class="post-metadata">

**Author:** ![epinardscaramel](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/epinardscaramel/32/1432_2.png) [@epinardscaramel](https://forum.ghost.org/u/epinardscaramel)\
**Post date:** [October 10, 2018, 12:27pm UTC](https://forum.ghost.org/t/markdown-footnote-syntax-bug/3489/2 "2018-10-10T12:27:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nickp](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/nickp/32/12234_2.png) [@nickp](https://forum.ghost.org/u/nickp)\
**Post date:** [October 10, 2018, 5:41pm UTC](https://forum.ghost.org/t/markdown-footnote-syntax-bug/3489/3 "2018-10-10T17:41:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [October 24, 2018, 5:41pm UTC](https://forum.ghost.org/t/markdown-footnote-syntax-bug/3489/4 "2018-10-24T17:41:41Z")

</div>

Closed on October 24, 2018, 5:41pm UTC

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