Interface
ISyntaxMarkdownBlockWithContext
OfficeIMO.Markdown
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
- Helper context for building nested block and inline syntax nodes.
- span OfficeIMO.Markdown.MarkdownSourceSpan?
- Source span mapped to the block when available.