Closed NickHeiner closed 1 year ago
Welcome @NickHeiner! 👋 MDX is JSX in Markdown. Your example isn't valid JSX
Some options which are valid:
<FullConversation contents="Today's Issue:" />
or
<FullConversation contents={'Today\'s Issue:'} />
Whoops! Thanks.
On Thu, Aug 3, 2023 at 10:56 Christian Murphy @.***> wrote:
Welcome @NickHeiner https://github.com/NickHeiner! 👋 MDX is JSX in Markdown. Your example isn't valid JSX
Some options which are valid:
or
<FullConversation contents={'Today\'s Issue:'} />
— Reply to this email directly, view it on GitHub https://github.com/mdx-js/mdx/issues/2332#issuecomment-1664143796, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGKTA3OJXG4LWISQKRXQO3XTO3YXANCNFSM6AAAAAA3C3ZGQ4 . You are receiving this because you were mentioned.Message ID: @.***>
Initial checklist
Affected packages and versions
mdx-loader@3.0.2, mdx.macro@0.2.9
Link to runnable example
No response
Steps to reproduce
https://codesandbox.io/s/mdx-forked-kmcqc5
Expected behavior
I would have expected that this would have worked to escape a single quote:
I checked https://mdxjs.com/docs/troubleshooting-mdx/ but didn't find anything about this.
I also tried this, and it also didn't work:
Actual behavior
I get this error:
Runtime
Other (please specify in steps to reproduce)
Package manager
Other (please specify in steps to reproduce)
OS
Other (please specify in steps to reproduce)
Build and bundle tools
Other (please specify in steps to reproduce)