blockTypeParagraphStyle

fun blockTypeParagraphStyle(mapper: (<Error class: unknown class><out <Error class: unknown class>>) -> ParagraphStyle)

Registers a ParagraphStyle mapping applied to any BlockTypeAttributeKey present in the container. When the AttributeContainer contains any BlockTypeAttributeKey, the mapper is invoked with that key.