Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents the font configuration for the Mintlify documentation site.Remarks
This configuration allows customization of typography by specifying custom fonts including font family, weight, source URLs, and format specifications.Constructors
.ctor
Syntax
Properties
Family
Gets or sets the font family name.Syntax
Property Value
Type:string?
Remarks
Specifies the name of the font family to use, such as “Open Sans” or “Playfair Display”. This should match the font family name defined in the font file.Format
Gets or sets the font file format.Syntax
Property Value
Type:string?
Remarks
Specifies the format of the font file. Valid values are “woff” or “woff2”. WOFF2 is preferred for modern browsers as it provides better compression.Source
Gets or sets the font source URL.Syntax
Property Value
Type:string?
Remarks
Specifies the URL where the font file can be downloaded from. Should be a complete URL pointing to the font file, such as “https://mintlify-assets.b-cdn.net/fonts/Hubot-Sans.woff2”.Weight
Gets or sets the font weight.Syntax
Property Value
Type:System.Nullable<int>?