mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Improve documents for the --font-path
arg & TYPST_FONT_PATHS
env (#4776)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
parent
cf05284a0c
commit
b85217ef14
@ -389,7 +389,10 @@ pub struct FontsCommand {
|
||||
/// Common arguments to customize available fonts
|
||||
#[derive(Debug, Clone, Parser)]
|
||||
pub struct FontArgs {
|
||||
/// Adds additional directories to search for fonts
|
||||
/// Adds additional directories that are recursively searched for fonts
|
||||
///
|
||||
/// If multiple paths are specified, they are separated by the system's path
|
||||
/// separator (`:` on Unix-like systems and `;` on Windows).
|
||||
#[clap(
|
||||
long = "font-path",
|
||||
env = "TYPST_FONT_PATHS",
|
||||
|
Loading…
x
Reference in New Issue
Block a user