java.lang.Object
io.github.astrapisixtynine.markdownslugger.pipeline.TocGenerator
Alle implementierten Schnittstellen:
MarkdownProcessingStep

public class TocGenerator extends Object implements MarkdownProcessingStep
Processing step that builds a Markdown table of contents (TOC) Uses heading levels and slugs to create an indented list of links
  • Konstruktordetails

    • TocGenerator

      public TocGenerator()
  • Methodendetails

    • process

      public void 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
      Angegeben von:
      process in Schnittstelle MarkdownProcessingStep
      Parameter:
      context - the MarkdownContext with heading and slug data