BlockDecoratorBuilder
class BlockDecoratorBuilder
Functions
Link copied to clipboard
fun <T> on(key: <Error class: unknown class><T>, decoration: @Composable (value: T, context: BlockDecorationContext) -> Unit)
Registers a composable decoration for the specified AttributeKey. Adjacent paragraphs sharing identical key values will automatically be merged.