LinkMapper typedef
LinkMapper =
String Function(InlineParser parser, String url)
Maps an URL (specified in a reference).
If nothing to change, just return url
.
It can return null (if not a link), a String or a Link.
Implementation
typedef LinkMapper = String Function(InlineParser parser, String url);