Closed try-to-change closed 6 months ago
hexo-plugin-aurora v1.8.3 & hexo-theme-aurora v2.5.2 相同的配置
highlight:
enable: false
# line_number: true
# auto_detect: false
# tab_replace: ''
# wrap: true
# hljs: false
prismjs:
enable: false
# preprocess: false
# line_number: true
# tab_replace: ''
#! ---------------------------------------------------------------
#! Highlighter Shiki
#! ---------------------------------------------------------------
shiki:
enable: true
theme: vitesse-dark
backgroundColor: '#1a1a1a'
generate无报错,控制台无报错,就是不亮(多种语言)
Is your feature request related to a problem? Please describe. 当我按照文档对配置文件进行修改highlight,prismjs都为false 但是打开主题的代码高亮选项shiki, 就发生了报错
Describe the solution you'd like 但之前有一次好像是正常显示,然后后面再试不行了
Additional context or screenshots
![]()
你这个属于代码块里面有语法错误。
hexo-plugin-aurora v1.8.3 & hexo-theme-aurora v2.5.2 相同的配置
highlight: enable: false # line_number: true # auto_detect: false # tab_replace: '' # wrap: true # hljs: false prismjs: enable: false # preprocess: false # line_number: true # tab_replace: ''
#! --------------------------------------------------------------- #! Highlighter Shiki #! --------------------------------------------------------------- shiki: enable: true theme: vitesse-dark backgroundColor: '#1a1a1a'
generate无报错,控制台无报错,就是不亮(多种语言)
有源代码的链接吗?还有你的网站上线了吗?有博客的地址吗?
hexo-plugin-aurora v1.8.3 & hexo-theme-aurora v2.5.2 相同的配置
highlight: enable: false # line_number: true # auto_detect: false # tab_replace: '' # wrap: true # hljs: false prismjs: enable: false # preprocess: false # line_number: true # tab_replace: ''
#! --------------------------------------------------------------- #! Highlighter Shiki #! --------------------------------------------------------------- shiki: enable: true theme: vitesse-dark backgroundColor: '#1a1a1a'
generate无报错,控制台无报错,就是不亮(多种语言)
有源代码的链接吗?还有你的网站上线了吗?有博客的地址吗?
hexo-plugin-aurora v1.8.3 & hexo-theme-aurora v2.5.2 相同的配置
highlight: enable: false # line_number: true # auto_detect: false # tab_replace: '' # wrap: true # hljs: false prismjs: enable: false # preprocess: false # line_number: true # tab_replace: ''
#! --------------------------------------------------------------- #! Highlighter Shiki #! --------------------------------------------------------------- shiki: enable: true theme: vitesse-dark backgroundColor: '#1a1a1a'
generate无报错,控制台无报错,就是不亮(多种语言)
如果使用 hexo@7.0.0
,回退到 6.3.0
试一下
hexo-plugin-aurora v1.8.3 & hexo-theme-aurora v2.5.2 相同的配置
highlight: enable: false # line_number: true # auto_detect: false # tab_replace: '' # wrap: true # hljs: false prismjs: enable: false # preprocess: false # line_number: true # tab_replace: ''
#! --------------------------------------------------------------- #! Highlighter Shiki #! --------------------------------------------------------------- shiki: enable: true theme: vitesse-dark backgroundColor: '#1a1a1a'
generate无报错,控制台无报错,就是不亮(多种语言)
如果使用
hexo@7.0.0
,回退到6.3.0
试一下
检查过了
"hexo": {
"version": "6.3.0"
},
可以看看是否有插件和 aurora 的生成器插件冲突了。看看这里 https://github.com/auroral-ui/hexo-theme-aurora/issues/390#issuecomment-1789511301
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Is your feature request related to a problem? Please describe. 当我按照文档对配置文件进行修改highlight,prismjs都为false 但是打开主题的代码高亮选项shiki, 就发生了报错
Describe the solution you'd like 但之前有一次好像是正常显示,然后后面再试不行了
Additional context or screenshots
![]()
你这个问题最后怎么解决的
Is your feature request related to a problem? Please describe. 当我按照文档对配置文件进行修改highlight,prismjs都为false 但是打开主题的代码高亮选项shiki, 就发生了报错
Describe the solution you'd like 但之前有一次好像是正常显示,然后后面再试不行了
Additional context or screenshots
![image](https://github.com/auroral-ui/hexo-theme-aurora/assets/106241874/0caffe11-0a2a-4184-b6a1-45f59f6c24f9)