Footnotes rendering from within a partial?

You’ll have to do this instead:

{{< callout >}}
This is my content with a footnote
{{< /callout > }}[^1]

You will also need to prevent the superscript from jumping to the next line. You could do either of these in your shortcode:

  1. Style the <div> to display inline.
  2. Use a <span> instead of a <div>. For example:
     <span class="callout">{{- .Inner | markdownify -}}</span>
     {{- /* This comment trims trailing whitespace. */ -}}
    

This question has come up before: