summaryrefslogtreecommitdiff
path: root/library/src/meta/reference.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/meta/reference.rs')
-rw-r--r--library/src/meta/reference.rs9
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)]