summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Lohr <michael@lohr.dev>2023-04-12 19:03:12 +0200
committerGitHub <noreply@github.com>2023-04-12 19:03:12 +0200
commit8300f75f22cb4dd1b871a7e617397ff7d56ba001 (patch)
tree86897213316442d022dc32f1b94102b2083682d7 /README.md
parente4fda4176ec477c3508549e165c12406f939e8f6 (diff)
Read font path from environment variables (#649)
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index e1091653..97820867 100644
--- a/README.md
+++ b/README.md
@@ -149,6 +149,9 @@ typst --font-path path/to/fonts compile file.typ
# Lists all of the discovered fonts in the system and the given directory.
typst --font-path path/to/fonts fonts
+
+# Or via environement variable (Linux syntax).
+TYPST_FONT_PATHS=path/to/fonts typst fonts
```
If you prefer an integrated IDE-like experience with autocompletion and instant