-
Notifications
You must be signed in to change notification settings - Fork 115
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 deprecation warning in HTML #803
Comments
Thanks for the report! For anyone stumbling upon this, for now just set
|
Any reason not to move forward to the new version? |
If I understood correctly, when I tried to fix it, but it's out of my expertise, so eventually, I got lost. If you have any tips on where to look and/or how to verify it, I can try again. |
I meant upgrading to the latest version of |
Both will happen, I'm just under quite a lot of pressure at work at the moment so it's delaying updates here :) I also want to be careful about not breaking things after a hurried RSS update which caused breakage 😣 (and which I still have to fix). |
@abelsiqueira sorry for not replying to your message, the line to change is
(specifically the call A PR with this would be very welcome, you'd have to test this separately though (i.e. run the I think that should be all that is required. |
Thanks for the guidance @tlienart. I made the modifications in #804 and I also did tlienart/FranklinTemplates.jl#123. I haven't tested the templates change, though. |
I noticed that recently pages built with template CI process display a deprecation notice above code blocks:
"Deprecated as of 10.7.0. highlight(lang, code, ...args) has been deprecated. Deprecated as of 10.7.0. Please use highlight(code, options) instead. highlightjs/highlight.js#2277"
The text was updated successfully, but these errors were encountered: