Stream: ideas

Topic: GitLab syntax highlighting


view this post on Zulip jan kili (Dec 02 2024 at 09:01):

I'm down to try adding Roc syntax highlighting support to GitLab, but does anyone here have any experience/insights to jumpstart me? They use regex-powered Highlight.js: https://docs.gitlab.com/ee/user/project/repository/files/highlighting.html

view this post on Zulip Sam Mohr (Dec 02 2024 at 09:05):

https://github.com/highlightjs/highlight.js/blob/main/src/languages/elm.js

view this post on Zulip Sam Mohr (Dec 02 2024 at 09:05):

We're pretty close to Elm, sooooo... try to diff from that?

view this post on Zulip Luke Boswell (Dec 02 2024 at 09:30):

I think @Isaac Van Doren mentioned something about highlight.js for roc

view this post on Zulip Anton (Dec 02 2024 at 10:04):

highlightjs-roc on npm

view this post on Zulip jan kili (Dec 02 2024 at 18:06):

Ayyy nice, I'll look into merging that upstream.


Last updated: Jun 16 2026 at 16:19 UTC