TryDiscard(Block) Method

Definition

Namespace Markdig.Parsers
Assembly Markdig.dll

Tries to discard the specified block from the open stack and remove it from its parent.

public bool TryDiscard(Block block)

Parameters

block
Block

The block to discard.

Returns

Boolean
true if the block was discarded; otherwise false.