Package io.github.astrapisixtynine.markdownslugger.core


package io.github.astrapisixtynine.markdownslugger.core
  • Klasse
    Beschreibung
    MarkdownContext holds the state used and modified throughout the Markdown processing pipeline It contains the original Markdown content, extracted heading texts and their levels, generated slugs, and a generated table of contents.
    Interface for processing steps that operate on a MarkdownContext Implementations should perform a specific transformation or analysis on the Markdown document (e.g., heading extraction, TOC generation)
    MarkdownProcessor executes a pipeline of MarkdownProcessingStep instances Each step modifies or enriches the provided MarkdownContext This processor can be used to extract headings, generate slugs, create a TOC, inject anchor IDs, and more