FencedBlockParserBase.InfoParserDelegate Delegate

Definition

Namespace Markdig.Parsers
Assembly Markdig.dll

Delegate used to parse the string on the first line after the fenced code block special characters (usually ` or ~)

public delegate bool InfoParserDelegate(BlockProcessor state, ref StringSlice line, IFencedBlock fenced, char openingCharacter);

Parameters

state
BlockProcessor

The parser processor.

line
StringSlice

The being processed line.

fenced
IFencedBlock

The fenced code block.

openingCharacter
Char

The opening character for the fenced code block (usually ` or ~)

Returns

Boolean
true if parsing of the line is successfull; false otherwise