Install the MDX extension.
tsconfig.json is configured to enable the remark-custom-heading-id plugin as shown in the extension's readme.
Open index.mdx.
Expected result
No problems with the document.
Actual result
Document parsing fails at index 0 with the error Cannot set properties of undefined (setting 'value'). It appears to originate from this line in mdast-heading-id.
Hi!
For some reason I can't get the Remark plugin working in VS Code :(
Steps to reproduce
tsconfig.json
is configured to enable theremark-custom-heading-id
plugin as shown in the extension's readme.index.mdx
.Expected result
No problems with the document.
Actual result
Document parsing fails at index 0 with the error
Cannot set properties of undefined (setting 'value')
. It appears to originate from this line inmdast-heading-id
.