Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

ISyntaxMarkdownBlockWithContext

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
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, MarkdownSourceSpan? span) #

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

Parameters

context OfficeIMO.Markdown.MarkdownBlockSyntaxBuilderContext required
Helper context for building nested block and inline syntax nodes.
span OfficeIMO.Markdown.MarkdownSourceSpan? required
Source span mapped to the block when available.

Returns

MarkdownSyntaxNode A syntax node representing this block.