Hey folks, I just published a third party highlight.js package for Roc: npm GitHub. This can be registered with highlight.js to do syntax highlighting using Node or in the browser. I wrote this so that I can use it to highlight some code in a blog post which I think will be a nice usecase because it is very lightweight. We should also be able to integrate it with Exercism to get syntax highlighting for some of the code there.
This is what is looks like right now:
dark.png
light.png
There are many ways this can be improved so contributions are very welcome!
It looks awesome, thanks Isaac! I'll update Exercism to use this.
Great!
Last updated: Jul 06 2025 at 12:14 UTC