Format footnote links