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

新版本不能代码高亮了吗? #191

Open
1870604579 opened this issue Jun 7, 2022 · 3 comments
Open

新版本不能代码高亮了吗? #191

1870604579 opened this issue Jun 7, 2022 · 3 comments

Comments

@1870604579
Copy link

代码开起来有点别扭

@dalefengs
Copy link

没高亮确实难受了

@ZhaoMeiEr
Copy link

可以高亮的,要把 博客园设置 -> 代码高亮 -> 渲染引擎 设置成 prismjs,然后选择一个 主题样式 就可以了,推荐 prism-tomorrow 主题

@JasonGrass
Copy link

按照配置指南中的这个设置,确实会让代码高亮失效的样子。

部署指南
image

使用上面 #191 (comment) 中的方法可以。

另外,在设置时,直接将主题样式设置成 prism-tomorrow,而不要先设置深色主题,再设置主题样式。
这样保存时会让设置失效,像是博客园的 BUG。

image

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

No branches or pull requests

4 participants