mirror of
https://github.com/typst/typst
synced 2025-08-24 19:54:14 +08:00
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 <laurmaedje@gmail.com>
This commit is contained in:
parent
494e6a6422
commit
8f20d2605f
@ -450,8 +450,8 @@ impl OutlineEntry {
|
|||||||
/// at the same level are aligned.
|
/// at the same level are aligned.
|
||||||
///
|
///
|
||||||
/// If the outline's indent is a fixed value or a function, the prefixes are
|
/// 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
|
/// indented, but the inner contents are simply offset from the prefix by
|
||||||
/// specified `gap`, rather than aligning outline-wide.
|
/// the specified `gap`, rather than aligning outline-wide.
|
||||||
#[func(contextual)]
|
#[func(contextual)]
|
||||||
pub fn indented(
|
pub fn indented(
|
||||||
&self,
|
&self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user