From dd718bb60b1f37e371b107e2fe6eefbf69f104fa Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 21 Dec 2022 00:31:50 +0100 Subject: [PATCH] Link directly to parameters --- library/src/layout/align.rs | 2 +- library/src/meta/outline.rs | 6 +++--- library/src/text/misc.rs | 2 +- library/src/text/quotes.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/src/layout/align.rs b/library/src/layout/align.rs index 7e2693aa8..952612aff 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 da73ad5af..9e4f616e1 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 4cbc038e2..d05bf3ecf 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 40a9bb82b..882787189 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