IMarkdownParser<TProcessor> Interface

Base interface for a block or inline parser.

public interface IMarkdownParser<in TProcessor>

Type parameters

TProcessor
The type of processor.

Properties

NameDescription
IndexGets the index of this parser in BlockParserList or InlineParserList.
OpeningCharactersGets the opening characters this parser will be triggered if the character is found.

Index

Gets the index of this parser in BlockParserList or InlineParserList.

int Index { get; }

Property value

int

OpeningCharacters

Gets the opening characters this parser will be triggered if the character is found.

char[]? OpeningCharacters { get; }

Property value

char[]?

Methods

NameDescription
Initialize()Initializes this parser with the specified parser processor.

Initialize()

Initializes this parser with the specified parser processor.

void Initialize()