TableOfContentsGeneratorHook

Hook that allows the generation of a TableOfContents by iterating through Headings. The TableOfContents is stored in the context's MutableContext.attributes at the end of the traversal.

Constructors

Link copied to clipboard
constructor(context: MutableContext)

Functions

Link copied to clipboard
open override fun attach(iterator: ObservableAstIterator)

Attaches this hook to the given iterator.