-
Notifications
You must be signed in to change notification settings - Fork 87
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
highlight.js v10.7+ has deprecated 'highlightBlock', we need to use 'highlightElement' #82
Comments
I'm seeing this as well! Wondering will this be updated and what happens to this package when Highlight.js goes to v12 |
Still the same problem as in 2021. Please consider choosing the recommended way :-) |
@n2o, what's the recommended way? |
The functions regarding Used, e.g., in this line: https://github.com/akiran/react-highlight/blob/master/src/index.js#L21 |
Ah, I see. I thought you meant for me to choose the recommended way 😅 |
#81 uses the new API, but obviously this project is dead... I dropped this lib from my project and switched to https://github.com/react-syntax-highlighter/react-syntax-highlighter |
Hi there 👋
highlight.js v10.7 includes some deprecations and I noticed this in my website's console (browser dev tools):
The text was updated successfully, but these errors were encountered: