htmltoadf 0.1.6

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

#[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>,
}