linkWithHref

fun linkWithHref(href: Url): Link?

Finds the first Link with the given HREF in the publication's links.

Searches through (in order) readingOrder, resources and links recursively following alternate and children links.

If there's no match, tries again after removing any query parameter and anchor from the given href.