Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownNativeVisualPayload

OfficeIMO.Markdown

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

Dependency-free typed metadata for a semantic visual fenced-block payload.

Inheritance

  • object
  • MarkdownNativeVisualPayload

Usage

Explore 2 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 static MarkdownNativeVisualPayload Create(SemanticFencedBlock visual) #

Classifies a semantic fenced block payload without introducing a JSON parser dependency.

Parameters

visual OfficeIMO.Markdown.SemanticFencedBlock required

Properties

public MarkdownNativeVisualPayloadFormat Format { get; } #

Classified payload format.

public bool IsJson { get; } #

Whether the payload appears to be JSON.

public bool IsMermaid { get; } #

Whether the payload appears to be a Mermaid diagram.

public string DeclaredSemanticKind { get; } #

Semantic kind declared by the fenced block.

public string? DetectedSemanticKind { get; } #

Best-effort semantic kind detected from the payload, when available.

public string? JsonType { get; } #

Best-effort value of a JSON type property, when available.

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

Small dependency-free signal map for UI hosts that need quick routing hints.