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/meta/reference.rs | |
| parent | b8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff) | |
Documentation
Diffstat (limited to 'library/src/meta/reference.rs')
| -rw-r--r-- | library/src/meta/reference.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/library/src/meta/reference.rs b/library/src/meta/reference.rs index 1a4b22e4..2165ed97 100644 --- a/library/src/meta/reference.rs +++ b/library/src/meta/reference.rs @@ -1,6 +1,7 @@ use crate::prelude::*; use crate::text::TextNode; +/// # Reference /// A reference to a label. /// /// *Note: This function is currently unimplemented.* @@ -10,17 +11,17 @@ use crate::text::TextNode; /// 1" for a reference to the first heading's label. The references are also /// links to the respective labels. /// -/// # Syntax +/// ## Syntax /// This function also has dedicated syntax: A reference to a label can be /// created by typing an `@` followed by the name of the label (e.g. `[= /// Introduction <intro>]` can be referenced by typing `[@intro]`). /// -/// # Parameters +/// ## Parameters /// - target: Label (positional, required) /// The label that should be referenced. /// -/// # Tags -/// - meta +/// ## Category +/// meta #[func] #[capable(Show)] #[derive(Debug, Hash)] |
