Class
MarkdownHtmlAsset
OfficeIMO.Markdown
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
- Property MarkdownHtmlParts.Assets
Accepted by parameters 1
Constructors
public MarkdownHtmlAsset(string id, MarkdownHtmlAssetKind kind, string? href, string? inline) #Creates a new asset descriptor.
Parameters
- id string
- kind OfficeIMO.Markdown.MarkdownHtmlAssetKind
- href string?
- inline string?
Inherited Methods
Properties
public string Id { get; } #Stable identifier used for deduplication, e.g. "prism-core" or "prism-lang:csharp".
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)").