Add basic support for panels and code block in jiradoc

This commit is contained in:
Daan Boerlage 2025-01-22 03:42:18 +01:00
parent fa387c5546
commit dcc8882740
Signed by: daan
GPG key ID: FCE070E1E4956606
2 changed files with 21 additions and 1 deletions

View file

@ -17,6 +17,8 @@ pub enum DocNode {
Rule,
Heading(Vec<DocTextNode>),
MediaSingle(Vec<DocTextMarker>),
Panel(Vec<DocNode>),
CodeBlock(Vec<DocTextNode>),
}
#[derive(Debug, Clone, Deserialize, Serialize)]
@ -86,5 +88,4 @@ pub struct DocMention {
pub struct DocMentionAttrs {
pub id: String,
pub text: String,
pub local_id: String,
}