Alle Klassen und Schnittstellen

Klasse
Beschreibung
Processing step that injects anchor IDs into headings Modifies the Markdown content by appending {#slug} to each heading Ensures internal links work in tools like Pandoc and EPUB readers
Default implementation of the SlugStrategy interface Converts headings to lowercase, removes special characters, and replaces spaces with dashes
Processing step that extracts headings from the Markdown content Stores heading texts and their corresponding levels in the context
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
Configuration class for controlling how Markdown headings are converted into slugs Provides fine-grained control over character replacements, case transformation, accent removal, whitespace handling, character filtering, and formatting behavior
Processing step that generates slugs from extracted headings Uses the configured SlugStrategy to create a list of slugs and stores them in the context
Strategy interface for generating slugs from headings Used to create URL-safe fragment identifiers for Markdown links
Processing step that builds a Markdown table of contents (TOC) Uses heading levels and slugs to create an indented list of links