feat: made Code properties public

This commit is contained in:
Bram Dingelstad 2023-11-06 20:03:58 +01:00
parent 3e5872f003
commit 2c4db537c3

View file

@ -614,9 +614,9 @@ pub struct Paragraph {
#[derive(Debug, Serialize, Deserialize, Clone, Default, PartialEq)]
pub struct Code {
caption: Vec<RichText>,
rich_text: Vec<RichText>,
language: CodeLanguage,
pub caption: Vec<RichText>,
pub rich_text: Vec<RichText>,
pub language: CodeLanguage,
}
#[derive(Debug, Serialize, Deserialize, Clone, Default, PartialEq)]