API Reference

Class

MarkdownVisualThemePreset

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Modifiers sealed

Describes a built-in visual theme preset that can be offered by callers as a stable theme choice.

Inheritance

  • Object
  • MarkdownVisualThemePreset

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Methods

CreateTheme 2 overloads
public MarkdownVisualTheme CreateTheme() #
Returns: MarkdownVisualTheme

Creates a fresh theme instance for this preset.

public MarkdownVisualTheme CreateTheme(MarkdownColorSchemeKind colorScheme) #
Returns: MarkdownVisualTheme

Creates a fresh theme instance for this preset and applies a built-in color scheme.

Parameters

colorScheme OfficeIMO.Markdown.MarkdownColorSchemeKind requiredposition: 0

Properties

public MarkdownVisualThemeKind Kind { get; } #

Built-in theme kind used to create the preset.

public String Name { get; } #

Stable display/API name for the preset.

public String Description { get; } #

Short description callers can show in pickers or documentation.

public HtmlStyle HtmlStyle { get; } #

Preferred HTML style used when rendering the preset to HTML.

public IReadOnlyList<String> Aliases { get; } #

Additional accepted names for lookup and front matter.