I’m working on adding highlighting to code-blocks
on lemmy using highlight.js, and am wondering exactly how to implement it. There are many code-themes that could be used Regarding which theme to use there are basically two different directions I could go:
Let me know what you think, or if you have another solution.
I have solution #1 deployed on HeapOverflow.ml right now =]
Here is the PR for those interested: https://github.com/LemmyNet/lemmy-ui/pull/663
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.