``` % pandoc --id-prefix=foo This.^[Has a footnote.] ^D

This.1


  1. Has a footnote.

```