Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownHtmlAsset

OfficeIMO.Markdown

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

Represents a CSS/JS asset with a stable id for deduplication.

Inheritance

  • object
  • MarkdownHtmlAsset

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.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public MarkdownHtmlAsset(string id, MarkdownHtmlAssetKind kind, string? href, string? inline) #

Creates a new asset descriptor.

Parameters

id string required
kind OfficeIMO.Markdown.MarkdownHtmlAssetKind required
href string? required
inline string? required

Properties

public string Id { get; } #

Stable identifier used for deduplication, e.g. "prism-core" or "prism-lang:csharp".

public MarkdownHtmlAssetKind Kind { get; } #

Asset type (CSS or JS).

public string? Href { get; } #

URL to the asset when linked; null when inlined.

public string? Inline { get; } #

Inline content when not linked; null when referenced via Href.

public string? Media { get; set; } #

Optional media attribute for CSS links (e.g., "(prefers-color-scheme: dark)").