padding

fun padding(padding: String, body: TextContentBuilder.() -> Unit)(source)

Adds padding to each line of the content produced by the provided builder block.

Parameters

padding

The string to prepend to each line of the content.

body

A lambda function applied to a TextContentBuilder instance, where the content is constructed.