RichTextPlain

data class RichTextPlain(val text: String) : RichText

A plain (non-formatted) part of a RichText. Serialized as a bare JSON string.

Constructors

Link copied to clipboard
constructor(text: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val html: String

Rich HTML style representation of this RichText.

Link copied to clipboard
open override val markdown: String

Rich Markdown style representation of this RichText.

Link copied to clipboard
open override val rawText: String

Plain (unformatted) text of this RichText. For RichTextEntitys without an inner RichText it falls back to the most meaningful textual representation: alternative text for custom emojis, the expression for mathematical expressions and an empty string for anchors.

Link copied to clipboard