Skip to content
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

代码高亮失效 #304

Closed
735690757 opened this issue Aug 15, 2023 · 9 comments · Fixed by #357
Closed

代码高亮失效 #304

735690757 opened this issue Aug 15, 2023 · 9 comments · Fixed by #357

Comments

@735690757
Copy link

我的主题版本从1.5升级到2.3.1后代码高亮失效,之前是正常的,这个应该怎么办呢

@bennyxguo
Copy link
Member

bennyxguo commented Aug 15, 2023

先试试 hexo clean && hexo g
有线上地址,发一下线上博客地址。

@735690757
Copy link
Author

先尝试hexo clean && hexo g 有线上地址,发一下线上博客地址。
刚才试了一下,还是不行。
https://735690757.github.io/

@bennyxguo
Copy link
Member

bennyxguo commented Aug 15, 2023

先尝试hexo clean && hexo g 有线上地址,发一下线上博客地址。
刚才试了一下,还是不行。
https://735690757.github.io/

你的 Dia 机器人的配置有问题。导致代码执行报错,影响到其他代码正常执行。

image

可以看清楚这个里的配置样板。一定要注意 “缩进” 格式错误数据就不对了。
https://aurora.tridiamond.tech/zh/configs/plugins.html#%E6%9C%BA%E5%99%A8%E4%BA%BA%E9%85%8D%E7%BD%AE

@735690757
Copy link
Author

确实确实,现在我配置好了dia,但是高亮还是没有
屏幕截图 2023-08-15 144714

@735690757
Copy link
Author

屏幕截图 2023-08-15 145238

@bennyxguo
Copy link
Member

bennyxguo commented Aug 15, 2023

确实确实,现在我配置好了dia,但是高亮还是没有 屏幕截图 2023-08-15 144714

image

这里提示你了,看看这个配置:

image

@735690757
Copy link
Author

现在一个报错没有,他就是不高亮了(笑哭)
屏幕截图 2023-08-15 150859
屏幕截图 2023-08-15 150953

@bennyxguo
Copy link
Member

你 ctrl + shift + R 刷新一下页面试试

@735690757
Copy link
Author

还是不行啊QWQ,大佬你先忙吧,我再研究研究

@bennyxguo bennyxguo linked a pull request Sep 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants