summaryrefslogtreecommitdiff
path: root/library/src/layout/spacing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/layout/spacing.rs')
-rw-r--r--library/src/layout/spacing.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/src/layout/spacing.rs b/library/src/layout/spacing.rs
index ef69c070..092d2c0a 100644
--- a/library/src/layout/spacing.rs
+++ b/library/src/layout/spacing.rs
@@ -7,6 +7,7 @@ use crate::prelude::*;
/// # Parameters
/// - amount: Spacing (positional, required)
/// How much spacing to insert.
+///
/// - weak: bool (named)
/// If true, the spacing collapses at the start or end of a paragraph.
/// Moreover, from multiple adjacent weak spacings all but the largest one
@@ -67,6 +68,7 @@ impl Behave for HNode {
/// # Parameters
/// - amount: Spacing (positional, required)
/// How much spacing to insert.
+///
/// - weak: bool (named)
/// If true, the spacing collapses at the start or end of a flow.
/// Moreover, from multiple adjacent weak spacings all but the largest one