Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

MarkdownBlockParseResult

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
Base
ValueType
Modifiers
sealed

Result returned by a custom block parser when it recognizes a block at the current line.

Inheritance

  • ValueType
  • MarkdownBlockParseResult

Usage

Explore 3 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.

Accepted by parameters 3

Constructors

MarkdownBlockParseResult 2 overloads
public MarkdownBlockParseResult(IMarkdownBlock block, int consumedLineCount) #

Creates a block parse result for a single block.

Parameters

block OfficeIMO.Markdown.IMarkdownBlock required
consumedLineCount int required
public MarkdownBlockParseResult(IReadOnlyList<IMarkdownBlock> blocks, int consumedLineCount) #

Creates a block parse result for one or more blocks.

Parameters

blocks System.Collections.Generic.IReadOnlyList<OfficeIMO.Markdown.IMarkdownBlock> required
consumedLineCount int required

Properties

public IReadOnlyList<IMarkdownBlock> Blocks { get; } #

Blocks produced by the parser.

public int ConsumedLineCount { get; } #

Number of source lines consumed by the parser.