可为整站,或分别为标题与正文字体设置自定义字体。你可以使用 Google Fonts、本地字体文件,或外部托管的字体。默认字体因主题而异。 在Documentation Index
Fetch the complete documentation index at: https://www.mintlify.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
docs.json 中使用 fonts 属性 配置字体。
Google Fonts
docs.json 中指定字体族名称时,Mintlify 会自动加载 Google Fonts。
docs.json
本地字体
docs.json 配置中进行引用。
设置本地字体
标题与正文字体的本地字体
docs.json 中分别为标题和正文配置本地字体:
docs.json
外部托管字体
docs.json 中通过引用字体源的 URL 来使用外部托管的字体:
docs.json
字体配置参考
文档站点的字体配置。