Adding Footnotes to Footnotes

How would I add footnotes within other footnotes?

For example:

I want to be able to write some text that, to sound smart, makes a reference to someone like David Foster Wallace[1]. But then I’d like to continue on, having the next footnote take into account footnotes within previous footenotes[3]

[1] Which, to honor the writer[2], needs its own footnote.
[2] But not in a sycophantic way, so I assert my independence by saying something like, “Infinite Jest was nice but I much prefer Joyce’s Ulysses.”
[3] So this should be the third footnote, even though the prior one in the body is 2.

footnote_labyrinths_2x.pngxkcd…

note: you can do this in raw LaTeX code (which would pass through an MMD compile) apparently, see this pandoc discussion thread…