diff options
| author | Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> | 2025-01-28 13:08:12 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-28 10:08:12 +0000 |
| commit | 9665eecdb62ee94cd9fcf4dfc61e2c70ba9391fb (patch) | |
| tree | 8e8d3a7c834a1dbe2ad43898bc47b3b799d9ca7b /crates/typst-library | |
| parent | 85d177897468165b93056947a80086b2f84d815d (diff) | |
Fixed typo in the new outline docs (#5772)
Diffstat (limited to 'crates/typst-library')
| -rw-r--r-- | crates/typst-library/src/model/outline.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/typst-library/src/model/outline.rs b/crates/typst-library/src/model/outline.rs index 1214f2b0..f413189b 100644 --- a/crates/typst-library/src/model/outline.rs +++ b/crates/typst-library/src/model/outline.rs @@ -445,9 +445,9 @@ impl OutlineEntry { /// /// If the parent outline's [`indent`]($outline.indent) is `{auto}`, the /// inner content of all entries at level `N` is aligned with the prefix of - /// all entries at with level `N + 1`, leaving at least `gap` space between - /// the prefix and inner parts. Furthermore, the `inner` contents of all - /// entries at the same level are aligned. + /// all entries at level `N + 1`, leaving at least `gap` space between the + /// prefix and inner parts. Furthermore, the `inner` contents of all entries + /// at the same level are aligned. /// /// If the outline's indent is a fixed value or a function, the prefixes are /// indented, but the inner contents are simply inset from the prefix by the @@ -461,13 +461,13 @@ impl OutlineEntry { /// The `prefix` is aligned with the `inner` content of entries that /// have level one less. /// - /// In the default show rule, this is just to `it.prefix()`, but it can - /// be freely customized. + /// In the default show rule, this is just `it.prefix()`, but it can be + /// freely customized. prefix: Option<Content>, /// The formatted inner content of the entry. /// - /// In the default show rule, this is just to `it.inner()`, but it can - /// be freely customized. + /// In the default show rule, this is just `it.inner()`, but it can be + /// freely customized. inner: Content, /// The gap between the prefix and the inner content. #[named] |
