Interface
IMarkdownBlockParser
OfficeIMO.Markdown
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
- Property MarkdownBlockParserExtension.Parser
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[]
- All lines of the document.
- i int
- Current index within lines. Implementations advance it when they consume lines.
- options OfficeIMO.Markdown.MarkdownLoadOptions
- Reader options controlling parsing behavior.
- doc OfficeIMO.Markdown.MarkdownDocument
- Markdown document model being built.
- state OfficeIMO.Markdown.MarkdownReaderState
- Mutable state shared across parsers.
Returns
bool true if a block was parsed; otherwise false.