summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRik Huijzer <github@huijzer.xyz>2024-04-13 10:48:07 +0200
committerGitHub <noreply@github.com>2024-04-13 08:48:07 +0000
commitf25874640ee2363937dd2534b7f2a59f98dba3f0 (patch)
tree990a74ebef36ddce1ae3b15d7d8d3b0e3fc217b7
parent020294fca9a7065d4b9cf4e677f606ebaaa29b00 (diff)
Mention `typst fonts` for `font` parameter (#3919)
-rw-r--r--crates/typst/src/text/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/typst/src/text/mod.rs b/crates/typst/src/text/mod.rs
index bcfca08d..f7c19d8e 100644
--- a/crates/typst/src/text/mod.rs
+++ b/crates/typst/src/text/mod.rs
@@ -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")