Closed henji-Guo closed 3 years ago
Well, it's a bug, the hexo version is not compatible. The way I did it was to drop the hexo version to 4.2.1 from 5.0.0 +.
目前先降 Hexo 的版本吧
hexo5.0好像原生带了这个插件
该问题在 hexo-theme-matery 的 2.0.0
版本修复了,建议大家可以直接升级 Hexo 到 5.x 最新版本就行,去掉 hexo-prism-plugin 的插件,直接将内置的 prismjs.enable
设置为 true
就行。
如下图所示:
在_config.yml配置如下: