OfficeIMO

API Reference

Interface

ISyntaxMarkdownBlockWithContext

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers abstract

Extended block syntax contract that provides helper APIs for building child syntax nodes. Prefer this over ISyntaxMarkdownBlock for custom block extensions that need to compose nested block or inline syntax using the same rules as the core reader.

Methods

public abstract MarkdownSyntaxNode BuildSyntaxNode(MarkdownBlockSyntaxBuilderContext context, Nullable<MarkdownSourceSpan> span) #
Returns: MarkdownSyntaxNode

Builds the syntax-tree node for this block using the supplied builder context.

Parameters

context OfficeIMO.Markdown.MarkdownBlockSyntaxBuilderContext requiredposition: 0
Helper context for building nested block and inline syntax nodes.
span System.Nullable{OfficeIMO.Markdown.MarkdownSourceSpan} requiredposition: 1
Source span mapped to the block when available.

Returns

A syntax node representing this block.