diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-19 01:16:35 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-19 01:16:35 +0100 |
| commit | b4b022940b908d8fe490b9f4f68bc60dcfb76cd2 (patch) | |
| tree | bc93a2f51295f97f971466ab87bdd763c0ed6002 /library/src/layout/spacing.rs | |
| parent | ba384e5bb6c2455eb431f6e1fcc8b98aca1e9879 (diff) | |
Syntax and example sections
Diffstat (limited to 'library/src/layout/spacing.rs')
| -rw-r--r-- | library/src/layout/spacing.rs | 2 |
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 |
