Link resolver accepts two references and should return Target with correspondent link.
If link doesn't exists link resolver should return null
.
CommonMark defines reference as case insensitive. Use normalizedReference
when you need reference
normalized according to CommonMark rules, or just reference
if you want to get reference as it
written in document.
Source
typedef Target LinkResolver(String normalizedReference, String reference);