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

prism代码高亮中的注释,中文乱码 #26

Open
jxmer opened this issue Aug 1, 2017 · 5 comments
Open

prism代码高亮中的注释,中文乱码 #26

jxmer opened this issue Aug 1, 2017 · 5 comments

Comments

@jxmer
Copy link

jxmer commented Aug 1, 2017

prism代码高亮中的注释,中文乱码
image
original code
image
其他的地方,中文显示都是正常的;用自带的code hightlight也显示正常。
何解?~thks

@sunningoo
Copy link

看看你的主目录配置文件_config.yml中language是否设置成了中文

@jxmer
Copy link
Author

jxmer commented Aug 13, 2017

@sunningoo 谢谢回复
有设置中文:
zh
ps: 其实问题 在于只要不用prism的插件就不会有问题,正常用默认的代码高亮就没问题(不过真心不如prism好看啦)。不知道是我装的某个插件导致的还是怎么着,由于这个问题就不好用prism啦,sad~~~

@sunningoo
Copy link

哦哦,我还好,我是直接clone了之后就能用了。配置的zh-CN,不过你这个也没问题。后来我想要自己在prism基础上弄一套样式的,不知道怎么弄,所以就直接自己在现主题的基础上优化了样式,并没有使用prim的。

@jxmer
Copy link
Author

jxmer commented Aug 18, 2017

谢谢回复!
互粉啊哈哈~ jiaxm.me

@sunningoo
Copy link

粉了

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

2 participants