``` % pandoc -f html -t markdown --reference-links foo Foo ^D [foo][] [Foo][1] [foo]: a [1]: b ``` ``` % pandoc -f html -t markdown --reference-links foo Foo ^D [foo][] [Foo] [foo]: a ```