I’m working on a programming-oriented theme and therefore I’m using highlightJS
to do the syntax highlighting for me. But I noticed that BlackFriday classifies the pre code
tags in the format language-*
. Since it isn’t well received by highlightJS, I was wondering if it would be possible to customize the way BlackFriday classifies the code tags.
Currently, I’m using a makeshift JS to rename the classes for me but it is slow and takes time therefore static builds would be far better.
Is it possible to do?
Hugo has a native built-in highlighter that, in my opionion, is much better than hightlightJS.
The answer to your question is: Currently no. Maybe in the future.
Thanks for the quick reply, I will try the Hugo syntax highlighter.