Image

constructor(link: LinkNode, width: Size?, height: Size?, referenceId: String? = null, usesMediaStorage: Boolean = true)

Parameters

link

the link the image points to

width

optional width constraint

height

optional height constraint

referenceId

optional ID that can be cross-referenced via a com.quarkdown.core.ast.quarkdown.reference.CrossReference

usesMediaStorage

whether this image should be registered in the media storage by com.quarkdown.core.context.hooks.MediaStorerHook, if the media storage is enabled in the context