Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IMarkdownBlockParser

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
Modifiers
abstract

Contract for a single block parser used by the Markdown reader pipeline.

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Methods

public abstract bool TryParse(string[] lines, ref int i, MarkdownLoadOptions options, MarkdownDocument doc, MarkdownReaderState state) #

Attempts to parse a block starting at the specified line.

Parameters

lines string[] required
All lines of the document.
i int required
Current index within lines. Implementations advance it when they consume lines.
options OfficeIMO.Markdown.MarkdownLoadOptions required
Reader options controlling parsing behavior.
doc OfficeIMO.Markdown.MarkdownDocument required
Markdown document model being built.
state OfficeIMO.Markdown.MarkdownReaderState required
Mutable state shared across parsers.

Returns

bool true if a block was parsed; otherwise false.