add chats

This commit is contained in:
りき萌 2024-03-24 18:08:47 +01:00
parent 8f43531b47
commit 94328e0b93
12 changed files with 372 additions and 14 deletions

View file

@ -1,3 +1,5 @@
use std::collections::HashMap;
use serde::{Deserialize, Serialize};
/// Top-level `%%` root attributes.
@ -79,6 +81,14 @@ pub struct Attributes {
/// debug mode.
#[serde(default)]
pub stage: Stage,
/// List of extra spells to cast on the branch.
#[serde(default)]
pub cast: String,
/// List of extra `data` attributes to add to the block.
#[serde(default)]
pub data: HashMap<String, String>,
}
/// Controls for block content presentation.