annotatedStringResource

fun annotatedStringResource(text: String, imageGetter: Map<String, EmbeddableImage> = emptyMap(), urlSpanStyle: SpanStyle = SpanStyle(textDecoration = TextDecoration.Underline)): AnnotatedString

Load a styled string resource with formatting.

Return

the string data associated with the resource

Parameters

text

the html text

imageGetter

the mapping of string to resource id