-
Notifications
You must be signed in to change notification settings - Fork 12
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
WARNING: Could not lex literal_block as "jsx". Highlighting skipped. #15
Comments
Apparently the lexer does not permit import React from 'react';
const View = props => {
return <div>I am the Block view component!</div>;
};
export default View; |
We found another lexer bug. If I remove
|
I confirm that v2.0 fixes the second example with If only I could figure out how to lex arbitrary HTML tags and their text inside of jsx! |
When I attempt to highlight the following code snippet using Sphinx, MyST, and jsx-lexer, Sphinx returns a warning:
WARNING: Could not lex literal_block as "jsx". Highlighting skipped.
FWIW, if I try
js
as the lexer, it also does not lex.See plone/volto#3038
The text was updated successfully, but these errors were encountered: