-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
showLineNumbers occurs error in React #18
Comments
It has to be camelCase i.e. |
@timlrx Hello, thank you for responding! Answer is yes, excluding, means only these code: ```jsx
const Component: VFC<Props> = ({ children }) => {
return (
<Hoge>
<Foo />
</Hoge>
)
} works perfectly as I expected. |
Also, additionally, |
It works using the xdm / mdx v2 compiler so there's probably some difference in how the blocks are parsed. Also pinging @wooorm since we just discussed the issue on twitter. Would appreciate the help if you know what might be the difference, thanks. |
My guess is that MDX 1 never really supported userland properties well. There have been other issues in the past about casing being weird. That’s solved in xdm and MDX 2. |
Thanks, in that case I will just support XDM or MDX v2 for simplicity. @rikusen0335 maybe you could try |
@timlrx Of course! I would try replacing to |
Using
next-mdx-remote
, then use some plugins:then gets:
with:
Tried
showlinenumbers
,showlinenumbers={true}
andshowLineNumbers
but those all are throwing error (not exact same error)Do I missed something or misconfigurated?
Thanks!
The text was updated successfully, but these errors were encountered: