Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

IntelligenceXVisualFenceOptions

OfficeIMO.MarkdownRenderer.IntelligenceX

Namespace
OfficeIMO.MarkdownRenderer.IntelligenceX
Assembly
OfficeIMO.MarkdownRenderer.IntelligenceX
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Typed IntelligenceX visual fence metadata layered on top of MarkdownCodeFenceInfo.

Inheritance

  • object
  • IntelligenceXVisualFenceOptions

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 bool HasClass(string className) #

Determines whether the parsed metadata contains the given CSS class.

Parameters

className string required

Returns

bool
Parse 2 overloads
public static IntelligenceXVisualFenceOptions Parse(string? infoString) #

Parses typed IntelligenceX visual fence metadata from a raw fenced-code info string.

Parameters

infoString string? required
public static IntelligenceXVisualFenceOptions Parse(MarkdownCodeFenceInfo? fenceInfo) #

Parses typed IntelligenceX visual fence metadata from a shared fenced-code info descriptor.

Parameters

fenceInfo OfficeIMO.Markdown.MarkdownCodeFenceInfo? required

Properties

public string Language { get; } #

Primary fence language token.

public string InfoString { get; } #

Full normalized fence info string.

public string? ElementId { get; } #

Optional element id parsed from the source fence metadata.

public IReadOnlyList<string> Classes { get; } #

Optional CSS classes parsed from the source fence metadata.

public string? Title { get; } #

Optional visual title resolved from the source fence metadata.

public bool Pinned { get; } #

Whether the fence metadata explicitly pins the visual in host layouts.

public string? Theme { get; } #

Optional theme or palette selector.

public string? Variant { get; } #

Optional named variant selector.

public string? View { get; } #

Optional named view or mode selector.

public int? MaxItems { get; } #

Optional host-defined item limit parsed from common aliases.