diff options
Diffstat (limited to 'library/src/layout/stack.rs')
| -rw-r--r-- | library/src/layout/stack.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/library/src/layout/stack.rs b/library/src/layout/stack.rs index 2683175a..f83f4e41 100644 --- a/library/src/layout/stack.rs +++ b/library/src/layout/stack.rs @@ -3,9 +3,10 @@ use typst::model::StyledNode; use super::{AlignNode, Spacing}; use crate::prelude::*; +/// # Stack /// Arrange content and spacing along an axis. /// -/// # Parameters +/// ## Parameters /// - items: StackChild (positional, variadic) /// The items to stack along an axis. /// @@ -15,8 +16,8 @@ use crate::prelude::*; /// - spacing: Spacing (named) /// Spacing to insert between items where no explicit spacing was provided. /// -/// # Tags -/// - layout +/// ## Category +/// layout #[func] #[capable(Layout)] #[derive(Debug, Hash)] |
