CodePresenceProperty

data class CodePresenceProperty(val value: Boolean) : Property<Boolean>

If this property is present in com.quarkdown.core.ast.attributes.AstAttributes.thirdPartyPresenceProperties and its value is true, it means there is at least one code block in the AST. This is used to load the HighlightJS library in HTML rendering only if necessary.

See also

Constructors

Link copied to clipboard
constructor(value: Boolean)

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val key: Property.Key<Boolean>

The key of the property, used to identify it.

Link copied to clipboard
open override val value: Boolean

The value of the property.