Closed
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
remark-mdx
Link to runnable example
No response
Steps to reproduce
<div abc="xxx"></div>
Expected behavior
Add position
in mdxJsxAttribute
node
Actual behavior
{
"type": "root",
"children": [
{
"type": "mdxJsxFlowElement",
"name": "div",
"attributes": [
{
"type": "mdxJsxAttribute",
"name": "abc",
"value": "xxx"
}
],
"children": [],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 22,
"offset": 21
}
},
"data": {
"_mdxExplicitJsx": true
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 2,
"column": 1,
"offset": 22
}
}
}
Runtime
Node v16
Package manager
yarn v1
OS
macOS
Build and bundle tools
No response