mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Link directly to parameters
This commit is contained in:
parent
ee732468c7
commit
dd718bb60b
@ -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`.
|
||||
///
|
||||
|
@ -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
|
||||
/// ```
|
||||
|
@ -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"}`.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user