diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-08 10:43:03 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-08 10:44:24 +0100 |
| commit | 1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 (patch) | |
| tree | 682124c2343db9491c84bddbdca026c676f220c6 /src/model | |
| parent | 25b5bd117529cd04bb789e1988eb3a3db8025a0e (diff) | |
Require font to be a named argument
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/content.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/model/content.rs b/src/model/content.rs index 2af4ae72..189ee23a 100644 --- a/src/model/content.rs +++ b/src/model/content.rs @@ -326,6 +326,9 @@ impl Sum for Content { } /// A node with applied styles. +/// +/// Display: Styled +/// Category: special #[node] pub struct StyledNode { /// The styled content. @@ -347,6 +350,9 @@ cast_from_value! { /// /// Combines other arbitrary content. So, when you write `[Hi] + [you]` in /// Typst, the two text nodes are combined into a single sequence node. +/// +/// Display: Sequence +/// Category: special #[node] pub struct SequenceNode { #[variadic] |
