Interface
ISyntaxMarkdownBlock
OfficeIMO.Markdown
Allows a block node to control the syntax-tree node emitted by MarkdownReader.ParseWithSyntaxTree. Custom block parser and fenced-block extensions can implement this to contribute precise AST nodes instead of falling back to generic MarkdownSyntaxKind.Unknown output.
Methods
public abstract MarkdownSyntaxNode BuildSyntaxNode(MarkdownSourceSpan? span) #Builds the syntax-tree node for this block.
Parameters
- span OfficeIMO.Markdown.MarkdownSourceSpan?
- Source span mapped to the block when available.