API Reference
Class
MarkdownNativeBlock
Base type for an AST-backed native markdown block projection.
Inheritance
- Object
- MarkdownNativeBlock
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property MarkdownNativeCalloutBlock.Children
- Property MarkdownNativeDetailsBlock.Children
- Property MarkdownNativeDiagnostic.Block
- Method MarkdownNativeDocument.DescendantBlocksAndSelf
- Method MarkdownNativeDocument.FindBlockAtLine
- Method MarkdownNativeDocument.FindBlockAtPosition
- Method MarkdownNativeDocument.FindBlockById
- Method MarkdownNativeDocument.GetBlockPath
- Property MarkdownNativeDocument.Blocks
- Property MarkdownNativeListItem.Children
- Property MarkdownNativeQuoteBlock.Children
- Property MarkdownNativeTableCell.Children
Accepted by parameters
Methods
public Boolean ContainsLine(Int32 lineNumber) #Returns:
BooleanReturns true when this block's source span contains the supplied 1-based line.
Parameters
- lineNumber System.Int32
public MarkdownNativeBlockSnapshot ToSnapshot() #Returns:
MarkdownNativeBlockSnapshotCreates a UI-safe snapshot of this block without parser object references.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Id { get; } #Deterministic identity for this projection within stable markdown input.
public MarkdownNativeBlockKind Kind { get; } #Native projection kind.
public Nullable<MarkdownSourceSpan> SourceSpan { get; } #Source span in the normalized markdown text when available.
public MarkdownSyntaxNode SyntaxNode { get; } #Syntax node that produced this native block.
public IMarkdownBlock SourceBlock { get; } #Original OfficeIMO markdown block backing this projection.