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

代码高亮问题 #37

Open
lyhlyhl opened this issue Mar 4, 2020 · 2 comments
Open

代码高亮问题 #37

lyhlyhl opened this issue Mar 4, 2020 · 2 comments

Comments

@lyhlyhl
Copy link

lyhlyhl commented Mar 4, 2020

不知道dalao用的是哪款代码高亮插件,感觉目前能遇见的大部分代码高亮插件都不能使用,不知道为什么

@Siphils
Copy link
Owner

Siphils commented Apr 3, 2020

高亮用的是highlightjs,并不是基于插件

@imoonkin
Copy link

imoonkin commented Jun 26, 2020

dalao, golang代码能不能正常高亮?我显示不出来,每一行都是白色背景,代码都是黑色的
Edit: 解决了,highlight js默认没有golang,要定制自己需要的语言,然后打包下载,做成新的highlight.min.js

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

3 participants