Class MarkdownSerializer
Serializes a DoclingDocument to Markdown format. Walks the body tree in reading order and emits Markdown for each content item.
public class MarkdownSerializer
- Inheritance
-
MarkdownSerializer
- Inherited Members
Properties
ImagePlaceholder
Placeholder text used for picture items.
public string ImagePlaceholder { get; set; }
Property Value
Methods
Serialize(DoclingDocument)
Converts the entire document body to a Markdown string.
public string Serialize(DoclingDocument doc)
Parameters
docDoclingDocument