BlockDecorator

interface BlockDecorator

Interface for rendering custom decorations around or behind block-level paragraphs.

Properties

Link copied to clipboard
abstract val supportedKeys: Set<<Error class: unknown class><out <Error class: unknown class>>>

Set of AttributeKeys that this decorator handles.

Functions

Link copied to clipboard
abstract fun Decoration(key: <Error class: unknown class><out <Error class: unknown class>>, value: Any?, context: BlockDecorationContext)

Renders decoration content for the specified block attribute key and value.