UpdateSpanFromChildren(Boolean, Boolean) Method

Definition

Namespace Markdig.Syntax
Assembly Markdig.dll

Updates this container span from its child block spans.

public bool UpdateSpanFromChildren(bool recursive = false, bool preserveSelfSpan = true)

Parameters

recursive
Boolean

When true, updates descendant container blocks and inline containers recursively before updating this container.

preserveSelfSpan
Boolean

When true, preserves this container current span and only expands it to include children. When false, recomputes from children only.

Returns

Boolean
true when this container span changed; otherwise, false.