API Reference
Interface
IMarkdownBlockParser
Contract for a single block parser used by the Markdown reader pipeline.
Methods
public abstract Boolean TryParse(String[] lines, ref Int32 i, MarkdownReaderOptions options, MarkdownDoc doc, MarkdownReaderState state) #Returns:
BooleanAttempts to parse a block starting at the specified line.
Parameters
- lines System.String[]
- All lines of the document.
- i System.Int32@
- Current index within lines. Implementations advance it when they consume lines.
- options OfficeIMO.Markdown.MarkdownReaderOptions
- Reader options controlling parsing behavior.
- doc OfficeIMO.Markdown.MarkdownDoc
- Markdown document model being built.
- state OfficeIMO.Markdown.MarkdownReaderState
- Mutable state shared across parsers.
Returns
true if a block was parsed; otherwise false.