diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-22 18:25:29 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-22 18:25:29 +0100 |
| commit | 8527517258cf62a2f229796cc3f118d8bf0494b6 (patch) | |
| tree | 7662e90bcb9d610e63f4b1a9f1f12f84cb1f742a /library/src/meta | |
| parent | 947522b71aa6220ce8f006bfab4700d6e3cb04f1 (diff) | |
Rename `desc` to `terms`
Diffstat (limited to 'library/src/meta')
| -rw-r--r-- | library/src/meta/link.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/library/src/meta/link.rs b/library/src/meta/link.rs index 60d57a5f..ebb7a7e9 100644 --- a/library/src/meta/link.rs +++ b/library/src/meta/link.rs @@ -13,12 +13,17 @@ use crate::text::TextNode; /// ``` /// #show link: underline /// +/// https://example.com \ /// #link("https://example.com") \ /// #link("https://example.com")[ /// See example.com /// ] /// ``` /// +/// ## Syntax +/// This function also has dedicated syntax: Text that starts with `http://` or +/// `https://` is automatically turned into a link. +/// /// ## Parameters /// - dest: Destination (positional, required) /// The destination the link points to. |
