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 GitHub - alecthomas/chroma: A general purpose syntax highlighter in pure Go · GitHub 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 · GitHub for that in elixir. It’s what ex_doc is using for the last few versions.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








