Skip to content

Commit 7ab1402

Browse files
committed
chore: update parse example
1 parent 85c9c71 commit 7ab1402

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ Parses as:
5656
(expr [2, 13] - [2, 16])
5757
(expr [2, 17] - [2, 22])))
5858
(section [4, 0] - [16, 0]
59-
(headline [4, 0] - [5, 0]
59+
headline: (headline [4, 0] - [5, 0]
6060
stars: (stars [4, 0] - [4, 1])
6161
item: (item [4, 2] - [4, 12]
6262
(expr [4, 2] - [4, 6])
6363
(expr [4, 7] - [4, 12])))
64-
(plan [5, 0] - [6, 0]
64+
plan: (plan [5, 0] - [6, 0]
6565
(entry [5, 0] - [5, 16]
6666
timestamp: (timestamp [5, 0] - [5, 16]
67-
(date [5, 1] - [5, 11])
68-
(day [5, 12] - [5, 15]))))
69-
(body [6, 0] - [13, 0]
67+
date: (date [5, 1] - [5, 11])
68+
day: (day [5, 12] - [5, 15]))))
69+
body: (body [6, 0] - [13, 0]
7070
(list [7, 0] - [12, 0]
7171
(listitem [7, 2] - [8, 0]
7272
bullet: (bullet [7, 2] - [7, 3])
@@ -100,16 +100,17 @@ Parses as:
100100
contents: (paragraph [11, 4] - [12, 0]
101101
(expr [11, 4] - [11, 8])
102102
(expr [11, 9] - [11, 10])))))
103-
(section [13, 0] - [16, 0]
104-
(headline [13, 0] - [14, 0]
103+
subsection: (section [13, 0] - [16, 0]
104+
headline: (headline [13, 0] - [14, 0]
105105
stars: (stars [13, 0] - [13, 2])
106106
item: (item [13, 3] - [13, 13]
107107
(expr [13, 3] - [13, 13]))
108108
tags: (tag_list [13, 14] - [13, 19]
109109
tag: (tag [13, 15] - [13, 18])))
110-
(body [14, 0] - [16, 0]
110+
body: (body [14, 0] - [16, 0]
111111
(paragraph [15, 0] - [16, 0]
112112
(expr [15, 0] - [15, 4]))))))
113+
113114
```
114115

115116
## Install

0 commit comments

Comments
 (0)