Role

interface Role

Represents a purpose of an element in the broader context of the document.

Inheritors

Types

Link copied to clipboard

Normal body of content.

Link copied to clipboard

A footnote at the bottom of a document.

Link copied to clipboard
data class Heading(val level: Int) : Content.TextElement.Role

Title of a section.

Link copied to clipboard
data class Quote(val referenceUrl: URL?, val referenceTitle: String?) : Content.TextElement.Role

A quotation.