ele828 / hexo-prism-plugin

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

support line numbers #7

Closed hahnlee closed 7 years ago

hahnlee commented 7 years ago

First, thank you for making a good plugin :) I used it because of the JSX highlighting problem. It did not have a line number mark, so I tried to make it.

I use the this method http://prismjs.com/plugins/line-numbers/

I have checked that it works in both modes(preprocess/realtime). Please let me know if there are any discrepancies or shortcomings with the coding guidelines.

hahnlee commented 7 years ago

And This is working view 2017-01-19 7 30 10

ele828 commented 7 years ago

That looks nice, thanks for your work :)