htmltoadf 0.1.12

An HTML to Atlassian Document Format (ADF) converter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::node_list::NodeHandle;
use serde_json::Value;

#[derive(Debug, PartialEq, Eq, Clone)]
pub struct AdfNode {
    pub node_type: String,
    pub text: String,
    pub attributes: Vec<(String, Value)>,
    pub marks: Vec<Value>,
    pub parent: NodeHandle,
    pub children: Vec<NodeHandle>,
}