API Reference

Class

MarkdownNativeInline

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers sealed

AST-backed native projection for a markdown inline node.

Inheritance

  • Object
  • MarkdownNativeInline

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public Boolean ContainsPosition(Int32 lineNumber, Int32 columnNumber) #
Returns: Boolean

Returns true when this inline's source span contains the supplied 1-based position.

Parameters

lineNumber System.Int32 requiredposition: 0
columnNumber System.Int32 requiredposition: 1
public String GetMetadata(String name) #
Returns: String

Returns the first metadata value with the supplied name.

Parameters

name System.String requiredposition: 0

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 Nullable<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.