ele828 / hexo-prism-plugin

Hexo plugin for code highlighting by prism.js, supporting JSX syntax
204 stars 51 forks source link

Prism doesn't work. ( hexo-prism-plugin 2.0 ) #11

Closed cubesky closed 7 years ago

cubesky commented 7 years ago

image

I just update hexo-prism-plugin version 2.0 , and I run it as hexo clean&hexo s. But it still doesn't work.

cubesky commented 7 years ago

image

cubesky commented 7 years ago

And the padding style of line-number always override by theme.

cubesky commented 7 years ago

image

I just test for hexo build-in theme landscape. This plugin doesn't work too.

cubesky commented 7 years ago

image

I saw dockerfile is support by prism.js

ele828 commented 7 years ago

@cubesky actually it works. But you didn't specify the right language for Prism.js.

I suppose in this case it should be docker in your markdown file instead of dockerfile

You could find languages here http://prismjs.com/#languages-list

Thanks!

cubesky commented 7 years ago

Oh,Thank you. That's my fault.