Package-level declarations
Types
Functions
Link copied to clipboard
fun annotatedStringResource(text: String, imageGetter: Map<String, EmbeddableImage> = emptyMap(), urlSpanStyle: SpanStyle = SpanStyle(textDecoration = TextDecoration.Underline)): AnnotatedString
Load a styled string resource with formatting.
Link copied to clipboard
Link copied to clipboard
fun Html(html: String, modifier: Modifier = Modifier, imageLoader: Map<String, EmbeddableImage> = emptyMap(), color: Color = Color.Unspecified, style: TextStyle = LocalTextStyle.current, enabled: Boolean = true, urlSpanStyle: SpanStyle = SpanStyle(textDecoration = TextDecoration.Underline), imageAlign: PlaceholderVerticalAlign = PlaceholderVerticalAlign.AboveBaseline)
This will display html annotated text in a string. Images cannot be embedded in link tags. The following tags are supported: , , , , Local/remote sources value in the img tab, must map to something in the imageLoader.