From 1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 8 Mar 2023 10:43:03 +0100 Subject: Require font to be a named argument --- src/model/content.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/model') 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] -- cgit v1.2.3