Turns out code for that was a little too overcomplicated since
footnotes can also utilize anchor links.