The text of the footnote does not need to be at the end of the original mmdown. It can be anywhere, separated by empty lines.