From 8f20d2605f395f8d16fa80ba1b82e6fa0de700f3 Mon Sep 17 00:00:00 2001 From: Andrew Voynov Date: Wed, 4 Jun 2025 19:51:27 +0300 Subject: [PATCH] Replace "inset" with "offset" in outline.indented docs "Inset" is used for containers as inner padding, while in this case the content is just intended/offset to the right/left. Co-authored-by: Laurenz --- crates/typst-library/src/model/outline.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typst-library/src/model/outline.rs b/crates/typst-library/src/model/outline.rs index 489c375e6..194e4a051 100644 --- a/crates/typst-library/src/model/outline.rs +++ b/crates/typst-library/src/model/outline.rs @@ -450,8 +450,8 @@ impl OutlineEntry { /// 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 - /// specified `gap`, rather than aligning outline-wide. + /// indented, but the inner contents are simply offset from the prefix by + /// the specified `gap`, rather than aligning outline-wide. #[func(contextual)] pub fn indented( &self,