You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unexpected character `!` (U+0021) before name, expected a character that can start a name, such as a letter, `$`, or `_` (note: to create a comment in MDX, use `{/* text */}`)
Notes
This is easy to fix, we have to apply https://www.npmjs.com/package/remark-comment plugin.
Author say "This plugin must be added after MDX, otherwise you will see this error" but we can't apply it before MDX at this time on user side
The text was updated successfully, but these errors were encountered:
So effectively you're looking for a way to apply a remark plugin before mdx attempts to parse the source, right? I'm not sure if @mdx-js/mdx supports this out of the box 🤔
Steps to reproduce
Try to compile this text
Some text <!-- md comment -->
Expected behavior
Text compiled successfully
Actual behavior
Error
Notes
This is easy to fix, we have to apply https://www.npmjs.com/package/remark-comment plugin.
Author say "This plugin must be added after MDX, otherwise you will see this error" but we can't apply it before MDX at this time on user side
The text was updated successfully, but these errors were encountered: