Do we really need Highlight.js ? #385
adityatelange
started this conversation in
General
Replies: 2 comments 1 reply
-
I think HLJS should go. Hugo's default highlighting is fine. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Either make it optional or get rid of it all together. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Highlight.js(HLJS) has been a part of this theme for a long time.
But now what I have observed is HLJS is more of an unnecessary resource being shipped with the theme by default and is enabled by default!
HLJS doesn't help much and most of the code highlights we see are from HUGO itself. This has an impact on the theme's overall performance is what I see.
Let me know what are your thoughts on this.
Beta Was this translation helpful? Give feedback.
All reactions