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
代码高亮autoDetect 沒有传到util.highlight
#1723
Comments
还有 |
No bug was found in source code. |
@nyaatyan |
So you mean |
不過auto detect 算法會拖慢處理, 甚至當掉generate |
@leesei 现在最新的代码高亮已经失效了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
升级3.1.1之后,即使
config.yml
里面的highlight.auto_detect
设置为true
,依然无法自动检测语言类型。看了下代码是hexo-util
里面的highlight.js
大约75行位置的autoDetect
被默认设置成了false
,建议处理下这个问题,希望可以通过config
来配置是否开启自动检测。The text was updated successfully, but these errors were encountered: