API Reference
MarkdownHtmlColorOverrides
Optional color overrides for Markdown HTML rendering. Values are CSS color strings (e.g., #RRGGBB). Leave null to keep defaults from the selected HtmlStyle.
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
- Property HtmlOptions.ColorOverrides
Constructors
public MarkdownHtmlColorOverrides() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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).