RichText

fun RichText(content: String, modifier: Modifier = Modifier, color: Color = MaterialTheme.colorScheme.onSurface, primaryColor: Color = MaterialTheme.colorScheme.primary, linkColor: Color = MaterialTheme.colorScheme.secondary, backgroundColor: Color = MaterialTheme.colorScheme.surface, assets: Map<String, ByteString> = mapOf(), appInfo: Map<String, String> = mapOf())

Displays rich text either as markdown (see MarkdownText) or html snippet (see HtmlSnippetText) automatically detecting the formatting.

The height of this composable is determined by the amount of the content that it displays.