Mention `typst fonts` for `font` parameter (#3919)
This commit is contained in:
parent
020294fca9
commit
f25874640e
|
|
@ -106,7 +106,9 @@ pub struct TextElem {
|
||||||
///
|
///
|
||||||
/// - Locally, Typst uses your installed system fonts. In addition, you can
|
/// - Locally, Typst uses your installed system fonts. In addition, you can
|
||||||
/// use the `--font-path` argument or `TYPST_FONT_PATHS` environment
|
/// 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
|
/// ```example
|
||||||
/// #set text(font: "PT Sans")
|
/// #set text(font: "PT Sans")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue