Table of Contents

Property EmitFrontMatter

Namespace
LMKit.Document.Conversion
Assembly
LM-Kit.NET.dll

EmitFrontMatter

Gets or sets a value indicating whether a YAML front-matter block is emitted at the top of the output containing conversion metadata (source name, page count, strategy, timestamp). Defaults to false. Enable when the Markdown feeds a static-site generator or a knowledge base that indexes front-matter fields.

public bool EmitFrontMatter { get; set; }

Property Value

bool

Examples

var options = new DocumentToMarkdownOptions { EmitFrontMatter = true };
// Output starts with:
//   ---
//   source: report.pdf
//   pages: 42
//   strategy: Hybrid
//   ...
//   ---
Share