Builder

data class Builder(var spans: MutableList<FormattedText.Span> = mutableListOf())

Constructors

Link copied to clipboard
constructor(spans: MutableList<FormattedText.Span> = mutableListOf())

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun br()
Link copied to clipboard
fun code(group: Boolean = false, builder: FormattedText.Builder.() -> Unit)
fun code(text: String, group: Boolean = false)
Link copied to clipboard
fun emphasis(builder: FormattedText.Builder.() -> Unit)
fun emphasis(text: String)
Link copied to clipboard
fun link(url: String, builder: FormattedText.Builder.() -> Unit)
Link copied to clipboard
fun space()
Link copied to clipboard
fun strong(builder: FormattedText.Builder.() -> Unit)
fun strong(text: String)
Link copied to clipboard
fun sub(builder: FormattedText.Builder.() -> Unit)
fun sub(text: String)
Link copied to clipboard
fun sup(builder: FormattedText.Builder.() -> Unit)
fun sup(text: String)
Link copied to clipboard
fun text(text: String)