Table of Contents

Class MarkdownSerializer

Namespace
Mythosia.Documents.Elements
Assembly
Mythosia.Documents.Abstractions.dll

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

string

Methods

Serialize(DoclingDocument)

Converts the entire document body to a Markdown string.

public string Serialize(DoclingDocument doc)

Parameters

doc DoclingDocument

Returns

string