diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:08:16 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:11:37 +0100 |
| commit | f5f7df7247ae29800e0290774a50942e2485beea (patch) | |
| tree | 57253ba51efdae3ac8e4eea722428924625b514c /library/src/text/mod.rs | |
| parent | b8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff) | |
Documentation
Diffstat (limited to 'library/src/text/mod.rs')
| -rw-r--r-- | library/src/text/mod.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/library/src/text/mod.rs b/library/src/text/mod.rs index 315de95d..e962685d 100644 --- a/library/src/text/mod.rs +++ b/library/src/text/mod.rs @@ -25,17 +25,18 @@ use typst::util::EcoString; use crate::layout::ParNode; use crate::prelude::*; +/// # Text /// Stylable text. /// -/// # Parameters +/// ## Parameters /// - family: EcoString (positional, variadic, settable) /// A prioritized sequence of font families. /// /// - body: Content (positional, required) /// Content in which all text is styled according to the other arguments. /// -/// # Tags -/// - text +/// ## Category +/// text #[func] #[capable] #[derive(Clone, Hash)] |
