Klasse TocGenerator
java.lang.Object
io.github.astrapisixtynine.markdownslugger.pipeline.TocGenerator
- Alle implementierten Schnittstellen:
MarkdownProcessingStep
Processing step that builds a Markdown table of contents (TOC) Uses heading levels and slugs to
create an indented list of links
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
process
(MarkdownContext context) Generates a Markdown-formatted table of contents (TOC) Uses the headings, their levels, and slugs from the context The result is stored in context.toc
-
Konstruktordetails
-
TocGenerator
public TocGenerator()
-
-
Methodendetails
-
process
Generates a Markdown-formatted table of contents (TOC) Uses the headings, their levels, and slugs from the context The result is stored in context.toc- Angegeben von:
process
in SchnittstelleMarkdownProcessingStep
- Parameter:
context
- the MarkdownContext with heading and slug data
-