Crowdhailer
What syntax highlighter do you use for web projects
I am currently writing documentation. I have been using highlight.js but the result isn’t very satisfying particularly for EEx templates. I don’t think EEx is supported and choosing HTML instead is not much better.
What are people using for syntax highlighting that I can try out? I want something that is JavaScript based so I can simply drop it into a page.
Most Liked
tristan
Not what you are looking for, but if anyone sees this thread and goes to it looking for server side highlighting, I’ve been using https://github.com/alecthomas/chroma as a successor to pygments. Chroma comes with Hugo and is how https://adoptingerlang.org/ highlighting is done, originally this was overriden to use Pygments while a bug in Chroma for Erlang was fixed but now it works well.
LostKobrakai
There’s GitHub - elixir-makeup/makeup: Syntax highlighter for Elixir inspired by Pygments for that in elixir. It’s what ex_doc is using for the last few versions.







