Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownNativeInlineInfo

OfficeIMO.Markdown

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

UI-safe snapshot of a native inline.

Inheritance

  • object
  • MarkdownNativeInlineInfo

Usage

Explore 6 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.

Methods

public IEnumerable<MarkdownNativeInlineMetadataInfo> EnumerateMetadataFields(string name) #

Enumerates source-backed metadata fields with the supplied field name in source order.

Parameters

name string required
public MarkdownNativeInlineMetadataInfo? FindMetadataField(string name, int index = -1) #

Finds the first source-backed metadata field with the supplied name, optionally constrained to an occurrence index.

Parameters

name string required
index int = -1 optional

Properties

public string Id { get; } #

Stable inline id.

public MarkdownNativeInlineKind Kind { get; } #

Native inline kind.

public MarkdownSyntaxKind SyntaxKind { get; } #

Syntax kind that produced this inline.

public string Text { get; } #

Plain text represented by this inline.

public string Markdown { get; } #

Markdown represented by this inline.

public string Literal { get; } #

Literal syntax payload.

public MarkdownNativeSourceSpanInfo? SourceSpan { get; } #

Source span snapshot when available.

public IReadOnlyDictionary<string, string> Metadata { get; } #

Metadata values such as target/title/source/alt.

public IReadOnlyDictionary<string, MarkdownNativeSourceSpanInfo?> MetadataSourceSpans { get; } #

Source spans for metadata values such as target/title/source/alt.

public IReadOnlyList<MarkdownNativeInlineMetadataInfo> MetadataFields { get; } #

Source-backed metadata fields in source order, including repeated metadata names.

public IReadOnlyList<MarkdownNativeInlineInfo> Children { get; } #

Nested inline snapshots.