API Reference
Interface
ISyntaxMarkdownBlock
Allows a block node to control the syntax-tree node emitted by MarkdownReaderOptions). Custom block parser and fenced-block extensions can implement this to contribute precise AST nodes instead of falling back to generic Unknown output.
Methods
public abstract MarkdownSyntaxNode BuildSyntaxNode(Nullable<MarkdownSourceSpan> span) #Returns:
MarkdownSyntaxNodeBuilds the syntax-tree node for this block.
Parameters
- span System.Nullable{OfficeIMO.Markdown.MarkdownSourceSpan}
- Source span mapped to the block when available.
Returns
A syntax node representing this block.