LinkUrlResolverHook

Hook that resolves relative link paths based on their file system.

If a link uses a relative path and its file system is different from the context's file system, the path is resolved relative to the context's file system.

This is mainly applied to images.

Parameters

context

root context to use for resolution

See also

com.quarkdown.core.ast.attributes.link.ResolvedImagePathProperty

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.