Class TocExtension

java.lang.Object
com.vladsch.flexmark.ext.toc.TocExtension
All Implemented Interfaces:
HtmlRenderer.HtmlRendererExtension, Parser.ParserExtension, Extension

public class TocExtension extends Object implements Parser.ParserExtension, HtmlRenderer.HtmlRendererExtension
Extension for tocs

Create it with create() and then configure it on the builders

The parsed [TOC] text is turned into TocBlock nodes. Rendered into table of contents based on the headings in the document