Table of Contents

Property PageSeparatorFormat

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

PageSeparatorFormat

Gets or sets the separator format used between pages. The placeholder {pageNumber} is replaced with the 1-based page number. Defaults to a horizontal rule followed by an HTML comment carrying the page number. Ignored when IncludePageSeparators is false.

public string PageSeparatorFormat { get; set; }

Property Value

string

Examples

var options = new DocumentToMarkdownOptions
{
    // Emit a simple "Page N" heading between pages.
    PageSeparatorFormat = "\n\n## Page {pageNumber}\n\n"
};
Share