summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-21 00:31:50 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-21 00:31:50 +0100
commitdd718bb60b1f37e371b107e2fe6eefbf69f104fa (patch)
tree3746cfd7394ef331605fd5c418223ac4bb8b7992
parentee732468c7487c81aa6470571077988b75d36ebb (diff)
Link directly to parameters
-rw-r--r--library/src/layout/align.rs2
-rw-r--r--library/src/meta/outline.rs6
-rw-r--r--library/src/text/misc.rs2
-rw-r--r--library/src/text/quotes.rs2
4 files changed, 6 insertions, 6 deletions
diff --git a/library/src/layout/align.rs b/library/src/layout/align.rs
index 7e2693aa..952612af 100644
--- a/library/src/layout/align.rs
+++ b/library/src/layout/align.rs
@@ -22,7 +22,7 @@ use crate::prelude::*;
///
/// Horizontal alignments can be `left`, `center`, `right`, `start`, or `end`.
/// The `start` and `end` alignments are relative to the current
-/// [text direction](@text).
+/// [text direction](@text/dir).
///
/// Vertical alignments can be `top`, `horizon`, or `bottom`.
///
diff --git a/library/src/meta/outline.rs b/library/src/meta/outline.rs
index da73ad5a..9e4f616e 100644
--- a/library/src/meta/outline.rs
+++ b/library/src/meta/outline.rs
@@ -32,8 +32,8 @@ pub struct OutlineNode;
impl OutlineNode {
/// The title of the outline.
///
- /// - When set to `{auto}`, an appropriate title for the [text](@text)
- /// language will be used. This is the default.
+ /// - When set to `{auto}`, an appropriate title for the [text
+ /// language](@text/lang) will be used. This is the default.
/// - When set to `{none}`, the outline will not have a title.
/// - A custom title can be set by passing content.
#[property(referenced)]
@@ -45,7 +45,7 @@ impl OutlineNode {
/// Whether to indent the subheadings to align the start of their numbering
/// with the title of their parents. This will only have an effect if a
- /// [heading](@heading) numbering is set.
+ /// [heading numbering](@heading/numbering) is set.
///
/// # Example
/// ```
diff --git a/library/src/text/misc.rs b/library/src/text/misc.rs
index 4cbc038e..d05bf3ec 100644
--- a/library/src/text/misc.rs
+++ b/library/src/text/misc.rs
@@ -172,7 +172,7 @@ impl Fold for Delta {
/// # Emphasis
/// Emphasizes content by setting it in italics.
///
-/// - If the current [text](@text) style is `{"normal"}`,
+/// - If the current [text style](@text/style) is `{"normal"}`,
/// this turns it into `{"italic"}`.
/// - If it is already `{"italic"}` or `{"oblique"}`,
/// it turns it back to `{"normal"}`.
diff --git a/library/src/text/quotes.rs b/library/src/text/quotes.rs
index 40a9bb82..88278718 100644
--- a/library/src/text/quotes.rs
+++ b/library/src/text/quotes.rs
@@ -6,7 +6,7 @@ use crate::prelude::*;
/// A language-aware quote that reacts to its context.
///
/// Automatically turns into an appropriate opening or closing quote based on
-/// the active [text](@text) language.
+/// the active [text language](@text/lang).
///
/// ## Syntax
/// This function also has dedicated syntax: The normal quote characters