API Reference
Interface
ISyntaxMarkdownBlockWithContext
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:
MarkdownSyntaxNodeBuilds the syntax-tree node for this block using the supplied builder context.
Parameters
- context OfficeIMO.Markdown.MarkdownBlockSyntaxBuilderContext
- Helper context for building nested block and inline syntax nodes.
- span System.Nullable{OfficeIMO.Markdown.MarkdownSourceSpan}
- Source span mapped to the block when available.
Returns
A syntax node representing this block.