diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc.rs | 4 | ||||
| -rw-r--r-- | src/model/content.rs | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -598,13 +598,15 @@ pub enum Meta { } /// Host for metadata. +/// +/// Display: Meta +/// Category: special #[node] pub struct MetaNode { /// Metadata that should be attached to all elements affected by this style /// property. #[settable] #[fold] - #[skip] #[default] pub data: Vec<Meta>, } 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] |
