DefaultMarkdownAnnotator

class DefaultMarkdownAnnotator(val annotate: AnnotatedString.Builder.(content: String, child: ASTNode) -> Boolean?, val config: MarkdownAnnotatorConfig) : MarkdownAnnotator

Constructors

Link copied to clipboard
constructor(annotate: AnnotatedString.Builder.(content: String, child: ASTNode) -> Boolean?, config: MarkdownAnnotatorConfig)

Properties

Link copied to clipboard
open override val annotate: AnnotatedString.Builder.(content: String, child: ASTNode) -> Boolean?

Use the AnnotatedString.Builder to build the string to display. Return true to consume the child, false to allow default handling.

Link copied to clipboard
open override val config: MarkdownAnnotatorConfig

Defines static configuration for the androidx.compose.ui.text.AnnotatedString annotator

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int