Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.Object

Syntax

Summary

Represents the styling configuration for various UI elements in the Mintlify documentation site.

Remarks

This configuration controls the visual styling of specific components such as breadcrumbs, section eyebrows, and code blocks throughout the documentation.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Codeblocks

Gets or sets the code block theme.

Syntax

Property Value

Type: string?

Remarks

Valid values are “system” or “dark”. The “system” option uses a theme that matches the current light/dark mode, while “dark” always uses a dark theme for code blocks regardless of the site’s appearance mode. Defaults to “system”.

Eyebrows

Gets or sets the eyebrows style for content sections.

Syntax

Property Value

Type: string?

Remarks

Valid values are “section” or “breadcrumbs”. This controls the style of the small text that appears above page titles and section headers. “section” shows the current section name, while “breadcrumbs” shows the full navigation path. Defaults to “section”.

Latex

Gets or sets whether to force loading the LaTeX stylesheet.

Syntax

Property Value

Type: System.Nullable<bool>?

Remarks

When set to true, the LaTeX stylesheet is always loaded. When false, it is never loaded. When not specified (null), Mintlify auto-detects LaTeX usage and loads the stylesheet only when mathematical expressions are found in the content.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?