MarkdownComponentModel

data class MarkdownComponentModel(val content: String, val node: ASTNode, val typography: MarkdownTypography, val extra: ImmutableMap<String, Any> = persistentMapOf())

Model holding data relevant for a component

Constructors

Link copied to clipboard
constructor(content: String, node: ASTNode, typography: MarkdownTypography, extra: ImmutableMap<String, Any> = persistentMapOf())

Properties

Link copied to clipboard
Link copied to clipboard
val extra: ImmutableMap<String, Any>
Link copied to clipboard

Retrieve the current list depth from the MarkdownComponentModel

Link copied to clipboard
val node: ASTNode
Link copied to clipboard