```
% pandoc -t markdown --reference-links
All because of [1](#one) link...
[This](#foo) will break Pandoc.
[This](#bar) will make you laugh.
^D
All because of [1] link...
[This] will break Pandoc.
[This][2] will make you laugh.
[1]: #one
[This]: #foo
[2]: #bar
```