.PollenAbstractLinkRule

abstract type defined in module Pollen


			abstract type AbstractLinkRule

Extending

A rule R must implement the following methods:

  • parselink (::R, ::LinkInfo) -> String | Nothing checks whether the rule applies to the link, returning a target if it does, or nothing otherwise

  • resolvelink (::R, ::LinkInfo, target) takes a parsed target and returns a new Node that replaces the original link node.