Klasse HeadingExtractor

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

public class HeadingExtractor extends Object implements MarkdownProcessingStep
Processing step that extracts headings from the Markdown content Stores heading texts and their corresponding levels in the context
  • Konstruktordetails

    • HeadingExtractor

      public HeadingExtractor()
  • Methodendetails

    • process

      public void process(MarkdownContext context)
      Extracts headings and their levels from the Markdown content Updates the context with lists of heading texts and their levels
      Angegeben von:
      process in Schnittstelle MarkdownProcessingStep
      Parameter:
      context - the MarkdownContext containing the original Markdown content