Image
class Image(val link: LinkNode, val width: Size?, val height: Size?, val referenceId: String? = null, val usesMediaStorage: Boolean = true) : CrossReferenceableNode, ErrorCapableNode
An image.
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
Constructors
Properties
Link copied to clipboard
The CrossReferenceableNode.referenceId of this node, if it is a real linkable ID (i.e. not the placeholder).
Link copied to clipboard
Link copied to clipboard