Table of Contents

Property PreferMarkdownTablesForNonNested

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

PreferMarkdownTablesForNonNested

Gets or sets a value indicating whether non-nested HTML <table> fragments present in the converted Markdown are rewritten into GitHub-flavored Markdown table syntax. Tables that contain a nested <table>, or any cell using rowspan/colspan, are left as HTML because Markdown cannot express those layouts. Fenced code blocks are preserved verbatim so example HTML inside ```/~~~ fences is never altered. Defaults to false.

public bool PreferMarkdownTablesForNonNested { get; set; }

Property Value

bool

Examples

// Produce GitHub-flavored Markdown tables where possible.
var options = new DocumentToMarkdownOptions { PreferMarkdownTablesForNonNested = true };
Share