API Reference

Class

MarkdownNativeVisualPayload

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers sealed

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

Inheritance

  • Object
  • MarkdownNativeVisualPayload

Usage

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) #
Returns: MarkdownNativeVisualPayload

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

Parameters

visual OfficeIMO.Markdown.SemanticFencedBlock requiredposition: 0

Properties

public MarkdownNativeVisualPayloadFormat Format { get; } #

Classified payload format.

public Boolean IsJson { get; } #

Whether the payload appears to be JSON.

public Boolean 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.