-
-
Notifications
You must be signed in to change notification settings - Fork 61
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(lang, code, ...args) has been deprecated. #245
Comments
在 hexo 升级到 5.4.0 后,出现了该问题。是否去 node_modules/hexo-util/lib/highlight.js 文件,修改
为
修改完成后,当我 |
Several place use this interface, maybe need to change all, lan de zhe teng le!!! |
不改会有影响吗 |
When building a cloud platform, such as Travis CI I used, the log is too long due to the API expiration prompt, and the final build always fails. |
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
hexo-util/lib/highlight.js
Line 138 in 4f806ef
The text was updated successfully, but these errors were encountered: