MaximumNestingDepth Property

Definition

Namespace Markdig
Assembly Markdig.dll

Gets or sets the maximum nesting depth allowed for the Markdown syntax tree during parsing and rendering.

public int MaximumNestingDepth { get; set; }

Returns

Remarks

The default value is 128. Raising this value allows deeper documents but can increase parsing cost and rendering stack usage.