Table of Contents

Property IncludeEmptyParagraphs

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

IncludeEmptyParagraphs

Gets or sets a value indicating whether empty paragraphs are preserved when the input is a DOCX document. Defaults to false: blank paragraphs are collapsed so the Markdown is not padded with spurious whitespace.

public bool IncludeEmptyParagraphs { get; set; }

Property Value

bool

Examples

// Preserve the original paragraph spacing of the DOCX.
var options = new DocumentToMarkdownOptions { IncludeEmptyParagraphs = true };
Share