krz/orgo
Lightning fast org-mode static site generator.
clone: git clone https://gitbay.org/krz/orgo.git
v0.3.0: tests/snapshots/pipeline__minimal_element_tree.snap · raw
1---
2source: tests/pipeline.rs
3expression: "parse_fixture(\"minimal.org\").root"
4---
5{
6 "heading": null,
7 "content": [
8 {
9 "Paragraph": [
10 {
11 "Text": "A single paragraph of preamble text before any heading."
12 }
13 ]
14 }
15 ],
16 "children": [
17 {
18 "heading": {
19 "level": 1,
20 "todo": null,
21 "priority": null,
22 "title": [
23 {
24 "Text": "First Heading"
25 }
26 ],
27 "tags": [],
28 "properties": {
29 "entries": [
30 [
31 "CUSTOM_ID",
32 "first"
33 ]
34 ]
35 },
36 "id": null,
37 "custom_id": "first"
38 },
39 "content": [
40 {
41 "Paragraph": [
42 {
43 "Text": "Some body text with "
44 },
45 {
46 "Bold": [
47 {
48 "Text": "bold"
49 }
50 ]
51 },
52 {
53 "Text": ", "
54 },
55 {
56 "Italic": [
57 {
58 "Text": "italic"
59 }
60 ]
61 },
62 {
63 "Text": ", and "
64 },
65 {
66 "Verbatim": "verbatim"
67 },
68 {
69 "Text": "."
70 }
71 ]
72 }
73 ],
74 "children": [
75 {
76 "heading": {
77 "level": 2,
78 "todo": null,
79 "priority": null,
80 "title": [
81 {
82 "Text": "A Subheading"
83 }
84 ],
85 "tags": [
86 "tag1",
87 "tag2"
88 ],
89 "properties": {
90 "entries": []
91 },
92 "id": null,
93 "custom_id": null
94 },
95 "content": [
96 {
97 "List": {
98 "kind": "Unordered",
99 "items": [
100 {
101 "bullet": "Dash",
102 "checkbox": null,
103 "term": null,
104 "content": [
105 {
106 "Paragraph": [
107 {
108 "Text": "an unordered item"
109 }
110 ]
111 }
112 ]
113 },
114 {
115 "bullet": "Dash",
116 "checkbox": null,
117 "term": null,
118 "content": [
119 {
120 "Paragraph": [
121 {
122 "Text": "another with a checkbox [ ]"
123 }
124 ]
125 }
126 ]
127 }
128 ]
129 }
130 }
131 ],
132 "children": []
133 }
134 ]
135 },
136 {
137 "heading": {
138 "level": 1,
139 "todo": null,
140 "priority": null,
141 "title": [
142 {
143 "Text": "Second Heading"
144 }
145 ],
146 "tags": [],
147 "properties": {
148 "entries": []
149 },
150 "id": null,
151 "custom_id": null
152 },
153 "content": [
154 {
155 "Paragraph": [
156 {
157 "Text": "See "
158 },
159 {
160 "Link": {
161 "target": {
162 "CustomId": "first"
163 },
164 "description": [
165 {
166 "Text": "the first heading"
167 }
168 ]
169 }
170 },
171 {
172 "Text": "."
173 }
174 ]
175 }
176 ],
177 "children": []
178 }
179 ]
180}