Heading

fun RichTextScope.Heading(level: Int, text: String)
fun RichTextScope.Heading(level: Int, children: RichTextScope.() -> Unit)

A section heading.

Parameters

level

The non-negative rank of the header, with 0 being the most important.