orthecreedence / highlight-lisp

A Common Lisp syntax highlighter written in Javascript
77 stars 7 forks source link

You can change the className, but the CSS requires it to be lisp #9

Closed eudoxia0 closed 9 years ago

eudoxia0 commented 9 years ago

You can pass className option to highlight-lisp so you can highlight blocks with classes other than lisp. However, all the themes have selectors like code.lisp.

orthecreedence commented 9 years ago

I believe this is fixed by e9bd2476b86f9afd3d0c66b5f153d19b0ff10cb7. The class "hl-highlighted" is now added to all highlighted code blocks, and all themes have been updated to use the new auto-class. Can you give this a shot when you get a chance?

eudoxia0 commented 9 years ago

It works perfectly, thank you very much!