diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst/src/foundations/label.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/typst/src/foundations/label.rs b/crates/typst/src/foundations/label.rs index b54db6fe..91ab572d 100644 --- a/crates/typst/src/foundations/label.rs +++ b/crates/typst/src/foundations/label.rs @@ -12,6 +12,9 @@ use crate::util::PicoStr; /// A labelled element can be [referenced]($ref), [queried]($query) for, and /// [styled]($styling) through its label. /// +/// Once constructed, you can get the name of a label using +/// [`str`]($str/#constructor). +/// /// # Example /// ```example /// #show <a>: set text(blue) |
