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

java代码高亮有问题 #58

Closed
heinika opened this issue Dec 6, 2016 · 10 comments
Closed

java代码高亮有问题 #58

heinika opened this issue Dec 6, 2016 · 10 comments

Comments

@heinika
Copy link

@heinika heinika commented Dec 6, 2016

java代码高亮,后面的代码全是注释状态。。。
应该是不识别单行注释://

@co2y

This comment has been minimized.

Copy link

@co2y co2y commented Dec 7, 2016

同样问题

@viosey

This comment has been minimized.

Copy link
Owner

@viosey viosey commented Dec 7, 2016

代码高亮调用的是 highlight.js
我也发现了在其他语言下的一些问题。
但导致该 bug 的具体原因还不明,会进一步测试和分析一下

@trumi

This comment has been minimized.

Copy link

@trumi trumi commented Dec 8, 2016

显示@override错位了,夹在了两行之间

@heinika

This comment has been minimized.

Copy link
Author

@heinika heinika commented Dec 26, 2016

能不能优先解决代码高亮问题,这个严重影响程序员使用。

@TheNetAdmin

This comment has been minimized.

Copy link

@TheNetAdmin TheNetAdmin commented Jan 9, 2017

能否改用prism来高亮呢,这里有个插件Hexo-Prism-Plugin,但是即使安装并设置了这个插件也不能改变material主题调用hilight.js的设置

@cubesky

This comment has been minimized.

Copy link
Collaborator

@cubesky cubesky commented Jan 9, 2017

@TheNetAdmin 谢谢您的反馈,我们已经发现了很多高亮问题,正准备改为使用 prism 插件,请等待一段时间

@AnCorleone

This comment has been minimized.

Copy link

@AnCorleone AnCorleone commented Jan 10, 2017

http://jiji262.github.io/2016/04/15/2016-04-15-hexo-github-pages-blog/ 可以把代码高亮做成这样的吗,这个主题是yilia,代码显示的太差了,感谢!

@TonnyL

This comment has been minimized.

Copy link

@TonnyL TonnyL commented Jan 16, 2017

好像对注解的支持也不是太好,@override 注解直接飘到了每一行的开始

@neoFelhz

This comment has been minimized.

Copy link
Collaborator

@neoFelhz neoFelhz commented Jan 16, 2017

@marktony 会一并修复。

@cubesky

This comment has been minimized.

Copy link
Collaborator

@cubesky cubesky commented Feb 22, 2017

已在 1.3.0 修复

@cubesky cubesky closed this Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
10 participants
You can’t perform that action at this time.