Link directly to parameters

This commit is contained in:
Laurenz 2022-12-21 00:31:50 +01:00
parent ee732468c7
commit dd718bb60b
4 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@ use crate::prelude::*;
/// ///
/// Horizontal alignments can be `left`, `center`, `right`, `start`, or `end`. /// Horizontal alignments can be `left`, `center`, `right`, `start`, or `end`.
/// The `start` and `end` alignments are relative to the current /// 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`. /// Vertical alignments can be `top`, `horizon`, or `bottom`.
/// ///

View File

@ -32,8 +32,8 @@ pub struct OutlineNode;
impl OutlineNode { impl OutlineNode {
/// The title of the outline. /// The title of the outline.
/// ///
/// - When set to `{auto}`, an appropriate title for the [text](@text) /// - When set to `{auto}`, an appropriate title for the [text
/// language will be used. This is the default. /// language](@text/lang) will be used. This is the default.
/// - When set to `{none}`, the outline will not have a title. /// - When set to `{none}`, the outline will not have a title.
/// - A custom title can be set by passing content. /// - A custom title can be set by passing content.
#[property(referenced)] #[property(referenced)]
@ -45,7 +45,7 @@ impl OutlineNode {
/// Whether to indent the subheadings to align the start of their numbering /// 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 /// 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 /// # Example
/// ``` /// ```

View File

@ -172,7 +172,7 @@ impl Fold for Delta {
/// # Emphasis /// # Emphasis
/// Emphasizes content by setting it in italics. /// 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"}`. /// this turns it into `{"italic"}`.
/// - If it is already `{"italic"}` or `{"oblique"}`, /// - If it is already `{"italic"}` or `{"oblique"}`,
/// it turns it back to `{"normal"}`. /// it turns it back to `{"normal"}`.

View File

@ -6,7 +6,7 @@ use crate::prelude::*;
/// A language-aware quote that reacts to its context. /// A language-aware quote that reacts to its context.
/// ///
/// Automatically turns into an appropriate opening or closing quote based on /// Automatically turns into an appropriate opening or closing quote based on
/// the active [text](@text) language. /// the active [text language](@text/lang).
/// ///
/// ## Syntax /// ## Syntax
/// This function also has dedicated syntax: The normal quote characters /// This function also has dedicated syntax: The normal quote characters