-
Notifications
You must be signed in to change notification settings - Fork 22
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
Problem with JSX highlighting #15
Comments
Will Prism.js solve the problem? |
looks like we're facing highlightjs/highlight.js#931 and this issue is solved in Highlight.js. Prism can also solve our problem. |
Do you want to try to replace highlighter and get some experience with my fancy build system? Here we call a highlighter https://github.com/logux/logux.io/blob/master/scripts/steps/read-docs.js#L212-L215 You can test highlighter by calling: yarn build
npx ssdeploy run (You can keep |
Closing it for now, since I will not have time for it |
When I see Client Example, there is a problem with JSX highlighting:
With
github
theme in9.17.1
version it should look like this:I created a Codepen sandbox to see how it should work.
I checked out what version of Highlight.js is used in project and it's latest one:
The text was updated successfully, but these errors were encountered: