From 3284e7fac7c695e42fd2c666befd92742cac96be Mon Sep 17 00:00:00 2001 From: Luis David Licea Torres Date: Mon, 12 Jun 2023 04:46:34 -0600 Subject: Support for inside and outside margins (#1308) Co-authored-by: Laurenz --- src/model/styles.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/model/styles.rs b/src/model/styles.rs index 5b6430c2..23748a3f 100644 --- a/src/model/styles.rs +++ b/src/model/styles.rs @@ -720,6 +720,15 @@ impl Resolve for Option { } /// A property that is folded to determine its final value. +/// +/// In the example below, the chain of stroke values is folded into a single +/// value: `4pt + red`. +/// +/// ```example +/// #set rect(stroke: red) +/// #set rect(stroke: 4pt) +/// #rect() +/// ``` pub trait Fold { /// The type of the folded output. type Output; -- cgit v1.2.3