File tree Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -89,10 +89,7 @@ Now, running `node example` yields (positional info removed for brevity):
89
89
spread: false ,
90
90
checked: null ,
91
91
children: [
92
- {
93
- type: ' paragraph' ,
94
- children: [{type: ' text' , value: ' a list' }]
95
- }
92
+ {type: ' paragraph' , children: [{type: ' text' , value: ' a list' }]}
96
93
]
97
94
}
98
95
]
@@ -108,8 +105,22 @@ Now, running `node example` yields (positional info removed for brevity):
108
105
value: ' ...props' ,
109
106
data: {
110
107
estree: {
111
- type: ' SpreadElement' ,
112
- argument: {type: ' Identifier' , name: ' props' }
108
+ type: ' Program' ,
109
+ body: [
110
+ {
111
+ type: ' ExpressionStatement' ,
112
+ expression: {
113
+ type: ' ObjectExpression' ,
114
+ properties: [
115
+ {
116
+ type: ' SpreadElement' ,
117
+ argument: {type: ' Identifier' , name: ' props' }
118
+ }
119
+ ]
120
+ }
121
+ }
122
+ ],
123
+ sourceType: ' module'
113
124
}
114
125
}
115
126
}
@@ -306,10 +317,8 @@ type MDXJsxPhrasingContent = MDXJsxTextElement | PhrasingContent
306
317
307
318
* [ ` remarkjs/remark ` ] [ remark ]
308
319
— markdown processor powered by plugins
309
- * ` remarkjs/remark-mdx `
320
+ * [ ` remarkjs/remark-mdx ` ] [ remark-mdx ]
310
321
— remark plugin to support MDX
311
- * ` remarkjs/remark-mdxjs `
312
- — remark plugin to support MDX.js
313
322
* [ ` syntax-tree/mdast-util-from-markdown ` ] [ from-markdown ]
314
323
— mdast parser using ` micromark ` to create mdast from markdown
315
324
* [ ` syntax-tree/mdast-util-to-markdown ` ] [ to-markdown ]
You can’t perform that action at this time.
0 commit comments