MarkdownNativeInline
OfficeIMO.Markdown
AST-backed native projection for a markdown inline node.
Inheritance
- object
- MarkdownNativeInline
Usage
Explore 16 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 12
- Property MarkdownNativeCalloutBlock.TitleInlineRuns
- Property MarkdownNativeDefinitionListTerm.InlineRuns
- Property MarkdownNativeDetailsBlock.SummaryInlineRuns
- Method MarkdownNativeDocument.EnumerateInlines
- Method MarkdownNativeDocument.FindInlineAtPosition
- Method MarkdownNativeDocument.FindInlineById
- Property MarkdownNativeHeadingBlock.InlineRuns
- Property MarkdownNativeInline.Children
- Property MarkdownNativeListItem.InlineRuns
- Property MarkdownNativeListItemParagraph.InlineRuns
- Property MarkdownNativeParagraphBlock.InlineRuns
- Property MarkdownNativeTableCell.InlineRuns
Accepted by parameters 4
Methods
public bool ContainsPosition(int lineNumber, int columnNumber) #Returns true when this inline's source span contains the supplied 1-based position.
Parameters
- lineNumber int
- columnNumber int
Returns
boolpublic string? GetMetadata(string name) #Returns the first metadata value with the supplied name.
Parameters
- name string
Returns
string?Inherited Methods
Properties
public string Id { get; } #Deterministic identity for this inline projection within stable markdown input.
public MarkdownNativeInlineKind Kind { get; } #Native inline projection kind.
public MarkdownSyntaxKind SyntaxKind { get; } #Syntax kind that produced this native inline.
public MarkdownSourceSpan? SourceSpan { get; } #Source span in the normalized markdown text when available.
public MarkdownSyntaxNode SyntaxNode { get; } #Syntax node that produced this native inline.
public IMarkdownInline? SourceInline { get; } #Original OfficeIMO markdown inline backing this projection when available.
public string Literal { get; } #Literal syntax payload for leaf-like inline nodes.
public string Markdown { get; } #Markdown represented by this inline node when renderable.
public IReadOnlyList<MarkdownNativeInline> Children { get; } #Nested native inline nodes, excluding metadata leaves such as link target/title.
public IReadOnlyList<MarkdownNativeInlineMetadata> Metadata { get; } #Source-backed metadata leaves such as link target/title or image alt/source.