API Reference
Class
MarkdownVisualThemePreset
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
- Property MarkdownVisualTheme.Presets
Methods
CreateTheme 2 overloads
public MarkdownVisualTheme CreateTheme() #Returns:
MarkdownVisualThemeCreates a fresh theme instance for this preset.
public MarkdownVisualTheme CreateTheme(MarkdownColorSchemeKind colorScheme) #Returns:
MarkdownVisualThemeCreates a fresh theme instance for this preset and applies a built-in color scheme.
Parameters
- colorScheme OfficeIMO.Markdown.MarkdownColorSchemeKind
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.