Package-level declarations
Types
Link copied to clipboard
class TableOfContentsView(val title: InlineContent?, val maxDepth: Int, focusedItem: InlineContent? = null) : Node
When this node is rendered, the current table of contents, retrieved from the auto-generated AstAttributes.tableOfContents, is displayed.
Functions
Link copied to clipboard
fun TableOfContentsView.convertToListNode(renderer: NodeVisitor<CharSequence>, items: List<TableOfContents.Item>, linkUrlMapper: (TableOfContents.Item) -> String): OrderedList
Converts a table of contents to a renderable OrderedList.