Klasse MarkdownContext
java.lang.Object
io.github.astrapisixtynine.markdownslugger.core.MarkdownContext
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. This object is passed through each processing step and
enriched with relevant data.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungA list of heading levels corresponding to each heading (e.g., 1 for '#', 2 for '##')A list of all heading texts extracted from the Markdown contentThe original Markdown content to be processedA list of slugs generated from each heading, used for anchors and linksThe generated table of contents in Markdown format -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Felddetails
-
originalContent
The original Markdown content to be processed -
headings
A list of all heading texts extracted from the Markdown content -
headingLevels
A list of heading levels corresponding to each heading (e.g., 1 for '#', 2 for '##') -
slugs
A list of slugs generated from each heading, used for anchors and links -
toc
The generated table of contents in Markdown format
-
-
Konstruktordetails
-
MarkdownContext
public MarkdownContext()
-