File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,34 @@ Yields:
88
88
{ type: ' text' ,
89
89
left: { type: ' text' , value: ' foo()' },
90
90
right: { type: ' text' , value: ' bar()' } },
91
- left: left
92
- }
91
+ left:
92
+ { type: ' element' ,
93
+ tagName: ' div' ,
94
+ properties: {},
95
+ children:
96
+ [ { type: ' element' ,
97
+ tagName: ' p' ,
98
+ properties: {},
99
+ children:
100
+ [ { type: ' text' , value: ' Some ' },
101
+ { type: ' element' ,
102
+ tagName: ' b' ,
103
+ properties: {},
104
+ children: [ { type: ' text' , value: ' importance' } ] },
105
+ { type: ' text' , value: ' and ' },
106
+ { type: ' element' ,
107
+ tagName: ' i' ,
108
+ properties: {},
109
+ children: [ { type: ' text' , value: ' emphasis' } ] },
110
+ { type: ' text' , value: ' .' } ] },
111
+ { type: ' element' ,
112
+ tagName: ' pre' ,
113
+ properties: {},
114
+ children:
115
+ [ { type: ' element' ,
116
+ tagName: ' code' ,
117
+ properties: {},
118
+ children: [ { type: ' text' , value: ' foo()' } ] } ] } ] } }
93
119
```
94
120
95
121
## API
You can’t perform that action at this time.
0 commit comments