MarkdownHtmlColorOverrides
OfficeIMO.Markdown
Optional color overrides for Markdown HTML rendering. Values are CSS color strings (e.g., #RRGGBB). Leave null to keep defaults from the selected MarkdownHtmlStyle.
Inheritance
- object
- MarkdownHtmlColorOverrides
Usage
Explore 1 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
Constructors
public MarkdownHtmlColorOverrides() #Inherited Methods
Properties
public string? AccentLight { get; set; } #Accent color for light mode. Used for links, active TOC items, and accented borders. Example: "#0969da".
public string? AccentDark { get; set; } #Accent color for dark mode. Used for links, active TOC items, and accented borders. Example: "#2f81f7".
public string? HeadingLight { get; set; } #Heading color (h1..h6) in light mode.
public string? HeadingDark { get; set; } #Heading color (h1..h6) in dark mode.
public string? TocBgLight { get; set; } #Background color of the TOC panel in light mode.
public string? TocBgDark { get; set; } #Background color of the TOC panel in dark mode.
public string? TocBorderLight { get; set; } #Border color of the TOC in light mode.
public string? TocBorderDark { get; set; } #Border color of the TOC in dark mode.
public string? ActiveLinkLight { get; set; } #Active TOC link color in light mode (overrides MarkdownHtmlColorOverrides.AccentLight when set).
public string? ActiveLinkDark { get; set; } #Active TOC link color in dark mode (overrides MarkdownHtmlColorOverrides.AccentDark when set).