LinkDefinitionResolverHook

Hook that associates a LinkDefinition to each ReferenceLink, producing a resolved Link node that can be retrieved via com.quarkdown.core.ast.attributes.reference.getDefinition.

When a match is found, ReferenceLink.onResolve callbacks are triggered, which are used by com.quarkdown.core.context.hooks.MediaStorerHook to register media for reference images.

Constructors

Link copied to clipboard
constructor(context: MutableContext)

Functions

Link copied to clipboard
open override fun attach(iterator: ObservableAstIterator)

Attaches this hook to the given iterator.