Erlang-highlight.js - add highlight.js for Erlang, leex, and yecc

I was re-working my blog and noticed that the built-in https://highlightjs.org highlights for Erlang aren’t very complete. I saw GitHub - gleam-lang/gleam-highlight.js: 🎨 Gleam syntax highlighting with Highlight.js · GitHub and used it as a starting point to create an Erlang version which covers all of the language features I use in my blog.

It allows you to use erlang, leex, and yecc code fences. It is vibe-coded but I’ll hopefully find some time to read and then publish it on npm.

Code is available on GitHub if you want it now:

1 Like

I just added releases Release v0.0.1 · chiroptical/erlang-highlight.js · GitHub for the JS files.

1 Like