ReferenceImage

class ReferenceImage(val link: ReferenceLink, val width: Size?, val height: Size?, val referenceId: String? = null) : CrossReferenceableNode

An images that references a LinkDefinition.

Parameters

link

the link the image references

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

Constructors

Link copied to clipboard
constructor(link: ReferenceLink, width: Size?, height: Size?, referenceId: String? = null)

Properties

Link copied to clipboard
val height: Size?
Link copied to clipboard
Link copied to clipboard
open override val referenceId: String? = null
Link copied to clipboard
val width: Size?

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard

Retrieves the stored media associated with this node, if any.

Link copied to clipboard