crayon-syntax-highlighter
crayon-syntax-highlighter copied to clipboard
Add a new class to crayon div wrapper with a language specified
I would like to suggest an improvement. It will be nice to have an ability to customize output even more by providing developer with a new class inside div wrapper.
Take a look here:
If you we can put something like «crayon-language-js» in here, we instantly allow ourselves to display, for example, a custom title with a language specified. Something similar being done on CSS-Tricks:
I think that, information about a language is already there, in a code, we just need to display it in an appropriate way. Correct me, if I wrong.