Table of Contents

Property NormalizeWhitespace

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

NormalizeWhitespace

Gets or sets a value indicating whether consecutive blank lines in the final output are collapsed into a single blank line. Defaults to true.

public bool NormalizeWhitespace { get; set; }

Property Value

bool

Examples

// Preserve the original blank-line spacing (useful when reconstructing the source layout).
var options = new DocumentToMarkdownOptions { NormalizeWhitespace = false };
Share