Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownNativeInline

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

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.

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 required
columnNumber int required

Returns

bool
public string? GetMetadata(string name) #

Returns the first metadata value with the supplied name.

Parameters

name string required

Returns

string?

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 Text { get; } #

Plain text represented by this inline node.

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.