Mention typst fonts for font parameter (#3919)

This commit is contained in:
Rik Huijzer 2024-04-13 10:48:07 +02:00 committed by Laurenz
parent e039552f9d
commit b729fb3255

View File

@ -106,7 +106,9 @@ pub struct TextElem {
///
/// - Locally, Typst uses your installed system fonts. In addition, you can
/// use the `--font-path` argument or `TYPST_FONT_PATHS` environment
/// variable to add directories that should be scanned for fonts.
/// variable to add directories that should be scanned for fonts. Run
/// `typst fonts` to see the fonts that Typst has discovered on your
/// system.
///
/// ```example
/// #set text(font: "PT Sans")